Question: What is Sign?

Answer: S i g n   t a k e s   a   s e r i a l i z e d   J W T   p a y l o a d ,   a n d   r e t u r n s   t h e   s e r i a l i z e d   h e a d e r   a n d   s i g n a t u r e .   k u b e - a p i s e r v e r   t h e n   a s s e m b l e s   t h e   J W T   f r o m   t h e   h e a d e r ,   p a y l o a d ,   a n d   s i g n a t u r e .   r p c   S i g n ( S i g n J W T R e q u e s t )   r e t u r n s   ( S i g n J W T R e s p o n s e )   { }   m e s s a g e   S i g n J W T R e q u e s t   {   / /   U R L - s a f e   b a s e 6 4   w r a p p e d   p a y l o a d   t o   b e   s i g n e d .   / /   E x a c t l y   a s   i t   a p p e a r s   i n   t h e   s e c o n d   s e g m e n t   o f   t h e   J W T   s t r i n g   c l a i m s   =   1 ;   }   m e s s a g e   S i g n J W T R e s p o n s e   {   / /   h e a d e r   m u s t   c o n t a i n   o n l y   a l g ,   k i d ,   t y p   c l a i m s .   / /   t y p   m u s t   b e   “ J W T ” .   / /   k i d   m u s t   b e   n o n - e m p t y ,   < = 1 0 2 4   c h a r a c t e r s ,   a n d   i t s   c o r r e s p o n d i n g   p u b l i c   k e y   s h o u l d   n o t   b e   e x c l u d e d   f r o m   O I D C   d i s c o v e r y .   / /   a l g   m u s t   b e   o n e   o f   t h e   a l g o r i t h m s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   ( c u r r e n t l y   R S 2 5 6 ,   E S 2 5 6 ,   E S 3 8 4 ,   E S 5 1 2 ) .   / /   h e a d e r   c a n n o t   h a v e   a n y   a d d i t i o n a l   d a t a   t h a t   k u b e - a p i s e r v e r   d o e s   n o t   r e c o g n i z e .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i r s t   s e g m e n t   o f   t h e   J W T .   s t r i n g   h e a d e r   =   1 ;   / /   T h e   s i g n a t u r e   f o r   t h e   J W T .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i n a l   s e g m


Question: What is Clean up?

Answer: I f   y o u   c r e a t e d   a   n a m e s p a c e   e x a m p l e n s   t o   e x p e r i m e n t   w i t h ,   y o u   c a n   r e m o v e   i t :   k u b e c t l   d e l e t e   n a m e s p a c e   e x a m p l e n s


Question: What is What's next?

Answer: R e a d   m o r e   d e t a i l s   a b o u t   p r o j e c t e d   v o l u m e s .


Question: What is Imperative Management of Kubernetes Objects Using Configuration Files?

Answer: Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object


Question: How does Imperative Management of Kubernetes Objects Using Configuration Files work?

Answer: Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object


Question: When would you use Imperative Management of Kubernetes Objects Using Configuration Files?

Answer: Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object


Question: What are the benefits of Imperative Management of Kubernetes Objects Using Configuration Files?

Answer: Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object


Question: What is Imperative Management of Kubernetes Objects Using Configuration Files?

Answer: K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   a l o n g   w i t h   a n   o b j e c t   c o n f i g u r a t i o n   f i l e   w r i t t e n   i n   Y A M L   o r   J S O N .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   d e f i n e   a n d   m a n a g e   o b j e c t s   u s i n g   c o n f i g u r a t i o n   f i l e s .


Question: What is Before you begin?

Answer: I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .


Question: What is Trade-offs?

Answer: T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .


Question: What is How to create objects?

Answer: Y o u   c a n   u s e   k u b e c t l   c r e a t e   - f   t o   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e .   R e f e r   t o   t h e   k u b e r n e t e s   A P I   r e f e r e n c e   f o r   d e t a i l s .   k u b e c t l   c r e a t e   - f   < f i l e n a m e | u r l >


Question: What is Warning:?

Answer: Y o u   c a n   u s e   k u b e c t l   r e p l a c e   - f   t o   u p d a t e   a   l i v e   o b j e c t   a c c o r d i n g   t o   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   r e p l a c e   - f   < f i l e n a m e | u r l >


Question: What is How to delete objects?

Answer: Y o u   c a n   u s e   k u b e c t l   d e l e t e   - f   t o   d e l e t e   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l >


Question: What is Note:?

Answer: I f   c o n f i g u r a t i o n   f i l e   h a s   s p e c i f i e d   t h e   g e n e r a t e N a m e   f i e l d   i n   t h e   m e t a d a t a   s e c t i o n   i n s t e a d   o f   t h e   n a m e   f i e l d ,   y o u   c a n n o t   d e l e t e   t h e   o b j e c t   u s i n g   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l > .   Y o u   w i l l   h a v e   t o   u s e   o t h e r   f l a g s   f o r   d e l e t i n g   t h e   o b j e c t .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   < t y p e >   < n a m e >   k u b e c t l   d e l e t e   < t y p e >   - l   < l a b e l >


Question: What is How to view an object?

Answer: Y o u   c a n   u s e   k u b e c t l   g e t   - f   t o   v i e w   i n f o r m a t i o n   a b o u t   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l   T h e   - o   y a m l   f l a g   s p e c i f i e s   t h a t   t h e   f u l l   o b j e c t   c o n f i g u r a t i o n   i s   p r i n t e d .   U s e   k u b e c t l   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s .


Question: What is Limitations?

Answer: T h e   c r e a t e ,   r e p l a c e ,   a n d   d e l e t e   c o m m a n d s   w o r k   w e l l   w h e n   e a c h   o b j e c t ' s   c o n f i g u r a t i o n   i s   f u l l y   d e f i n e d   a n d   r e c o r d e d   i n   i t s   c o n f i g u r a t i o n   f i l e .   H o w e v e r   w h e n   a   l i v e   o b j e c t   i s   u p d a t e d ,   a n d   t h e   u p d a t e s   a r e   n o t   m e r g e d   i n t o   i t s   c o n f i g u r a t i o n   f i l e ,   t h e   u p d a t e s   w i l l   b e   l o s t   t h e   n e x t   t i m e   a   r e p l a c e   i s   e x e c u t e d .   T h i s   c a n   h a p p e n   i f   a   c o n t r o l l e r ,   s u c h   a s   a   H o r i z o n t a l P o d A u t o s c a l e r ,   m a k e s   u p d a t e s   d i r e c t l y   t o   a   l i v e   o b j e c t .   H e r e ' s   a n   e x a m p l e :   Y o u   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e . A n o t h e r   s o u r c e   u p d a t e s   t h e   o b j e c t   b y   c h a n g i n g   s o m e   f i e l d . Y o u   r e p l a c e   t h e   o b j e c t   f r o m   t h e   c o n f i g u r a t i o n   f i l e .   C h a n g e s   m a d e   b y   t h e   o t h e r   s o u r c e   i n   s t e p   2   a r e   l o s t .   I f   y o u   n e e d   t o   s u p p o r t   m u l t i p l e   w r i t e r s   t o   t h e   s a m e   o b j e c t ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   m a n a g e   t h e   o b j e c t .


Question: What is Creating and editing an object from a URL without saving the configuration?

Answer: S u p p o s e   y o u   h a v e   t h e   U R L   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   c h a n g e s   t o   t h e   c o n f i g u r a t i o n   b e f o r e   t h e   o b j e c t   i s   c r e a t e d .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   f o r   t u t o r i a l s   a n d   t a s k s   t h a t   p o i n t   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o u l d   b e   m o d i f i e d   b y   t h e   r e a d e r .   k u b e c t l   c r e a t e   - f   < u r l >   - - e d i t


Question: What is Migrating from imperative commands to imperative object configuration?

Answer: M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d s   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e . F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y . k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e .   F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y .   k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l


Question: What is Warning:?

Answer: T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e   l a b e l :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   " a p p s / v 1 / d e p l o y m e n t / n g i n x "   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   " a p p s / v 1 / d e p l o y m e n t / n g i n x "


Question: What is What's next?

Answer: M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e


Question: What is kubectl cordon?

Answer: kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node "foo" as unschedulable kubectl cordon foo Options--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: "$HOME/.kube/cache"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: "none"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: "profile.pprof"Name of the file to write the profile to--request-timeout string Default: "0"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: "cadvisor"database name--storage-driver-host string Default: "localhost:8086"database host:port--storage-driver-password string Default: "root"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: "stats"table name--s


Question: How does kubectl cordon work?

Answer: kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node "foo" as unschedulable kubectl cordon foo Options--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: "$HOME/.kube/cache"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: "none"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: "profile.pprof"Name of the file to write the profile to--request-timeout string Default: "0"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: "cadvisor"database name--storage-driver-host string Default: "localhost:8086"database host:port--storage-driver-password string Default: "root"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: "stats"table name--s


Question: When would you use kubectl cordon?

Answer: kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node "foo" as unschedulable kubectl cordon foo Options--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: "$HOME/.kube/cache"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: "none"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: "profile.pprof"Name of the file to write the profile to--request-timeout string Default: "0"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: "cadvisor"database name--storage-driver-host string Default: "localhost:8086"database host:port--storage-driver-password string Default: "root"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: "stats"table name--s


Question: What are the benefits of kubectl cordon?

Answer: kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node "foo" as unschedulable kubectl cordon foo Options--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: "$HOME/.kube/cache"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: "none"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: "profile.pprof"Name of the file to write the profile to--request-timeout string Default: "0"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: "cadvisor"database name--storage-driver-host string Default: "localhost:8086"database host:port--storage-driver-password string Default: "root"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: "stats"table name--s


Question: What is Synopsis?

Answer: M a r k   n o d e   a s   u n s c h e d u l a b l e .   k u b e c t l   c o r d o n   N O D E


Question: What is Examples?

Answer: #   M a r k   n o d e   " f o o "   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o


Question: What is Options?

Answer: M u s t   b e   " n o n e " ,   " s e r v e r " ,   o r   " c l i e n t " .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .


Question: What is Parent Options Inherited?

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


Question: What is PersistentVolume?

Answer: PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import "k8s.io/api/core/v1"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR


Question: How does PersistentVolume work?

Answer: PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import "k8s.io/api/core/v1"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR


Question: When would you use PersistentVolume?

Answer: PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import "k8s.io/api/core/v1"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR


Question: What are the benefits of PersistentVolume?

Answer: PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import "k8s.io/api/core/v1"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR


Question: What is PersistentVolume?

Answer: a p i V e r s i o n :   v 1   i m p o r t   " k 8 s . i o / a p i / c o r e / v 1 "


Question: What is PersistentVolume?

Answer: P e r s i s t e n t V o l u m e   ( P V )   i s   a   s t o r a g e   r e s o u r c e   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a n a l o g o u s   t o   a   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e S p e c ) s p e c   d e f i n e s   a   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e   o w n e d   b y   t h e   c l u s t e r .   P r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s s t a t u s   ( P e r s i s t e n t V o l u m e S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   f o r   t h e   p e r s i s t e n t   v o l u m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v


Question: What is PersistentVolumeSpec?

Answer: P e r s i s t e n t V o l u m e S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   a l l   w a y s   t h e   v o l u m e   c a n   b e   m o u n t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s c a p a c i t y   ( m a p [ s t r i n g ] Q u a n t i t y ) c a p a c i t y   i s   t h e   d e s c r i p t i o n   o f   t h e   p e r s i s t e n t   v o l u m e ' s   r e s o u r c e s   a n d   c a p a c i t y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # c a p a c i t y c l a i m R e f   ( O b j e c t R e f e r e n c e ) c l a i m R e f   i s   p a r t   o f   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   E x p e c t e d   t o   b e   n o n - n i l   w h e n   b o u n d .   c l a i m . V o l u m e N a m e   i s   t h e   a u t h o r i t a t i v e   b i n d   b e t w e e n   P V   a n d   P V C .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # b i n d i n g m o u n t O p t i o n s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m o u n t O p t i o n s   i s   t h e   l i s t   o f   m o u n t   o p t i o n s ,   e . g .   [ " r o " ,   " s o f t " ] .   N o t   v a l i d a t e d   -   m o u n t   w i l l   s i m p l y   f a i l   i f   o n e   i s   i n v a l i d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g


Question: What is Local?

Answer: h o s t P a t h   ( H o s t P a t h V o l u m e S o u r c e ) h o s t P a t h   r e p r e s e n t s   a   d i r e c t o r y   o n   t h e   h o s t .   P r o v i s i o n e d   b y   a   d e v e l o p e r   o r   t e s t e r .   T h i s   i s   u s e f u l   f o r   s i n g l e - n o d e   d e v e l o p m e n t   a n d   t e s t i n g   o n l y !   O n - h o s t   s t o r a g e   i s   n o t   s u p p o r t e d   i n   a n y   w a y   a n d   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h R e p r e s e n t s   a   h o s t   p a t h   m a p p e d   i n t o   a   p o d .   H o s t   p a t h   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g . h o s t P a t h . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   d i r e c t o r y   o n   t h e   h o s t .   I f   t h e   p a t h   i s   a   s y m l i n k ,   i t   w i l l   f o l l o w   t h e   l i n k   t o   t h e   r e a l   p a t h .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h h o s t P a t h . t y p e   ( s t r i n g ) t y p e   f o r   H o s t P a t h   V o l u m e   D e f a u l t s   t o   " "   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h l o c a l   ( L o c a l V o l u m e S o u r c e ) l o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y L o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y l o c a l . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   f u l l   p a t h   t o   t h e   v o l u m


Question: What is Persistent volumes?

Answer: a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m


Question: What is PersistentVolumeStatus?

Answer: P e r s i s t e n t V o l u m e S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e ) l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m e   e v e r y t i m e   a   v o l u m e   p h a s e   t r a n s i t i o n s . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   w h y   t h e   v o l u m e   i s   i n   t h i s   s t a t e . p h a s e   ( s t r i n g ) p h a s e   i n d i c a t e s   i f   a   v o l u m e   i s   a v a i l a b l e ,   b o u n d   t o   a   c l a i m ,   o r   r e l e a s e d   b y   a   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p h a s e r e a s o n   ( s t r i n g ) r e a s o n   i s   a   b r i e f   C a m e l C a s e   s t r i n g   t h a t   d e s c r i b e s   a n y   f a i l u r e   a n d   i s   m e a n t   f o r   m a c h i n e   p a r s i n g   a n d   t i d y   d i s p l a y   i n   t h e   C L I .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e )   l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m


