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 ) .


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


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


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 .


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


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


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


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


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


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 ]


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


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


Question: What is Parent Options Inherited?

Answer: U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t


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 .


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


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


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


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


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 .


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


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


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


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


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


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 .


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 " .


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 .


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


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 .


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 .


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 " .


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


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 .


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 .


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 .


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 .


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


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


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 .


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


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


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


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 .


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


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


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 .


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


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


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


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


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 .


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 ]


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


Question: What is Options inherited from parent commands?

Answer: T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .


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 .


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 .


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


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 .


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


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


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


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


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


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


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


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


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 .


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   ' / ' .