Worker

    Describes long-running, scalable, containerized services that running at backend. They do NOT have network endpoint to receive external network traffic.

    Attributes

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    execInstructions for assessing container health by executing a command. Either this attribute or thefalse
    httpGet attribute or the tcpSocket attribute MUST be specified. This attribute is mutually exclusive
    with both the httpGet attribute and the tcpSocket attribute.
    httpGetInstructions for assessing container health by executing an HTTP GET request. Either this attributehttpGetfalse
    or the exec attribute or the tcpSocket attribute MUST be specified. This attribute is mutually
    exclusive with both the exec attribute and the tcpSocket attribute.
    tcpSocketInstructions for assessing container health by probing a TCP socket. Either this attribute or thefalse
    exec attribute or the httpGet attribute MUST be specified. This attribute is mutually exclusive with
    both the exec attribute and the httpGet attribute.
    initialDelaySecondsNumber of seconds after the container is started before the first probe is initiated.inttrue0
    periodSecondsHow often, in seconds, to execute the probe.inttrue10
    timeoutSecondsNumber of seconds after which the probe times out.inttrue1
    successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.inttrue1
    failureThresholdNumber of consecutive failures required to determine the container is not alive (liveness probe) orinttrue3
    not ready (readiness probe).
    tcpSocket
    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    portThe TCP socket within the container that should be probed to assess container health.inttrue

    httpGet

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    pathThe endpoint, relative to the port, to which the HTTP GET request should be directed.stringtrue
    portThe TCP socket within the container to which the HTTP GET request should be directed.inttrue
    httpHeaders[]httpHeadersfalse
    httpHeaders
    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    namestringtrue
    valuestringtrue
    exec

    livenessProbe

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    execInstructions for assessing container health by executing a command. Either this attribute or theexecfalse
    httpGet attribute or the tcpSocket attribute MUST be specified. This attribute is mutually exclusive
    with both the httpGet attribute and the tcpSocket attribute.
    httpGetInstructions for assessing container health by executing an HTTP GET request. Either this attributefalse
    or the exec attribute or the tcpSocket attribute MUST be specified. This attribute is mutually
    exclusive with both the exec attribute and the tcpSocket attribute.
    tcpSocketInstructions for assessing container health by probing a TCP socket. Either this attribute or thetcpSocketfalse
    exec attribute or the httpGet attribute MUST be specified. This attribute is mutually exclusive with
    both the exec attribute and the httpGet attribute.
    initialDelaySecondsNumber of seconds after the container is started before the first probe is initiated.inttrue0
    periodSecondsHow often, in seconds, to execute the probe.inttrue10
    timeoutSecondsNumber of seconds after which the probe times out.inttrue1
    successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.inttrue1
    failureThresholdNumber of consecutive failures required to determine the container is not alive (liveness probe) orinttrue3
    not ready (readiness probe).

    tcpSocket

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    portThe TCP socket within the container that should be probed to assess container health.inttrue

    httpGet

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    pathThe endpoint, relative to the port, to which the HTTP GET request should be directed.stringtrue
    portThe TCP socket within the container to which the HTTP GET request should be directed.inttrue
    httpHeadersfalse
    httpHeaders
    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    namestringtrue
    valuestringtrue

    exec

    volumes

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    namestringtrue
    mountPathstringtrue
    typeSpecify volume type, options: “pvc”,”configMap”,”secret”,”emptyDir”stringtrue

    env

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    nameEnvironment variable namestringtrue
    valueThe value of the environment variablestringfalse
    valueFromSpecifies a source the value of this var should come fromvalueFromfalse

    valueFrom

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    secretKeyRefSelects a key of a secret in the pod’s namespacesecretKeyReftrue

    secretKeyRef

    NAMEDESCRIPTIONTYPEREQUIREDDEFAULT
    nameThe name of the secret in the pod’s namespace to select fromstringtrue
    keyThe key of the secret to select from. Must be a valid secret keystringtrue