Question: What is PersistentVolumeList?

Answer: P e r s i s t e n t V o l u m e L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s


Question: What is HTTP Request?

Answer: G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s


Question: What is Parameters?

Answer: a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P O S T   / a p i / v 1 / p e r s i s t e n t v o l u m e s


Question: What is Parameters?

Answer: b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }


Question: What is Parameters?

Answer: n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y


Question: What is Response?

Answer: 2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s


Question: What is Parameters?

Answer: b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   (


Question: What is Response?

Answer: 2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .


Question: What is kubectl create secret generic?

Answer: kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: "kubectl-create"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren


Question: How does kubectl create secret generic work?

Answer: kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: "kubectl-create"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren


Question: When would you use kubectl create secret generic?

Answer: kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: "kubectl-create"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren


Question: What are the benefits of kubectl create secret generic?

Answer: kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[="unchanged"] Default: "none"Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: "kubectl-create"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren


Question: What is Synopsis?

Answer: C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y   o r   y o u   w i s h   t o   c h o s e   y o u r   o w n ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   s e c r e t .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]


Question: What is Examples?

Answer: #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   e n v   f i l e s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v


Question: What is Options?

Answer: I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   M u s t   b e   " n o n e " ,   " s e r v e r " ,   o r   " c l i e n t " .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   s e c r e t .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   s e c r e t   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   g e n e r i c   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o


Question: What is Parent Options Inherited?

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