Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientSet ¶
func GetClientSet(config *rest.Config) (*kubernetes.Clientset, error)
GetClientSet generates and returns k8s.Clientset using rest.Config
func Run ¶
func Run(opts *options.KubePodTerminatorOptions, clientSet kubernetes.Interface, apiServer string)
Run operates the business logic, fetches the terminating and evicted pods and terminates them
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.