ServiceSpec

ServiceSpec
ServiceSpec
JSON Example
{
    "externalIPs": [
        "string"
    ],
    "loadBalancerIP": "string",
    "deprecatedPublicIPs": [
        "string"
    ],
    "sessionAffinity": "string",
    "externalName": "string",
    "loadBalancerSourceRanges": "string",
    "ports": [
        {
            "protocol": "string",
            "port": 0,
            "name": "string",
            "targetPort": "string",
            "nodePort": 0
        }
    ],
    "type": "string",
    "clusterIP": "string"
}
array of string
externalIPs
Optional

externalIPs

string
loadBalancerIP
Optional

loadBalancerIP

array of string
deprecatedPublicIPs
Optional

deprecatedPublicIPs

string
sessionAffinity
Optional

sessionAffinity

string
externalName
Optional

externalName

string
loadBalancerSourceRanges
Optional

loadBalancerSourceRanges

object
selector
Optional

selector

ports
Optional

ports

string
type
Optional

type

Possible values are : ClusterIP, NodePort, LoadBalancer, ExternalName,
string
clusterIP
Optional

clusterIP

Property Of