kubernetes_service

Kubernetes Service

Name

Type

Nullable

metadata

ObjectMeta

spec

ServiceSpec

status

ServiceStatus

Affinity

Name

Type

Nullable

nodeAffinity

Affinity.NodeAffinity

podAffinity

Affinity.PodAffinity

podAntiAffinity

Affinity.PodAntiAffinity

Affinity.NodeAffinity

Name

Type

Nullable

preferredDuringSchedulingIgnoredDuringExecution

List<Affinity.PreferredSchedulingTerm>

requiredDuringSchedulingIgnoredDuringExecution

Affinity.NodeSelector

Affinity.NodeSelector

Name

Type

Nullable

nodeSelectorTerms

List<Affinity.NodeSelectorTerm>

Affinity.NodeSelectorRequirement

Name

Type

Nullable

key

String

operator

String

values

List

Affinity.NodeSelectorTerm

Name

Type

Nullable

matchExpressions

List<Affinity.NodeSelectorRequirement>

matchFields

List<Affinity.NodeSelectorRequirement>

Affinity.PodAffinity

Name

Type

Nullable

preferredDuringSchedulingIgnoredDuringExecution

List<Affinity.WeightedPodAffinityTerm>

requiredDuringSchedulingIgnoredDuringExecution

List<Affinity.PodAffinityTerm>

Affinity.PodAffinityTerm

Name

Type

Nullable

labelSelector

LabelSelector

namespaces

List

topologyKey

String

Affinity.PodAntiAffinity

Name

Type

Nullable

preferredDuringSchedulingIgnoredDuringExecution

List<Affinity.WeightedPodAffinityTerm>

requiredDuringSchedulingIgnoredDuringExecution

List<Affinity.PodAffinityTerm>

Affinity.PreferredSchedulingTerm

Name

Type

Nullable

preference

Affinity.NodeSelectorTerm

weight

Int

Affinity.WeightedPodAffinityTerm

Name

Type

Nullable

podAffinityTerm

Affinity.PodAffinityTerm

weight

Int

BaseKubernetesResource

| Name | Type | Nullable || -------- | -------- | ------------ |

Container

Name

Type

Nullable

args

List

command

List

image

String

imagePullPolicy

String

livenessProbe

Container.Probe

name

String

ports

List<Container.ContainerPort>

readinessProbe

Container.Probe

resources

Container.ResourceRequirements

securityContext

Container.SecurityContext

stdin

Boolean

stdinOnce

Boolean

terminationMessagePath

String

terminationMessagePolicy

String

tty

Boolean

volumeDevices

List<Container.VolumeDevice>

volumeMounts

List<Container.VolumeMount>

workingDir

String

Container.Capabilities

Name

Type

Nullable

add

List

drop

List

Container.ContainerPort

Name

Type

Nullable

containerPort

Int

hostIP

String

hostPort

Int

name

String

protocol

String

Container.Probe

Name

Type

Nullable

failureThreshold

Int

handler

JSON

initialDelaySeconds

Int

periodSeconds

Int

successThreshold

Int

timeoutSeconds

Int

Container.ResourceRequirements

Name

Type

Nullable

limits

Map<String,String>

requests

Map<String,String>

Container.SELinuxOptions

Name

Type

Nullable

level

String

role

String

type

String

user

String

Container.SecurityContext

Name

Type

Nullable

allowPrivilegeEscalation

Boolean

capabilities

Container.Capabilities

privileged

Boolean

procMount

String

readOnlyRootFilesystem

Boolean

runAsGroup

Long

runAsNonRoot

Boolean

runAsUser

Long

seLinuxOptions

Container.SELinuxOptions

windowsOptions

Container.WindowsSecurityContextOptions

Container.VolumeDevice

Name

Type

Nullable

devicePath

String

name

String

Container.VolumeMount

Name

Type

Nullable

mountPath

String

mountPropagation

String

name

String

readOnly

Boolean

subPath

String

subPathExpr

String

Container.WindowsSecurityContextOptions

Name

Type

Nullable

gmsaCredentialSpec

String

gmsaCredentialSpecName

String

runAsUserName

String

EphemeralContainer

Name

Type

Nullable

args

List

command

List

image

String

imagePullPolicy

String

name

String

ports

Container.ContainerPort

securityContext

