Question: What is Usage?

Answer: $   k u b e c t l   c l u s t e r - i n f o   d u m p


Question: What is cordon?

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


Question: What is Usage?

Answer: $   k u b e c t l   c o r d o n   N O D E


Question: What is drain?

Answer: D r a i n   n o d e   " f o o " ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0   D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h


Question: What is Usage?

Answer: $   k u b e c t l   d r a i n   N O D E


Question: What is taint?

Answer: U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y l a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e   U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t .   T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s .   O p t i o n a l l y ,   t h e   k e y   c a n


Question: What is Usage?

Answer: $   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N


Question: What is uncordon?

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


Question: What is Usage?

Answer: $   k u b e c t l   u n c o r d o n   N O D E


Question: What is alpha?

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


Question: What is Usage?

Answer: $   k u b e c t l   a l p h a


Question: What is api-resources?

Answer: P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .


Question: What is Usage?

Answer: $   k u b e c t l   a p i - r e s o u r c e s


Question: What is completion?

Answer: I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   "   K u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   "   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   z s h [ 1 ]   i n t o   t h


Question: What is Usage?

Answer: $   k u b e c t l   c o m p l e t i o n   S H E L L


Question: What is config?

Answer: M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   " k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t "   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e .   I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t .   O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   S U B C O M M A N D


Question: What is current-context?

Answer: D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   D i s p l a y   t h e   c u r r e n t - c o n t e x t .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t


Question: What is delete-cluster?

Answer: D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E


Question: What is delete-context?

Answer: D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E


Question: What is delete-user?

Answer: D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E


Question: What is get-clusters?

Answer: L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   g e t - c l u s t e r s


Question: What is get-contexts?

Answer: L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t   D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]


Question: What is get-users?

Answer: L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   g e t - u s e r s


Question: What is rename-context?

Answer: R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e   R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E


Question: What is set?

Answer: S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   " c e r t _ d a t a _ h e r e "   |   b a s e 6 4   - i   - )   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E


Question: What is set-cluster?

Answer: S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   d e v   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   S e t   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]


Question: What is set-context?

Answer: S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]


Question: What is set-credentials?

Answer: S e t   o n l y   t h e   " c l i e n t - k e y "   f i e l d   o n   t h e   " c l u s t e r - a d m i n "   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   S e t   b a s i c   a u t h   f o r   t h e   " c l u s t e r - a d m i n "   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   " c l u s t e r - a d m i n "   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   " c l u s t e r - a d m i n "   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   " c l u s t e r - a d m i n "   e n t r y   w i t h   a d d i t i o n a l   a r g s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   R e m o v e   t h e   " c l i e n t - s e c r e t "   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   " c l u s t e r - a d m i n "   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]


Question: What is unset?

Answer: U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E


Question: What is use-context?

Answer: U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E


Question: What is view?

Answer: S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   k u b e c t l   c o n f i g   v i e w   - - r a w   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   " e 2 e " ) ] . u s e r . p a s s w o r d } '   D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .


Question: What is Usage?

Answer: $   k u b e c t l   c o n f i g   v i e w


Question: What is explain?

Answer: G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   L i s t   t h e   f i e l d s   f o r   s u p p o r t e d   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   < t y p e > . < f i e l d N a m e > [ . < f i e l d N a m e > ]   A d d   t h e   - - r e c u r s i v e   f l a g   t o   d i s p l a y   a l l   o f   t h e   f i e l d s   a t   o n c e   w i t h o u t   d e s c r i p t i o n s .   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   " k u b e c t l   a p i - r e s o u r c e s "   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .


Question: What is Usage?

Answer: $   k u b e c t l   e x p l a i n   R E S O U R C E


Question: What is options?

Answer: P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s


Question: What is Usage?

Answer: $   k u b e c t l   o p t i o n s


Question: What is plugin?

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


Question: What is Usage?

Answer: $   k u b e c t l   p l u g i n   [ f l a g s ]


Question: What is list?

Answer: L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   " k u b e c t l - "


Question: What is Usage?

Answer: $   k u b e c t l   p l u g i n   l i s t


Question: What is version?

Answer: P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .


Question: What is Usage?

Answer: $   k u b e c t l   v e r s i o n


Question: What is ?

Answer: Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.


Question: How does  work?

Answer: Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.


Question: When would you use ?

