Service
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.
.experimental.isolatedControlPlane.headless
configuration changes the default Service spec to expose the required 8443targetPort
for bothhttps
andkubelet
.networking.advanced.proxyKubelets.byHostname
ornetworking.advanced.proxyKubelets.byIP
configuration changes the default Service spec to expose thekubelet
port at 10250.
Config reference​
service
required object pro​
Service defines options for vCluster service deployed by Helm.
service
required object pro​enabled
required boolean true pro​
Enabled defines if the control plane service should be enabled
enabled
required boolean true pro​spec
required object map[type:ClusterIP] pro​
Spec allows you to configure extra service options.
spec
required object map[type:ClusterIP] pro​kubeletNodePort
required integer 0 pro​
KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.
kubeletNodePort
required integer 0 pro​httpsNodePort
required integer 0 pro​
HTTPSNodePort is the node port where https is exposed. Defaults to 0.
httpsNodePort
required integer 0 pro​annotations
required object {} pro​
Annotations are extra annotations for this resource.
annotations
required object {} pro​labels
required object {} pro​
Labels are extra labels for this resource.
labels
required object {} pro​