Documentation ¶
Index ¶
- func APIServerParams(advertiseAddress, serviceSubnet string, auditLogEnabled bool, ...) cke.ServiceParams
- func APIServerRestartOp(nodes, cps []*cke.Node, serviceSubnet string, params cke.APIServerParams, ...) cke.Operator
- func ControllerManagerBootOp(nodes []*cke.Node, cluster string, serviceSubnet string, ...) cke.Operator
- func ControllerManagerParams(clusterName, serviceSubnet string) cke.ServiceParams
- func ControllerManagerRestartOp(nodes []*cke.Node, cluster, serviceSubnet string, params cke.ServiceParams) cke.Operator
- func GenerateKubeletConfiguration(params cke.KubeletParams, nodeAddress string, ...) *kubeletv1beta1.KubeletConfiguration
- func GenerateProxyConfiguration(params cke.ProxyParams, n *cke.Node) *proxyv1alpha1.KubeProxyConfiguration
- func GenerateSchedulerConfiguration(params cke.SchedulerParams) *schedulerv1.KubeSchedulerConfiguration
- func KubeProxyBootOp(nodes []*cke.Node, cluster, ap string, params cke.ProxyParams) cke.Operator
- func KubeProxyRestartOp(nodes []*cke.Node, cluster, ap string, params cke.ProxyParams) cke.Operator
- func KubeletBootOp(nodes, registeredNodes []*cke.Node, apiServer *cke.Node, cluster string, ...) cke.Operator
- func KubeletRestartOp(nodes []*cke.Node, cluster string, params cke.KubeletParams, ...) cke.Operator
- func KubeletServiceParams(n *cke.Node, params cke.KubeletParams) cke.ServiceParams
- func ProxyParams() cke.ServiceParams
- func SchedulerBootOp(nodes []*cke.Node, cluster string, params cke.SchedulerParams) cke.Operator
- func SchedulerParams() cke.ServiceParams
- func SchedulerRestartOp(nodes []*cke.Node, cluster string, params cke.SchedulerParams) cke.Operator
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 ¶
KubeProxyBootOp returns an Operator to boot kube-proxy.
func KubeProxyRestartOp ¶
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 ¶
SchedulerBootOp returns an Operator to bootstrap kube-scheduler
func SchedulerParams ¶
func SchedulerParams() cke.ServiceParams
SchedulerParams returns parameters for kube-scheduler.
func SchedulerRestartOp ¶
SchedulerRestartOp returns an Operator to restart kube-scheduler
Types ¶
This section is empty.