Answer: Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.


Question: What are the benefits of ?

Answer: Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.


Question: What is Requirements:?

Answer: Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r


Question: What is Auditing?

Answer: AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - "RequestReceived" rules: # Log pod changes at RequestResponse level - level: RequestR


Question: How does Auditing work?

Answer: AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - "RequestReceived" rules: # Log pod changes at RequestResponse level - level: RequestR


Question: When would you use Auditing?

Answer: AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - "RequestReceived" rules: # Log pod changes at RequestResponse level - level: RequestR


Question: What are the benefits of Auditing?

Answer: AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - "RequestReceived" rules: # Log pod changes at RequestResponse level - level: RequestR


Question: What is Auditing?

Answer: K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   A u d i t i n g   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   a n s w e r   t h e   f o l l o w i n g   q u e s t i o n s :   w h a t   h a p p e n e d ? w h e n   d i d   i t   h a p p e n ? w h o   i n i t i a t e d   i t ? o n   w h a t   d i d   i t   h a p p e n ? w h e r e   w a s   i t   o b s e r v e d ? f r o m   w h e r e   w a s   i t   i n i t i a t e d ? t o   w h e r e   w a s   i t   g o i n g ?   A u d i t   r e c o r d s   b e g i n   t h e i r   l i f e c y c l e   i n s i d e   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   E a c h   r e q u e s t   o n   e a c h   s t a g e   o f   i t s   e x e c u t i o n   g e n e r a t e s   a n   a u d i t   e v e n t ,   w h i c h   i s   t h e n   p r e - p r o c e s s e d   a c c o r d i n g   t o   a   c e r t a i n   p o l i c y   a n d   w r i t t e n   t o   a   b a c k e n d .   T h e   p o l i c y   d e t e r m i n e s   w h a t ' s   r e c o r d e d   a n d   t h e   b a c k e n d s   p e r s i s t   t h e   r e c o r d s .   T h e   c u r r e n t   b a c k e n d   i m p l e m e n t a t i o n s   i n c l u d e   l o g s   f i l e s   a n d   w e b h o o k s .   E a c h   r e q u e s t   c a n   b e   r e c o r d e d   w i t h   a n   a s s o c i a t e d   s t a g e .   T h e   d e f i n e d   s t a g e s   a r e :   R e q u e s t R e c e i v e d   -   T h e   s t a g e   f o r   e v e n t s   g e n e r a t e d   a s   s o o n   a s   t h e   a u d i t


Question: What is Note:?

Answer: T h e   a u d i t   l o g g i n g   f e a t u r e   i n c r e a s e s   t h e   m e m o r y   c o n s u m p t i o n   o f   t h e   A P I   s e r v e r   b e c a u s e   s o m e   c o n t e x t   r e q u i r e d   f o r   a u d i t i n g   i s   s t o r e d   f o r   e a c h   r e q u e s t .   M e m o r y   c o n s u m p t i o n   d e p e n d s   o n   t h e   a u d i t   l o g g i n g   c o n f i g u r a t i o n .


Question: What is Audit policy?

Answer: A u d i t   p o l i c y   d e f i n e s   r u l e s   a b o u t   w h a t   e v e n t s   s h o u l d   b e   r e c o r d e d   a n d   w h a t   d a t a   t h e y   s h o u l d   i n c l u d e .   T h e   a u d i t   p o l i c y   o b j e c t   s t r u c t u r e   i s   d e f i n e d   i n   t h e   a u d i t . k 8 s . i o   A P I   g r o u p .   W h e n   a n   e v e n t   i s   p r o c e s s e d ,   i t ' s   c o m p a r e d   a g a i n s t   t h e   l i s t   o f   r u l e s   i n   o r d e r .   T h e   f i r s t   m a t c h i n g   r u l e   s e t s   t h e   a u d i t   l e v e l   o f   t h e   e v e n t .   T h e   d e f i n e d   a u d i t   l e v e l s   a r e :   N o n e   -   d o n ' t   l o g   e v e n t s   t h a t   m a t c h   t h i s   r u l e . M e t a d a t a   -   l o g   e v e n t s   w i t h   m e t a d a t a   ( r e q u e s t i n g   u s e r ,   t i m e s t a m p ,   r e s o u r c e ,   v e r b ,   e t c . )   b u t   n o t   r e q u e s t   o r   r e s p o n s e   b o d y . R e q u e s t   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a   a n d   b o d y   b u t   n o t   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s . R e q u e s t R e s p o n s e   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a ,   r e q u e s t   b o d y   a n d   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s .   Y o u   c a n   p a s s   a   f i l e   w i t h   t h e   p o l i c y   t o   k u b e - a p i s e r v e r   u s i n g   t h e   - - a u d i t - p o l i c y - f i l e   f l a g .   I f   t h e   f l a g   i s   o m i t t e d ,   n o   e v e n t s   a r e   l o g g e d .   N o t e   t h a t   t h e   r u l e s   f i e l d   m u s t   b e   p r o v i d e d   i n   t h e   a u d i t   p o l i c y   f i l e .   A   p o l i c y   w i t h   n o   ( 0 )   r u l e s   i s   t r e a t e


Question: What is Audit backends?

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


Question: What is Note:?

Answer: I n   c a s e   o f   p a t c h e s ,   r e q u e s t   b o d y   i s   a   J S O N   a r r a y   w i t h   p a t c h   o p e r a t i o n s ,   n o t   a   J S O N   o b j e c t   w i t h   a n   a p p r o p r i a t e   K u b e r n e t e s   A P I   o b j e c t .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e q u e s t   b o d y   i s   a   v a l i d   p a t c h   r e q u e s t   t o   / a p i s / b a t c h / v 1 / n a m e s p a c e s / s o m e - n a m e s p a c e / j o b s / s o m e - j o b - n a m e :   [   {   " o p " :   " r e p l a c e " ,   " p a t h " :   " / s p e c / p a r a l l e l i s m " ,   " v a l u e " :   0   } ,   {   " o p " :   " r e m o v e " ,   " p a t h " :   " / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / t e r m i n a t i o n M e s s a g e P o l i c y "   }   ]


Question: What is Log backend?

Answer: T h e   l o g   b a c k e n d   w r i t e s   a u d i t   e v e n t s   t o   a   f i l e   i n   J S O N l i n e s   f o r m a t .   Y o u   c a n   c o n f i g u r e   t h e   l o g   a u d i t   b a c k e n d   u s i n g   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s :   - - a u d i t - l o g - p a t h   s p e c i f i e s   t h e   l o g   f i l e   p a t h   t h a t   l o g   b a c k e n d   u s e s   t o   w r i t e   a u d i t   e v e n t s .   N o t   s p e c i f y i n g   t h i s   f l a g   d i s a b l e s   l o g   b a c k e n d .   -   m e a n s   s t a n d a r d   o u t - - a u d i t - l o g - m a x a g e   d e f i n e d   t h e   m a x i m u m   n u m b e r   o f   d a y s   t o   r e t a i n   o l d   a u d i t   l o g   f i l e s - - a u d i t - l o g - m a x b a c k u p   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   a u d i t   l o g   f i l e s   t o   r e t a i n - - a u d i t - l o g - m a x s i z e   d e f i n e s   t h e   m a x i m u m   s i z e   i n   m e g a b y t e s   o f   t h e   a u d i t   l o g   f i l e   b e f o r e   i t   g e t s   r o t a t e d   I f   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   r u n s   t h e   k u b e - a p i s e r v e r   a s   a   P o d ,   r e m e m b e r   t o   m o u n t   t h e   h o s t P a t h   t o   t h e   l o c a t i o n   o f   t h e   p o l i c y   f i l e   a n d   l o g   f i l e ,   s o   t h a t   a u d i t   r e c o r d s   a r e   p e r s i s t e d .   F o r   e x a m p l e :   -   - - a u d i t - p o l i c y - f i l e = / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   -   - - a u d i t - l o g - p a t h = / v a r / l o g / k u b e r n e t e s / a u d i t / a u d i t . l o g   t h e n   m o u n t   t h e   v o l u m e s :   . . .   v o l u m e M o u n t s :   -   m o u n t P a t h :   / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   n a m e :   a u d i t   r e a d O n l y :   t r u e   -   m o u n t P


Question: What is Webhook backend?

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


Question: What is Event batching?

Answer: B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   b a t c h i n g .   B e l o w   i s   a   l i s t   o f   a v a i l a b l e   f l a g s   s p e c i f i c   t o   e a c h   b a c k e n d .   B y   d e f a u l t ,   b a t c h i n g   a n d   t h r o t t l i n g   a r e   e n a b l e d   f o r   t h e   w e b h o o k   b a c k e n d   a n d   d i s a b l e d   f o r   t h e   l o g   b a c k e n d .   - - a u d i t - w e b h o o k - m o d e   d e f i n e s   t h e   b u f f e r i n g   s t r a t e g y .   O n e   o f   t h e   f o l l o w i n g : b a t c h   -   b u f f e r   e v e n t s   a n d   a s y n c h r o n o u s l y   p r o c e s s   t h e m   i n   b a t c h e s .   T h i s   i s   t h e   d e f a u l t   m o d e   f o r   t h e   w e b h o o k   b a c k e n d . b l o c k i n g   -   b l o c k   A P I   s e r v e r   r e s p o n s e s   o n   p r o c e s s i n g   e a c h   i n d i v i d u a l   e v e n t . b l o c k i n g - s t r i c t   -   S a m e   a s   b l o c k i n g ,   b u t   w h e n   t h e r e   i s   a   f a i l u r e   d u r i n g   a u d i t   l o g g i n g   a t   t h e   R e q u e s t R e c e i v e d   s t a g e ,   t h e   w h o l e   r e q u e s t   t o   t h e   k u b e - a p i s e r v e r   f a i l s . T h e   f o l l o w i n g   f l a g s   a r e   u s e d   o n l y   i n   t h e   b a t c h   m o d e : - - a u d i t - w e b h o o k - b a t c h - b u f f e r - s i z e   d e f i n e s   t h e   n u m b e r   o f   e v e n t s   t o   b u f f e r   b e f o r e   b a t c h i n g .   I f   t h e   r a t e   o f   i n c o m i n g   e v e n t s   o v e r f l o w s   t h e   b u f f e r ,   e v e n t s   a r e   d r o p p e d .   T h e   d e f a u l t   v a l u e   i s   1 0 0 0 0 . - - a u d i t - w e b h o o k - b a t c h - m a x - s i z e   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   e v e n t s   i n   o n e   b a t c h .   T h e   d e f a u l t   v a l u e   i s   4 0 0 . - - a u d i t - w e b h


Question: What is Parameter tuning?

Answer: P a r a m e t e r s   s h o u l d   b e   s e t   t o   a c c o m m o d a t e   t h e   l o a d   o n   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   k u b e - a p i s e r v e r   r e c e i v e s   1 0 0   r e q u e s t s   e a c h   s e c o n d ,   a n d   e a c h   r e q u e s t   i s   a u d i t e d   o n l y   o n   R e s p o n s e S t a r t e d   a n d   R e s p o n s e C o m p l e t e   s t a g e s ,   y o u   s h o u l d   a c c o u n t   f o r   ≅ 2 0 0   a u d i t   e v e n t s   b e i n g   g e n e r a t e d   e a c h   s e c o n d .   A s s u m i n g   t h a t   t h e r e   a r e   u p   t o   1 0 0   e v e n t s   i n   a   b a t c h ,   y o u   s h o u l d   s e t   t h r o t t l i n g   l e v e l   a t   l e a s t   2   q u e r i e s   p e r   s e c o n d .   A s s u m i n g   t h a t   t h e   b a c k e n d   c a n   t a k e   u p   t o   5   s e c o n d s   t o   w r i t e   e v e n t s ,   y o u   s h o u l d   s e t   t h e   b u f f e r   s i z e   t o   h o l d   u p   t o   5   s e c o n d s   o f   e v e n t s ;   t h a t   i s :   1 0   b a t c h e s ,   o r   1 0 0 0   e v e n t s .   I n   m o s t   c a s e s   h o w e v e r ,   t h e   d e f a u l t   p a r a m e t e r s   s h o u l d   b e   s u f f i c i e n t   a n d   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   s e t t i n g   t h e m   m a n u a l l y .   Y o u   c a n   l o o k   a t   t h e   f o l l o w i n g   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r   a n d   i n   t h e   l o g s   t o   m o n i t o r   t h e   s t a t e   o f   t h e   a u d i t i n g   s u b s y s t e m .   a p i s e r v e r _ a u d i t _ e v e n t _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   a u d i t   e v e n t s   e x p o r t e d . a p i s e r v e r _ a u d i t _ e r r o r _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   e v e n t s   d r o p p e d