Container.SecurityContext

stdin

Boolean

stdinOnce

Boolean

targetContainerName

String

terminationMessagePath

String

terminationMessagePolicy

String

tty

Boolean

volumeDevices

List<Container.VolumeDevice>

volumeMounts

List<Container.VolumeMount>

workingDir

String

LabelSelector

Name

Type

Nullable

matchExpressions

List<LabelSelector.Requirement>

matchLabels

Map<String,String>

LabelSelector.Requirement

Name

Type

Nullable

key

String

operator

String

values

List

ObjectMeta

Name

Type

Nullable

annotations

Map<String,String>

clusterName

String

creationTimestamp

String

deletionGracePeriodSeconds

Long

deletionTimestamp

String

generateName

String

labels

Map<String,String>

name

String

namespace

String

ownerReferences

List<ObjectMeta.OwnerReference>

uid

String

ObjectMeta.OwnerReference

Name

Type

Nullable

apiVersion

String

blockOwnerDeletion

Boolean

controller

Boolean

kind

String

name

String

uid

String

PodSpec

Name

Type

Nullable

activeDeadlineSeconds

Long

affinity

Affinity

containers

List

dnsConfig

PodSpec.PodDNSConfig

dnsPolicy

String

ephemeralContainers

List

hostAliases

List<PodSpec.HostAlias>

hostIPC

Boolean

hostNetwork

Boolean

hostPID

Boolean

hostname

String

initContainers

List

nodeName

String

nodeSelector

Map<String,String>

preemptionPolicy

String

priority

Int

priorityClassName

String

restartPolicy

String

runtimeClassName

String

schedulerName

String

securityContext

PodSpec.PodSecurityContext

serviceAccount

String

serviceAccountName

String

shareProcessNamespace

Boolean

subdomain

String

terminationGracePeriodSeconds

Long

tolerations

List<PodSpec.Toleration>

volumes

List

PodSpec.HostAlias

Name

Type

Nullable

hostnames

List

ip

String

PodSpec.PodDNSConfig

Name

Type

Nullable

nameservers

List

options

List<PodSpec.PodDNSConfig.PodDNSConfigOption>

searches

List

PodSpec.PodDNSConfig.PodDNSConfigOption

Name

Type

Nullable

name

String

values

String

PodSpec.PodSecurityContext

Name

Type

Nullable

fsGroup

Long

fsGroupChangePolicy

String

runAsGroup

Long

runAsNonRoot

Boolean

runAsUser

Long

seLinuxOptions

Container.SELinuxOptions

supplementalGroups

List

sysctls

List<PodSpec.PodSecurityContext.Sysctl>

windowsOptions

Container.WindowsSecurityContextOptions

PodSpec.PodSecurityContext.Sysctl

Name

Type

Nullable

name

String

value

String

PodSpec.Toleration

Name

Type

Nullable

effect

String

key

String

operator

String

tolerationSeconds

Long

value

String

PodStatus

Name

Type

Nullable

containerStatuses

List<PodStatus.ContainerStatus>

hostIP

String

message

String

nominatedNodeName

String

podIP

String

podIPs

List<PodStatus.PodIP>

qosClass

String

startTime

String

PodStatus.ContainerStatus

Name

Type

Nullable

containerID

String

image

String

imageID

String

name

String

PodStatus.PodIP

Name

Type

Nullable

ip

String

PodTemplateSpec

Name

Type

Nullable

metadata

ObjectMeta

spec

PodSpec

ServiceSpec

Name

Type

Nullable

clusterIP

String

externalIps

List

externalName

String

externalTrafficPolicy

String

healthCheckNodePort

Int

loadBalancerIP

String

loadBalancerSourceRanges

List

ports

List<ServiceSpec.ServicePort>

publishNotReadyAddresses

Boolean

selector

Map<String,String>

sessionAffinity

String

sessionAffinityConfig

ServiceSpec.SessionAffinityConfig

type

String

ServiceSpec.ServicePort

Name

Type

Nullable

name

String

nodePort

Int

port

Int

protocol

String

targetPort

String

ServiceSpec.SessionAffinityConfig

Name

Type

Nullable

clientIP

ServiceSpec.SessionAffinityConfig.ClientIPConfig

ServiceSpec.SessionAffinityConfig.ClientIPConfig