k8s

package
v1.27.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIServerParams

func APIServerParams(advertiseAddress, serviceSubnet string, auditLogEnabled bool, auditLogPolicy, auditLogPath string, clusterDomain string) cke.ServiceParams

APIServerParams returns parameters for API server.

func APIServerRestartOp

func APIServerRestartOp(nodes, cps []*cke.Node, serviceSubnet string, params cke.APIServerParams, clusterDomain string) cke.Operator

APIServerRestartOp returns an Operator to restart kube-apiserver

func ControllerManagerBootOp

func ControllerManagerBootOp(nodes []*cke.Node, cluster string, serviceSubnet string, params cke.ServiceParams) cke.Operator

ControllerManagerBootOp returns an Operator to bootstrap kube-controller-manager

func ControllerManagerParams

func ControllerManagerParams(clusterName, serviceSubnet string) cke.ServiceParams

ControllerManagerParams returns parameters for kube-controller-manager.

func ControllerManagerRestartOp

func ControllerManagerRestartOp(nodes []*cke.Node, cluster, serviceSubnet string, params cke.ServiceParams) cke.Operator

ControllerManagerRestartOp returns an Operator to restart kube-controller-manager

func GenerateKubeletConfiguration added in v1.18.0

func GenerateKubeletConfiguration(params cke.KubeletParams, nodeAddress string, running *kubeletv1beta1.KubeletConfiguration) *kubeletv1beta1.KubeletConfiguration

GenerateKubeletConfiguration generates kubelet configuration. `params` must be validated beforehand.

func GenerateProxyConfiguration added in v1.20.0

func GenerateProxyConfiguration(params cke.ProxyParams, n *cke.Node) *proxyv1alpha1.KubeProxyConfiguration

GenerateProxyConfiguration generates proxy configuration. `params` must be validated beforehand.

func GenerateSchedulerConfiguration added in v1.18.0

func GenerateSchedulerConfiguration(params cke.SchedulerParams) *schedulerv1.KubeSchedulerConfiguration

GenerateSchedulerConfiguration generates scheduler configuration. `params` must be validated beforehand.

func KubeProxyBootOp

func KubeProxyBootOp(nodes []*cke.Node, cluster, ap string, params cke.ProxyParams) cke.Operator

KubeProxyBootOp returns an Operator to boot kube-proxy.

func KubeProxyRestartOp

func KubeProxyRestartOp(nodes []*cke.Node, cluster, ap string, params cke.ProxyParams) cke.Operator

KubeProxyRestartOp returns an Operator to restart kube-proxy.

func KubeletBootOp

func KubeletBootOp(nodes, registeredNodes []*cke.Node, apiServer *cke.Node, cluster string, params cke.KubeletParams, ns map[string]*cke.NodeStatus) cke.Operator

KubeletBootOp returns an Operator to boot kubelet.

func KubeletRestartOp

func KubeletRestartOp(nodes []*cke.Node, cluster string, params cke.KubeletParams, ns map[string]*cke.NodeStatus) cke.Operator

KubeletRestartOp returns an Operator to restart kubelet

func KubeletServiceParams

func KubeletServiceParams(n *cke.Node, params cke.KubeletParams) cke.ServiceParams

KubeletServiceParams returns parameters for kubelet.

func ProxyParams

func ProxyParams() cke.ServiceParams

ProxyParams returns parameters for kube-proxy.

func SchedulerBootOp

func SchedulerBootOp(nodes []*cke.Node, cluster string, params cke.SchedulerParams) cke.Operator

SchedulerBootOp returns an Operator to bootstrap kube-scheduler

func SchedulerParams

func SchedulerParams() cke.ServiceParams

SchedulerParams returns parameters for kube-scheduler.

func SchedulerRestartOp

func SchedulerRestartOp(nodes []*cke.Node, cluster string, params cke.SchedulerParams) cke.Operator

SchedulerRestartOp returns an Operator to restart kube-scheduler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL