Service

Group

Version

Kind

Core

v1

Service

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

METHOD

Reference:

Service

Service type:

  • Supported

    • ClusterIP

    • LoadBalalancer

  • Not Support

    • NodePort (not support)

    • ExternalName (not support)

ServiceSpec

ServiceSpec Properties:

  • Supported

    • clusterIP string

    • loadBalancerIP string

    • ports ServicePort array

      • name string

      • protocol string

      • port integer

      • targetPort integer

      • nodePort integer

    • publishNotReadyAddresses boolean

    • selector object

    • sessionAffinity string

    • sessionAffinityConfig SessionAffinityConfig

    • type string

      • "ClusterIP"

      • "LoadBalalancer"

      • "NodePort"

      • "ExternalName"

  • Not Support

    • externalIPs string array (reserved, should be empty)

    • externalName string

    • externalTrafficPolicy string

    • healthCheckNodePort integer

    • loadBalancerSourceRanges string array

ServiceList

Last updated