Service
This feature is only available for the following:
- Host Nodes
- Private Nodes
This feature defines the Service that backs the control plane's Ingress resource.
vCluster uses a default Service spec when you don't configure one in service.spec. This default spec uses the service.httpsNodePort and service.kubeletNodePort. If you configureservice.spec, vCluster ignores service.httpsNodePort and service.kubeletNodePort values, make sure you configure the ports in your Service spec.
networking.advanced.proxyKubelets.byHostnameornetworking.advanced.proxyKubelets.byIPconfiguration changes the default Service spec to expose thekubeletport at 10250.
Config reference​
service required object ​
Service defines options for vCluster service deployed by Helm.
service required object ​enabled required boolean true ​
Enabled defines if the control plane service should be enabled
enabled required boolean true ​spec required object map[type:ClusterIP] ​
Spec allows you to configure extra service options.
spec required object map[type:ClusterIP] ​kubeletNodePort required integer 0 ​
KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.
kubeletNodePort required integer 0 ​httpsNodePort required integer 0 ​
HTTPSNodePort is the node port where https is exposed. Defaults to 0.
httpsNodePort required integer 0 ​annotations required object {} ​
Annotations are extra annotations for this resource.
annotations required object {} ​labels required object {} ​
Labels are extra labels for this resource.
labels required object {} ​