Record -
kubernetes
: ServiceConfiguration
Kubernetes service configuration.
Fields
- portName string
-
Name for the port. Default value is the protocol of the listener.
- port int
-
Service port. Default is the Ballerina service port.
- targetPort int
-
Port of the pods. Default is the Ballerina service port.
- sessionAffinity SessionAffinity (default SESSION_AFFINITY_NONE)
-
Session affinity for pods. Default is
"None"
.
- serviceType ServiceType (default SERVICE_TYPE_CLUSTER_IP)
-
Service type of the service. Default is
"ClusterIP"
.