Question: What is Log entry truncation?

Answer: B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   l i m i t i n g   t h e   s i z e   o f   e v e n t s   t h a t   a r e   l o g g e d .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   i s   t h e   l i s t   o f   f l a g s   a v a i l a b l e   f o r   t h e   l o g   b a c k e n d :   a u d i t - l o g - t r u n c a t e - e n a b l e d   w h e t h e r   e v e n t   a n d   b a t c h   t r u n c a t i n g   i s   e n a b l e d . a u d i t - l o g - t r u n c a t e - m a x - b a t c h - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   b a t c h   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d . a u d i t - l o g - t r u n c a t e - m a x - e v e n t - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   a u d i t   e v e n t   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d .   B y   d e f a u l t   t r u n c a t e   i s   d i s a b l e d   i n   b o t h   w e b h o o k   a n d   l o g ,   a   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   s e t   a u d i t - l o g - t r u n c a t e - e n a b l e d   o r   a u d i t - w e b h o o k - t r u n c a t e - e n a b l e d   t o   e n a b l e   t h e   f e a t u r e .


Question: What is What's next?

Answer: L e a r n   a b o u t   M u t a t i n g   w e b h o o k   a u d i t i n g   a n n o t a t i o n s . L e a r n   m o r e   a b o u t   E v e n t   a n d   t h e   P o l i c y   r e s o u r c e   t y p e s   b y   r e a d i n g   t h e   A u d i t   c o n f i g u r a t i o n   r e f e r e n c e .


Question: What is HorizontalPodAutoscaler?

Answer: HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import "k8s.io/api/autoscaling/v2"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization


Question: How does HorizontalPodAutoscaler work?

Answer: HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import "k8s.io/api/autoscaling/v2"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization


Question: When would you use HorizontalPodAutoscaler?

Answer: HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import "k8s.io/api/autoscaling/v2"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization


Question: What are the benefits of HorizontalPodAutoscaler?

Answer: HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import "k8s.io/api/autoscaling/v2"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization


Question: What is HorizontalPodAutoscaler?

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


Question: What is HorizontalPodAutoscaler?

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


Question: What is HorizontalPodAutoscalerSpec?

Answer: H o r i z o n t a l P o d A u t o s c a l e r S p e c   d e s c r i b e s   t h e   d e s i r e d   f u n c t i o n a l i t y   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   r e p l i c a s   t o   w h i c h   t h e   a u t o s c a l e r   c a n   s c a l e   u p .   I t   c a n n o t   b e   l e s s   t h a t   m i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d s c a l e T a r g e t R e f   p o i n t s   t o   t h e   t a r g e t   r e s o u r c e   t o   s c a l e ,   a n d   i s   u s e d   t o   t h e   p o d s   f o r   w h i c h   m e t r i c s   s h o u l d   b e   c o l l e c t e d ,   a s   w e l l   a s   t o   a c t u a l l y   c h a n g e   t h e   r e p l i c a   c o u n t . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i


Question: What is HorizontalPodAutoscalerStatus?

Answer: H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r ,   a s   l a s t   c a l c u l a t e d   b y   t h e   a u t o s c a l e r . c o n d i t i o n s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   s e t   o f   c o n d i t i o n s   r e q u i r e d   f o r   t h i s   a u t o s c a l e r   t o   s c a l e   i t s   t a r g e t ,   a n d   i n d i c a t e s   w h e t h e r   o r   n o t   t h o s e   c o n d i t i o n s   a r e   m e t . H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   H o r i z o n t a l P o d A u t o s c a l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n   ( T r u e ,   F a l s e ,   U n k n o w n ) c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   d e s c r i b e s   t h e   c u r r e n t   c o n d i t i o n c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S


Question: What is HorizontalPodAutoscalerList?

Answer: H o r i z o n t a l P o d A u t o s c a l e r L i s t   i s   a   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .


Question: What is HTTP Request?

Answer: G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: G E T   / a p i s / a u t o s c a l i n g / v 2 / h o r i z o n t a l p o d a u t o s c a l e r s


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   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d


Question: What is HTTP Request?

Answer: P O S T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }


Question: What is Parameters?

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


Question: What is Response?

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


Question: What is HTTP Request?

Answer: D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s


Question: What is Parameters?

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


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 .