openapi: 3.0.0 info: description: 'API to interact and manage the lifecycle of your machine learning models deployed through Seldon Deploy.' title: Seldon Deploy AlertingService KubernetesResources API version: v1alpha1 servers: - url: http://X.X.X.X/seldon-deploy/api/v1alpha1 - url: https://X.X.X.X/seldon-deploy/api/v1alpha1 security: - OAuth2: - '[]' tags: - description: KubernetesResources APIs for Seldon Deploy name: KubernetesResources paths: /namespaces/{namespace}/seldondeployments/{name}/resources: get: description: list objects of kind resource for Seldon Deployment operationId: ListSeldonDeploymentResources parameters: - description: Component differentiates between types of model (e.g. predictor, explainer... etc) in: query name: component schema: type: string - description: Name identifies a resource in: path name: name required: true schema: type: string - description: Namespace provides a logical grouping of resources in: path name: namespace required: true schema: type: string responses: '200': $ref: '#/components/responses/ResourceListResponse' '400': $ref: '#/components/responses/ErrorDefault' '405': $ref: '#/components/responses/ErrorDefault' '424': $ref: '#/components/responses/ErrorDefault' '500': $ref: '#/components/responses/ErrorDefault' tags: - KubernetesResources components: schemas: HostAlias: description: 'HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod''s hosts file.' properties: hostnames: description: Hostnames for the above IP address. items: type: string type: array ip: description: IP address of the host file entry. type: string type: object PersistentVolumeClaimVolumeSource: description: 'This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).' properties: claimName: description: 'claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims' type: string readOnly: description: 'readOnly Will force the ReadOnly setting in VolumeMounts. Default false. +optional' type: boolean title: PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. type: object ManagedFieldsEntry: description: 'ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.' properties: apiVersion: description: 'APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.' type: string fieldsType: description: 'FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"' type: string fieldsV1: $ref: '#/components/schemas/FieldsV1' manager: description: Manager is an identifier of the workflow managing these fields. type: string operation: $ref: '#/components/schemas/ManagedFieldsOperationType' subresource: description: 'Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.' type: string time: description: 'Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. +optional' type: string type: object ResourceRequirements: properties: claims: description: 'Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional' items: $ref: '#/components/schemas/ResourceClaim' type: array limits: $ref: '#/components/schemas/ResourceList' requests: $ref: '#/components/schemas/ResourceList' title: ResourceRequirements describes the compute resource requirements. type: object DeploymentStatus: properties: availableReplicas: format: int32 type: integer description: type: string explainerFor: type: string name: type: string replicas: format: int32 type: integer status: type: string type: object ContainerStateRunning: properties: startedAt: description: 'Time at which the container was last (re-)started +optional' type: string title: ContainerStateRunning is a running state of a container. type: object Capabilities: properties: add: description: 'Added capabilities +optional' items: $ref: '#/components/schemas/Capability' type: array drop: description: 'Removed capabilities +optional' items: $ref: '#/components/schemas/Capability' type: array title: Adds and removes POSIX capabilities from running containers. type: object OwnerReference: description: 'OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. +structType=atomic' properties: apiVersion: description: API version of the referent. type: string blockOwnerDeletion: description: 'If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional' type: boolean controller: description: 'If true, this reference points to the managing controller. +optional' type: boolean kind: description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names' type: string uid: $ref: '#/components/schemas/UID' type: object PodStatus: description: 'PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.' properties: conditions: description: 'Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions +optional +patchMergeKey=type +patchStrategy=merge' items: $ref: '#/components/schemas/PodCondition' type: array containerStatuses: description: 'The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status +optional' items: $ref: '#/components/schemas/ContainerStatus' type: array ephemeralContainerStatuses: description: 'Status for any ephemeral containers that have run in this pod. +optional' items: $ref: '#/components/schemas/ContainerStatus' type: array hostIP: description: 'hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod +optional' type: string hostIPs: description: 'hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod. +optional +patchStrategy=merge +patchMergeKey=ip +listType=atomic' items: $ref: '#/components/schemas/HostIP' type: array initContainerStatuses: description: 'The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status' items: $ref: '#/components/schemas/ContainerStatus' type: array message: description: 'A human readable message indicating details about why the pod is in this condition. +optional' type: string nominatedNodeName: description: 'nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. +optional' type: string phase: $ref: '#/components/schemas/PodPhase' podIP: description: 'podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. +optional' type: string podIPs: description: 'podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet. +optional +patchStrategy=merge +patchMergeKey=ip' items: $ref: '#/components/schemas/PodIP' type: array qosClass: $ref: '#/components/schemas/PodQOSClass' reason: description: 'A brief CamelCase message indicating details about why the pod is in this state. e.g. ''Evicted'' +optional' type: string resize: $ref: '#/components/schemas/PodResizeStatus' resourceClaimStatuses: description: 'Status of resource claims. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional' items: $ref: '#/components/schemas/PodResourceClaimStatus' type: array startTime: description: 'RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. +optional' type: string type: object PodSecurityContext: description: 'Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.' properties: fsGroup: description: 'A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR''d with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. +optional' format: int64 type: integer fsGroupChangePolicy: $ref: '#/components/schemas/PodFSGroupChangePolicy' runAsGroup: description: 'The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional' format: int64 type: integer runAsNonRoot: description: 'Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional' type: boolean runAsUser: description: 'The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional' format: int64 type: integer seLinuxOptions: $ref: '#/components/schemas/SELinuxOptions' seccompProfile: $ref: '#/components/schemas/SeccompProfile' supplementalGroups: description: 'A list of groups applied to the first process run in each container, in addition to the container''s primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. +optional' items: format: int64 type: integer type: array sysctls: description: 'Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional' items: $ref: '#/components/schemas/Sysctl' type: array windowsOptions: $ref: '#/components/schemas/WindowsSecurityContextOptions' title: PodSecurityContext holds pod-level security attributes and common container settings. type: object AzureDataDiskKind: description: +enum type: string DeploymentStrategy: properties: rollingUpdate: $ref: '#/components/schemas/RollingUpdateDeployment' type: $ref: '#/components/schemas/DeploymentStrategyType' title: DeploymentStrategy describes how to replace existing pods with new ones. type: object PodSpec: properties: activeDeadlineSeconds: description: 'Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional' format: int64 type: integer affinity: $ref: '#/components/schemas/Affinity' automountServiceAccountToken: description: 'AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional' type: boolean containers: description: 'List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/Container' type: array dnsConfig: $ref: '#/components/schemas/PodDNSConfig' dnsPolicy: $ref: '#/components/schemas/DNSPolicy' enableServiceLinks: description: 'EnableServiceLinks indicates whether information about services should be injected into pod''s environment variables, matching the syntax of Docker links. Optional: Defaults to true. +optional' type: boolean ephemeralContainers: description: 'List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod''s ephemeralcontainers subresource. +optional +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/EphemeralContainer' type: array hostAliases: description: 'HostAliases is an optional list of hosts and IPs that will be injected into the pod''s hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge' items: $ref: '#/components/schemas/HostAlias' type: array hostIPC: description: 'Use the host''s ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional' type: boolean hostNetwork: description: 'Host networking requested for this pod. Use the host''s network namespace. If this option is set, the ports that will be used must be specified. Default to false. +k8s:conversion-gen=false +optional' type: boolean hostPID: description: 'Use the host''s pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional' type: boolean hostUsers: description: 'Use the host''s user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. +k8s:conversion-gen=false +optional' type: boolean hostname: description: 'Specifies the hostname of the Pod If not specified, the pod''s hostname will be set to a system-defined value. +optional' type: string imagePullSecrets: description: 'ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/LocalObjectReference' type: array initContainers: description: 'List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/Container' type: array nodeName: description: 'NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional' type: string nodeSelector: additionalProperties: type: string description: 'NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node''s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional +mapType=atomic' type: object os: $ref: '#/components/schemas/PodOS' overhead: $ref: '#/components/schemas/ResourceList' preemptionPolicy: $ref: '#/components/schemas/PreemptionPolicy' priority: description: 'The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. +optional' format: int32 type: integer priorityClassName: description: 'If specified, indicates the pod''s priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional' type: string readinessGates: description: 'If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates +optional' items: $ref: '#/components/schemas/PodReadinessGate' type: array resourceClaims: description: 'ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional' items: $ref: '#/components/schemas/PodResourceClaim' type: array restartPolicy: $ref: '#/components/schemas/RestartPolicy' runtimeClassName: description: 'RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class +optional' type: string schedulerName: description: 'If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional' type: string schedulingGates: description: 'SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod. SchedulingGates can only be set at pod creation time, and be removed only afterwards. This is a beta feature enabled by the PodSchedulingReadiness feature gate. +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name +featureGate=PodSchedulingReadiness +optional' items: $ref: '#/components/schemas/PodSchedulingGate' type: array securityContext: $ref: '#/components/schemas/PodSecurityContext' serviceAccount: description: 'DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional' type: string serviceAccountName: description: 'ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional' type: string setHostnameAsFQDN: description: 'If true the pod''s hostname will be configured as the pod''s FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false. +optional' type: boolean shareProcessNamespace: description: 'Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. +k8s:conversion-gen=false +optional' type: boolean subdomain: description: 'If specified, the fully qualified Pod hostname will be "...svc.". If not specified, the pod will not have a domainname at all. +optional' type: string terminationGracePeriodSeconds: description: 'Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. +optional' format: int64 type: integer tolerations: description: 'If specified, the pod''s tolerations. +optional' items: $ref: '#/components/schemas/Toleration' type: array topologySpreadConstraints: description: 'TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed. +optional +patchMergeKey=topologyKey +patchStrategy=merge +listType=map +listMapKey=topologyKey +listMapKey=whenUnsatisfiable' items: $ref: '#/components/schemas/TopologySpreadConstraint' type: array volumes: description: 'List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys' items: $ref: '#/components/schemas/Volume' type: array title: PodSpec is a description of a pod. type: object ConditionStatus: type: string ClaimSource: description: 'Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.' properties: resourceClaimName: description: 'ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.' type: string resourceClaimTemplateName: description: 'ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.' type: string title: ClaimSource describes a reference to a ResourceClaim. type: object Deployment: properties: annotations: additionalProperties: type: string description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations +optional' type: object apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string creationTimestamp: description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string deletionGracePeriodSeconds: description: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional' format: int64 type: integer deletionTimestamp: description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string finalizers: description: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge' items: type: string type: array generateName: description: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency +optional' type: string generation: description: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional' format: int64 type: integer kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string labels: additionalProperties: type: string description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels +optional' type: object managedFields: description: 'ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn''t need to set or understand this field. A workflow can be the user''s name, a controller''s name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional' items: $ref: '#/components/schemas/ManagedFieldsEntry' type: array name: description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional' type: string namespace: description: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces +optional' type: string ownerReferences: description: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge' items: $ref: '#/components/schemas/OwnerReference' type: array resourceVersion: description: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string spec: $ref: '#/components/schemas/DeploymentSpec' status: $ref: '#/components/schemas/DeploymentStatus' uid: $ref: '#/components/schemas/UID' title: Deployment enables declarative updates for Pods and ReplicaSets. type: object ContainerRestartPolicy: description: This may only be set for init containers and only allowed value is "Always". title: ContainerRestartPolicy is the restart policy for a single container. type: string EphemeralContainer: description: 'To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.' properties: args: description: 'Arguments to the entrypoint. The image''s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container''s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional' items: type: string type: array command: description: 'Entrypoint array. Not executed within a shell. The image''s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container''s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional' items: type: string type: array env: description: 'List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/EnvVar' type: array envFrom: description: 'List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional' items: $ref: '#/components/schemas/EnvFromSource' type: array image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images' type: string imagePullPolicy: $ref: '#/components/schemas/PullPolicy' lifecycle: $ref: '#/components/schemas/Lifecycle' livenessProbe: $ref: '#/components/schemas/Probe' name: description: 'Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.' type: string ports: description: 'Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol' items: $ref: '#/components/schemas/ContainerPort' type: array readinessProbe: $ref: '#/components/schemas/Probe' resizePolicy: description: 'Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic' items: $ref: '#/components/schemas/ContainerResizePolicy' type: array resources: $ref: '#/components/schemas/ResourceRequirements' restartPolicy: $ref: '#/components/schemas/ContainerRestartPolicy' securityContext: $ref: '#/components/schemas/SecurityContext' startupProbe: $ref: '#/components/schemas/Probe' stdin: description: 'Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional' type: boolean stdinOnce: description: 'Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional' type: boolean targetContainerName: description: 'If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. +optional' type: string terminationMessagePath: description: 'Optional: Path at which the file to which the container''s termination message will be written is mounted into the container''s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional' type: string terminationMessagePolicy: $ref: '#/components/schemas/TerminationMessagePolicy' tty: description: 'Whether this container should allocate a TTY for itself, also requires ''stdin'' to be true. Default is false. +optional' type: boolean volumeDevices: description: 'volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional' items: $ref: '#/components/schemas/VolumeDevice' type: array volumeMounts: description: 'Pod volumes to mount into the container''s filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge' items: $ref: '#/components/schemas/VolumeMount' type: array workingDir: description: 'Container''s working directory. If not specified, the container runtime''s default will be used, which might be configured in the container image. Cannot be updated. +optional' type: string title: 'An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.' type: object HostPathVolumeSource: description: Host path volumes do not support ownership management or SELinux relabeling. properties: path: description: 'path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath' type: string type: $ref: '#/components/schemas/HostPathType' title: Represents a host path mapped into a pod. type: object ServiceSpec: properties: allocateLoadBalancerNodePorts: description: 'allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. +optional' type: boolean clusterIP: description: 'clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies +optional' type: string clusterIPs: description: 'ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value. This field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies +listType=atomic +optional' items: type: string type: array externalIPs: description: 'externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. +optional' items: type: string type: array externalName: description: 'externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName". +optional' type: string externalTrafficPolicy: $ref: '#/components/schemas/ServiceExternalTrafficPolicy' healthCheckNodePort: description: 'healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set. +optional' format: int32 type: integer internalTrafficPolicy: $ref: '#/components/schemas/ServiceInternalTrafficPolicy' ipFamilies: description: 'IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName. This field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. +listType=atomic +optional' items: $ref: '#/components/schemas/IPFamily' type: array ipFamilyPolicy: $ref: '#/components/schemas/IPFamilyPolicy' loadBalancerClass: description: 'loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. This field can only be set when the Service type is ''LoadBalancer''. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type ''LoadBalancer''. Once set, it can not be changed. This field will be wiped when a service is updated to a non ''LoadBalancer'' type. +optional' type: string loadBalancerIP: description: 'Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available. +optional' type: string loadBalancerSourceRanges: description: 'If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ +optional' items: type: string type: array ports: description: 'The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies +patchMergeKey=port +patchStrategy=merge +listType=map +listMapKey=port +listMapKey=protocol' items: $ref: '#/components/schemas/ServicePort' type: array publishNotReadyAddresses: description: 'publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet''s Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior. +optional' type: boolean selector: additionalProperties: type: string description: 'Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ +optional +mapType=atomic' type: object sessionAffinity: $ref: '#/components/schemas/ServiceAffinity' sessionAffinityConfig: $ref: '#/components/schemas/SessionAffinityConfig' type: $ref: '#/components/schemas/ServiceType' title: ServiceSpec describes the attributes that a user creates on a service. type: object PortworxVolumeSource: properties: fsType: description: 'fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.' type: string readOnly: description: 'readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean volumeID: description: volumeID uniquely identifies a Portworx volume type: string title: PortworxVolumeSource represents a Portworx volume resource. type: object ContainerStateTerminated: properties: containerID: description: 'Container''s ID in the format ''://'' +optional' type: string exitCode: description: Exit status from the last termination of the container format: int32 type: integer finishedAt: description: 'Time at which the container last terminated +optional' type: string message: description: 'Message regarding the last termination of the container +optional' type: string reason: description: '(brief) reason from the last termination of the container +optional' type: string signal: description: 'Signal from the last termination of the container +optional' format: int32 type: integer startedAt: description: 'Time at which previous execution of the container started +optional' type: string title: ContainerStateTerminated is a terminated state of a container. type: object Service: description: '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.' properties: annotations: additionalProperties: type: string description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations +optional' type: object apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string creationTimestamp: description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string deletionGracePeriodSeconds: description: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional' format: int64 type: integer deletionTimestamp: description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string finalizers: description: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge' items: type: string type: array generateName: description: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency +optional' type: string generation: description: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional' format: int64 type: integer kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string labels: additionalProperties: type: string description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels +optional' type: object managedFields: description: 'ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn''t need to set or understand this field. A workflow can be the user''s name, a controller''s name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional' items: $ref: '#/components/schemas/ManagedFieldsEntry' type: array name: description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional' type: string namespace: description: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces +optional' type: string ownerReferences: description: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge' items: $ref: '#/components/schemas/OwnerReference' type: array resourceVersion: description: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string spec: $ref: '#/components/schemas/ServiceSpec' status: $ref: '#/components/schemas/ServiceStatus' uid: $ref: '#/components/schemas/UID' type: object NodeSelectorOperator: description: 'A node selector operator is the set of operators that can be used in a node selector requirement. +enum' type: string Type: format: int64 title: Type represents the stored type of IntOrString. type: integer TolerationOperator: description: +enum title: A toleration operator is the set of operators that can be used in a toleration. type: string ConfigMapVolumeSource: description: 'The contents of the target ConfigMap''s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.' properties: defaultMode: description: 'defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer items: description: 'items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ''..'' path or start with ''..''. +optional' items: $ref: '#/components/schemas/KeyToPath' type: array name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'optional specify whether the ConfigMap or its keys must be defined +optional' type: boolean title: Adapts a ConfigMap into a volume. type: object SeccompProfile: description: 'Only one profile source may be set. +union' properties: localhostProfile: description: 'localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet''s configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. +optional' type: string type: $ref: '#/components/schemas/SeccompProfileType' title: SeccompProfile defines a pod/container's seccomp profile settings. type: object NFSVolumeSource: description: NFS volumes do not support ownership management or SELinux relabeling. properties: path: description: 'path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' type: string readOnly: description: 'readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional' type: boolean server: description: 'server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' type: string title: Represents an NFS mount that lasts the lifetime of a pod. type: object SecretKeySelector: description: +structType=atomic properties: key: description: The key of the secret to select from. Must be a valid secret key. type: string name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'Specify whether the Secret or its key must be defined +optional' type: boolean title: SecretKeySelector selects a key of a Secret. type: object DownwardAPIVolumeSource: description: Downward API volumes support ownership management and SELinux relabeling. properties: defaultMode: description: 'Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer items: description: 'Items is a list of downward API volume file +optional' items: $ref: '#/components/schemas/DownwardAPIVolumeFile' type: array title: DownwardAPIVolumeSource represents a volume containing downward API info. type: object GCEPersistentDiskVolumeSource: description: 'A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.' properties: fsType: description: 'fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine +optional' type: string partition: description: 'partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional' format: int32 type: integer pdName: description: 'pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' type: string readOnly: description: 'readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional' type: boolean title: Represents a Persistent Disk resource in Google Compute Engine. type: object NodeInclusionPolicy: description: 'NodeInclusionPolicy defines the type of node inclusion policy +enum' type: string NodeSelectorRequirement: description: 'A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.' properties: key: description: The label key that the selector applies to. type: string operator: $ref: '#/components/schemas/NodeSelectorOperator' values: description: 'An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +optional' items: type: string type: array type: object ResourceFieldSelector: description: 'ResourceFieldSelector represents container resources (cpu, memory) and their output format +structType=atomic' properties: containerName: description: 'Container name: required for volumes, optional for env vars +optional' type: string divisor: $ref: '#/components/schemas/Quantity' resource: description: 'Required: resource to select' type: string type: object EphemeralVolumeSource: properties: volumeClaimTemplate: $ref: '#/components/schemas/PersistentVolumeClaimTemplate' title: Represents an ephemeral volume that is handled by a normal storage driver. type: object TypedLocalObjectReference: description: 'TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +structType=atomic' properties: apiGroup: description: 'APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. +optional' type: string kind: description: Kind is the type of resource being referenced type: string name: description: Name is the name of resource being referenced type: string type: object ResourceList: additionalProperties: $ref: '#/components/schemas/Quantity' title: ResourceList is a set of (resource name, quantity) pairs. type: object PodQOSClass: description: +enum title: PodQOSClass defines the supported qos classes of Pods. type: string Volume: properties: awsElasticBlockStore: $ref: '#/components/schemas/AWSElasticBlockStoreVolumeSource' azureDisk: $ref: '#/components/schemas/AzureDiskVolumeSource' azureFile: $ref: '#/components/schemas/AzureFileVolumeSource' cephfs: $ref: '#/components/schemas/CephFSVolumeSource' cinder: $ref: '#/components/schemas/CinderVolumeSource' configMap: $ref: '#/components/schemas/ConfigMapVolumeSource' csi: $ref: '#/components/schemas/CSIVolumeSource' downwardAPI: $ref: '#/components/schemas/DownwardAPIVolumeSource' emptyDir: $ref: '#/components/schemas/EmptyDirVolumeSource' ephemeral: $ref: '#/components/schemas/EphemeralVolumeSource' fc: $ref: '#/components/schemas/FCVolumeSource' flexVolume: $ref: '#/components/schemas/FlexVolumeSource' flocker: $ref: '#/components/schemas/FlockerVolumeSource' gcePersistentDisk: $ref: '#/components/schemas/GCEPersistentDiskVolumeSource' gitRepo: $ref: '#/components/schemas/GitRepoVolumeSource' glusterfs: $ref: '#/components/schemas/GlusterfsVolumeSource' hostPath: $ref: '#/components/schemas/HostPathVolumeSource' iscsi: $ref: '#/components/schemas/ISCSIVolumeSource' name: description: 'name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string nfs: $ref: '#/components/schemas/NFSVolumeSource' persistentVolumeClaim: $ref: '#/components/schemas/PersistentVolumeClaimVolumeSource' photonPersistentDisk: $ref: '#/components/schemas/PhotonPersistentDiskVolumeSource' portworxVolume: $ref: '#/components/schemas/PortworxVolumeSource' projected: $ref: '#/components/schemas/ProjectedVolumeSource' quobyte: $ref: '#/components/schemas/QuobyteVolumeSource' rbd: $ref: '#/components/schemas/RBDVolumeSource' scaleIO: $ref: '#/components/schemas/ScaleIOVolumeSource' secret: $ref: '#/components/schemas/SecretVolumeSource' storageos: $ref: '#/components/schemas/StorageOSVolumeSource' vsphereVolume: $ref: '#/components/schemas/VsphereVirtualDiskVolumeSource' title: Volume represents a named volume in a pod that may be accessed by any container in the pod. type: object PreemptionPolicy: description: +enum title: PreemptionPolicy describes a policy for if/when to preempt a pod. type: string Protocol: type: string description: 'For model inference, Seldon recommends using the industry-standard Open Inference Protocol (OIP) as the preferred protocol over others.
The corresponding protocol OIP value for Seldon Deployments is ''v2''. For Seldon ML Pipelines, this is the only supported protocol.
For more information, please refer to the Seldon documentation: https://docs.seldon.ai/seldon-core-2/apis/inference/v2' DownwardAPIVolumeFile: description: DownwardAPIVolumeFile represents information to create the file containing the pod field properties: fieldRef: $ref: '#/components/schemas/ObjectFieldSelector' mode: description: 'Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer path: description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..''' type: string resourceFieldRef: $ref: '#/components/schemas/ResourceFieldSelector' type: object PodFSGroupChangePolicy: description: 'PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume when volume is mounted. +enum' type: string Component: properties: component: type: string deployments: $ref: '#/components/schemas/DeploymentList' pods: $ref: '#/components/schemas/PodList' services: $ref: '#/components/schemas/ServiceList' type: object DeploymentList: properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string continue: description: 'continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.' type: string items: description: Items is the list of Deployments. items: $ref: '#/components/schemas/Deployment' type: array kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string remainingItemCount: description: 'remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. +optional' format: int64 type: integer resourceVersion: description: 'String that identifies the server''s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string title: DeploymentList is a list of Deployments. type: object LifecycleHandler: description: 'LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.' properties: exec: $ref: '#/components/schemas/ExecAction' httpGet: $ref: '#/components/schemas/HTTPGetAction' sleep: $ref: '#/components/schemas/SleepAction' tcpSocket: $ref: '#/components/schemas/TCPSocketAction' type: object Quantity: description: 'The serialization format is: ``` ::= (Note that may be empty, from the "" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | "" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn''t choose the capitalization.) ::= "e" | "E" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: No precision is lost No fractional digits will be emitted The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as "1500m" 1.5Gi will be serialized as "1536Mi" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don''t diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +protobuf=true +protobuf.embed=string +protobuf.options.marshal=false +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:deepcopy-gen=true +k8s:openapi-gen=true' title: 'Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.' type: object PersistentVolumeClaimSpec: description: 'PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes' properties: accessModes: description: 'accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional' items: $ref: '#/components/schemas/PersistentVolumeAccessMode' type: array dataSource: $ref: '#/components/schemas/TypedLocalObjectReference' dataSourceRef: $ref: '#/components/schemas/TypedObjectReference' resources: $ref: '#/components/schemas/VolumeResourceRequirements' selector: $ref: '#/components/schemas/LabelSelector' storageClassName: description: 'storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 +optional' type: string volumeAttributesClassName: description: 'volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it''s not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. +featureGate=VolumeAttributesClass +optional' type: string volumeMode: $ref: '#/components/schemas/PersistentVolumeMode' volumeName: description: 'volumeName is the binding reference to the PersistentVolume backing this claim. +optional' type: string type: object IntOrString: description: '+protobuf=true +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:openapi-gen=true' properties: IntVal: format: int32 type: integer StrVal: type: string Type: $ref: '#/components/schemas/Type' title: 'IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. TODO: Rename to Int32OrString' type: object PodDNSConfig: description: 'PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.' properties: nameservers: description: 'A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional' items: type: string type: array options: description: 'A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional' items: $ref: '#/components/schemas/PodDNSConfigOption' type: array searches: description: 'A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional' items: type: string type: array type: object PodList: properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string continue: description: 'continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.' type: string items: description: 'List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md' items: $ref: '#/components/schemas/Pod' type: array kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string remainingItemCount: description: 'remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. +optional' format: int64 type: integer resourceVersion: description: 'String that identifies the server''s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string title: PodList is a list of Pods. type: object PodReadinessGate: description: PodReadinessGate contains the reference to a pod condition properties: conditionType: $ref: '#/components/schemas/PodConditionType' type: object Capability: description: Capability represent POSIX capabilities type type: string EnvVar: properties: name: description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: description: 'Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional' type: string valueFrom: $ref: '#/components/schemas/EnvVarSource' title: EnvVar represents an environment variable present in a Container. type: object PersistentVolumeMode: description: +enum title: PersistentVolumeMode describes how a volume is intended to be consumed, either Block or Filesystem. type: string ServiceAccountTokenProjection: description: 'ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).' properties: audience: description: 'audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. +optional' type: string expirationSeconds: description: 'expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. +optional' format: int64 type: integer path: description: 'path is the path relative to the mount point of the file to project the token into.' type: string type: object VolumeProjection: description: Projection that may be projected along with other supported volume types properties: clusterTrustBundle: $ref: '#/components/schemas/ClusterTrustBundleProjection' configMap: $ref: '#/components/schemas/ConfigMapProjection' downwardAPI: $ref: '#/components/schemas/DownwardAPIProjection' secret: $ref: '#/components/schemas/SecretProjection' serviceAccountToken: $ref: '#/components/schemas/ServiceAccountTokenProjection' type: object PodCondition: properties: lastProbeTime: description: 'Last time we probed the condition. +optional' type: string lastTransitionTime: description: 'Last time the condition transitioned from one status to another. +optional' type: string message: description: 'Human-readable message indicating details about last transition. +optional' type: string reason: description: 'Unique, one-word, CamelCase reason for the condition''s last transition. +optional' type: string status: $ref: '#/components/schemas/ConditionStatus' type: $ref: '#/components/schemas/PodConditionType' title: PodCondition contains details for the current condition of this pod. type: object ResourceResizeRestartPolicy: title: ResourceResizeRestartPolicy specifies how to handle container resource resize. type: string PodTemplateSpec: description: PodTemplateSpec describes the data a pod should have when created from a template properties: annotations: additionalProperties: type: string description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations +optional' type: object creationTimestamp: description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string deletionGracePeriodSeconds: description: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional' format: int64 type: integer deletionTimestamp: description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string finalizers: description: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge' items: type: string type: array generateName: description: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency +optional' type: string generation: description: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional' format: int64 type: integer labels: additionalProperties: type: string description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels +optional' type: object managedFields: description: 'ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn''t need to set or understand this field. A workflow can be the user''s name, a controller''s name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional' items: $ref: '#/components/schemas/ManagedFieldsEntry' type: array name: description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional' type: string namespace: description: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces +optional' type: string ownerReferences: description: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge' items: $ref: '#/components/schemas/OwnerReference' type: array resourceVersion: description: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string spec: $ref: '#/components/schemas/PodSpec' uid: $ref: '#/components/schemas/UID' type: object ServiceType: description: 'Service Type string describes ingress methods for a service +enum' type: string ServiceAffinity: description: 'Session Affinity Type string +enum' type: string GlusterfsVolumeSource: description: Glusterfs volumes do not support ownership management or SELinux relabeling. properties: endpoints: description: 'endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod' type: string path: description: 'path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod' type: string readOnly: description: 'readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional' type: boolean title: Represents a Glusterfs mount that lasts the lifetime of a pod. type: object FCVolumeSource: description: 'Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.' properties: fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine +optional' type: string lun: description: 'lun is Optional: FC target lun number +optional' format: int32 type: integer readOnly: description: 'readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean targetWWNs: description: 'targetWWNs is Optional: FC target worldwide names (WWNs) +optional' items: type: string type: array wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional' items: type: string type: array title: Represents a Fibre Channel volume. type: object TaintEffect: description: +enum type: string GRPCAction: properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. format: int32 type: integer service: description: 'Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. +optional +default=""' type: string type: object StorageMedium: title: StorageMedium defines ways that storage can be allocated to a volume. type: string LabelSelectorRequirement: description: 'A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.' properties: key: description: key is the label key that the selector applies to. type: string operator: $ref: '#/components/schemas/LabelSelectorOperator' values: description: 'values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional' items: type: string type: array type: object URIScheme: description: 'URIScheme identifies the scheme used for connection to a host for Get actions +enum' type: string ServicePort: properties: appProtocol: description: 'The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Kubernetes-defined prefixed names: ''kubernetes.io/h2c'' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- ''kubernetes.io/ws'' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 ''kubernetes.io/wss'' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. +optional' type: string name: description: 'The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the ''name'' field in the EndpointPort. Optional if only one ServicePort is defined on this service. +optional' type: string nodePort: description: 'The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport +optional' format: int32 type: integer port: description: The port that will be exposed by this service. format: int32 type: integer protocol: $ref: '#/components/schemas/Protocol' targetPort: $ref: '#/components/schemas/IntOrString' title: ServicePort contains information on service's port. type: object HostPathType: description: +enum type: string PhotonPersistentDiskVolumeSource: properties: fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.' type: string pdID: description: pdID is the ID that identifies Photon Controller persistent disk type: string title: Represents a Photon Controller persistent disk resource. type: object CinderVolumeSource: description: 'A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.' properties: fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional' type: string readOnly: description: 'readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' volumeID: description: 'volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md' type: string title: Represents a cinder volume resource in Openstack. type: object PullPolicy: description: 'PullPolicy describes a policy for if/when to pull a container image +enum' type: string SecretEnvSource: description: 'The contents of the target Secret''s Data field will represent the key-value pairs as environment variables.' properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'Specify whether the Secret must be defined +optional' type: boolean title: 'SecretEnvSource selects a Secret to populate the environment variables with.' type: object SecurityContext: description: 'Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.' properties: allowPrivilegeEscalation: description: 'AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. +optional' type: boolean capabilities: $ref: '#/components/schemas/Capabilities' privileged: description: 'Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows. +optional' type: boolean procMount: $ref: '#/components/schemas/ProcMountType' readOnlyRootFilesystem: description: 'Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows. +optional' type: boolean runAsGroup: description: 'The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional' format: int64 type: integer runAsNonRoot: description: 'Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional' type: boolean runAsUser: description: 'The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional' format: int64 type: integer seLinuxOptions: $ref: '#/components/schemas/SELinuxOptions' seccompProfile: $ref: '#/components/schemas/SeccompProfile' windowsOptions: $ref: '#/components/schemas/WindowsSecurityContextOptions' title: SecurityContext holds security configuration that will be applied to a container. type: object RollingUpdateDeployment: properties: maxSurge: $ref: '#/components/schemas/IntOrString' maxUnavailable: $ref: '#/components/schemas/IntOrString' title: Spec to control the desired behavior of rolling update. type: object ContainerState: description: 'Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.' properties: running: $ref: '#/components/schemas/ContainerStateRunning' terminated: $ref: '#/components/schemas/ContainerStateTerminated' waiting: $ref: '#/components/schemas/ContainerStateWaiting' title: ContainerState holds a possible state of container. type: object PodResizeStatus: title: PodResizeStatus shows status of desired resize of a pod's containers. type: string ScaleIOVolumeSource: description: ScaleIOVolumeSource represents a persistent ScaleIO volume properties: fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional' type: string gateway: description: gateway is the host address of the ScaleIO API Gateway. type: string protectionDomain: description: 'protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional' type: string readOnly: description: 'readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' sslEnabled: description: 'sslEnabled Flag enable/disable SSL communication with Gateway, default false +optional' type: boolean storageMode: description: 'storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional' type: string storagePool: description: 'storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional' type: string system: description: system is the name of the storage system as configured in ScaleIO. type: string volumeName: description: 'volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.' type: string type: object FlockerVolumeSource: description: 'One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.' properties: datasetName: description: 'datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated +optional' type: string datasetUUID: description: 'datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset +optional' type: string title: Represents a Flocker volume mounted by the Flocker agent. type: object NodeSelectorTerm: description: 'A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +structType=atomic' properties: matchExpressions: description: 'A list of node selector requirements by node''s labels. +optional' items: $ref: '#/components/schemas/NodeSelectorRequirement' type: array matchFields: description: 'A list of node selector requirements by node''s fields. +optional' items: $ref: '#/components/schemas/NodeSelectorRequirement' type: array type: object TypedObjectReference: properties: apiGroup: description: 'APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. +optional' type: string kind: description: Kind is the type of resource being referenced type: string name: description: Name is the name of resource being referenced type: string namespace: description: 'Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace''s owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. +featureGate=CrossNamespaceVolumeDataSource +optional' type: string type: object IPFamilyPolicy: description: 'IPFamilyPolicy represents the dual-stack-ness requested or required by a Service +enum' type: string Container: properties: args: description: 'Arguments to the entrypoint. The container image''s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container''s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional' items: type: string type: array command: description: 'Entrypoint array. Not executed within a shell. The container image''s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container''s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional' items: type: string type: array env: description: 'List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge' items: $ref: '#/components/schemas/EnvVar' type: array envFrom: description: 'List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional' items: $ref: '#/components/schemas/EnvFromSource' type: array image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional' type: string imagePullPolicy: $ref: '#/components/schemas/PullPolicy' lifecycle: $ref: '#/components/schemas/Lifecycle' livenessProbe: $ref: '#/components/schemas/Probe' name: description: 'Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.' type: string ports: description: 'List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol' items: $ref: '#/components/schemas/ContainerPort' type: array readinessProbe: $ref: '#/components/schemas/Probe' resizePolicy: description: 'Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic' items: $ref: '#/components/schemas/ContainerResizePolicy' type: array resources: $ref: '#/components/schemas/ResourceRequirements' restartPolicy: $ref: '#/components/schemas/ContainerRestartPolicy' securityContext: $ref: '#/components/schemas/SecurityContext' startupProbe: $ref: '#/components/schemas/Probe' stdin: description: 'Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional' type: boolean stdinOnce: description: 'Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional' type: boolean terminationMessagePath: description: 'Optional: Path at which the file to which the container''s termination message will be written is mounted into the container''s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional' type: string terminationMessagePolicy: $ref: '#/components/schemas/TerminationMessagePolicy' tty: description: 'Whether this container should allocate a TTY for itself, also requires ''stdin'' to be true. Default is false. +optional' type: boolean volumeDevices: description: 'volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional' items: $ref: '#/components/schemas/VolumeDevice' type: array volumeMounts: description: 'Pod volumes to mount into the container''s filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge' items: $ref: '#/components/schemas/VolumeMount' type: array workingDir: description: 'Container''s working directory. If not specified, the container runtime''s default will be used, which might be configured in the container image. Cannot be updated. +optional' type: string title: A single application container that you want to run within a pod. type: object PodSchedulingGate: properties: name: description: 'Name of the scheduling gate. Each scheduling gate must have a unique name field.' type: string title: PodSchedulingGate is associated to a Pod to guard its scheduling. type: object GitRepoVolumeSource: description: 'DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod''s container.' properties: directory: description: 'directory is the target directory name. Must not contain or start with ''..''. If ''.'' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional' type: string repository: description: repository is the URL type: string revision: description: 'revision is the commit hash for the specified revision. +optional' type: string title: 'Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.' type: object CSIVolumeSource: description: Represents a source location of a volume to mount, managed by an external CSI driver properties: driver: description: 'driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.' type: string fsType: description: 'fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional' type: string nodePublishSecretRef: $ref: '#/components/schemas/LocalObjectReference' readOnly: description: 'readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional' type: boolean volumeAttributes: additionalProperties: type: string description: 'volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver''s documentation for supported values. +optional' type: object type: object Affinity: properties: nodeAffinity: $ref: '#/components/schemas/NodeAffinity' podAffinity: $ref: '#/components/schemas/PodAffinity' podAntiAffinity: $ref: '#/components/schemas/PodAntiAffinity' title: Affinity is a group of affinity scheduling rules. type: object PersistentVolumeAccessMode: description: +enum type: string MountPropagationMode: description: +enum title: MountPropagationMode describes mount propagation. type: string Probe: description: 'Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.' properties: exec: $ref: '#/components/schemas/ExecAction' failureThreshold: description: 'Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. +optional' format: int32 type: integer grpc: $ref: '#/components/schemas/GRPCAction' httpGet: $ref: '#/components/schemas/HTTPGetAction' initialDelaySeconds: description: 'Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional' format: int32 type: integer periodSeconds: description: 'How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional' format: int32 type: integer successThreshold: description: 'Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. +optional' format: int32 type: integer tcpSocket: $ref: '#/components/schemas/TCPSocketAction' terminationGracePeriodSeconds: description: 'Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod''s terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. +optional' format: int64 type: integer timeoutSeconds: description: 'Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional' format: int32 type: integer type: object KeyToPath: properties: key: description: key is the key to project. type: string mode: description: 'mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer path: description: 'path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ''..''. May not start with the string ''..''.' type: string title: Maps a string key to a path within a volume. type: object LabelSelectorOperator: title: A label selector operator is the set of operators that can be used in a selector requirement. type: string ClusterTrustBundleProjection: description: 'ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.' properties: labelSelector: $ref: '#/components/schemas/LabelSelector' name: description: 'Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. +optional' type: string optional: description: 'If true, don''t block pod startup if the referenced ClusterTrustBundle(s) aren''t available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles. +optional' type: boolean path: description: Relative path from the volume root to write the bundle. type: string signerName: description: 'Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated. +optional' type: string type: object ClientIPConfig: properties: timeoutSeconds: description: 'timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). +optional' format: int32 type: integer title: ClientIPConfig represents the configurations of Client IP based session affinity. type: object SeccompProfileType: description: +enum title: SeccompProfileType defines the supported seccomp profile types. type: string ConfigMapEnvSource: description: 'The contents of the target ConfigMap''s Data field will represent the key-value pairs as environment variables.' properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'Specify whether the ConfigMap must be defined +optional' type: boolean title: 'ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.' type: object Error: description: Error Error properties: code: description: Code format: int64 type: integer message: description: Message type: string requestId: description: RequestId type: string type: object PodConditionType: description: PodConditionType is a valid value for PodCondition.Type type: string QuobyteVolumeSource: description: Quobyte volumes do not support ownership management or SELinux relabeling. properties: group: description: 'group to map volume access to Default is no group +optional' type: string readOnly: description: 'readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. +optional' type: boolean registry: description: 'registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes' type: string tenant: description: 'tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin +optional' type: string user: description: 'user to map volume access to Defaults to serivceaccount user +optional' type: string volume: description: volume is a string that references an already created Quobyte volume by name. type: string title: Represents a Quobyte mount that lasts the lifetime of a pod. type: object AWSElasticBlockStoreVolumeSource: description: 'An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.' properties: fsType: description: 'fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional' type: string partition: description: 'partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional' format: int32 type: integer readOnly: description: 'readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional' type: boolean volumeID: description: 'volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore' type: string title: Represents a Persistent Disk resource in AWS. type: object HTTPGetAction: properties: host: description: 'Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional' type: string httpHeaders: description: 'Custom headers to set in the request. HTTP allows repeated headers. +optional' items: $ref: '#/components/schemas/HTTPHeader' type: array path: description: 'Path to access on the HTTP server. +optional' type: string port: $ref: '#/components/schemas/IntOrString' scheme: $ref: '#/components/schemas/URIScheme' title: HTTPGetAction describes an action based on HTTP Get requests. type: object PodIP: properties: ip: description: IP is the IP address assigned to the pod type: string title: PodIP represents a single IP address allocated to the pod. type: object IPFamily: description: 'IPFamily represents the IP Family (IPv4 or IPv6). This type is used to express the family of an IP expressed by a type (e.g. service.spec.ipFamilies). +enum' type: string SessionAffinityConfig: properties: clientIP: $ref: '#/components/schemas/ClientIPConfig' title: SessionAffinityConfig represents the configurations of session affinity. type: object LabelSelector: description: 'A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. +structType=atomic' properties: matchExpressions: description: 'matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional' items: $ref: '#/components/schemas/LabelSelectorRequirement' type: array matchLabels: additionalProperties: type: string description: 'matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional' type: object type: object ContainerStatus: properties: allocatedResources: $ref: '#/components/schemas/ResourceList' containerID: description: 'ContainerID is the ID of the container in the format ''://''. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd"). +optional' type: string image: description: 'Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.' type: string imageID: description: 'ImageID is the image ID of the container''s image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.' type: string lastState: $ref: '#/components/schemas/ContainerState' name: description: 'Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.' type: string ready: description: 'Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic.' type: boolean resources: $ref: '#/components/schemas/ResourceRequirements' restartCount: description: 'RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.' format: int32 type: integer started: description: 'Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. +optional' type: boolean state: $ref: '#/components/schemas/ContainerState' title: ContainerStatus contains details for the current status of this container. type: object UnsatisfiableConstraintAction: description: +enum type: string WindowsSecurityContextOptions: properties: gmsaCredentialSpec: description: 'GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. +optional' type: string gmsaCredentialSpecName: description: 'GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional' type: string hostProcess: description: 'HostProcess determines if a container should be run as a ''Host Process'' container. All of a Pod''s containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. +optional' type: boolean runAsUserName: description: 'The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional' type: string title: WindowsSecurityContextOptions contain Windows-specific options and credentials. type: object EmptyDirVolumeSource: description: Empty directory volumes support ownership management and SELinux relabeling. properties: medium: $ref: '#/components/schemas/StorageMedium' sizeLimit: $ref: '#/components/schemas/Quantity' title: Represents an empty directory for a pod. type: object ProjectedVolumeSource: description: Represents a projected volume source properties: defaultMode: description: 'defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer sources: description: 'sources is the list of volume projections +optional' items: $ref: '#/components/schemas/VolumeProjection' type: array type: object ContainerPort: properties: containerPort: description: 'Number of port to expose on the pod''s IP address. This must be a valid port number, 0 < x < 65536.' format: int32 type: integer hostIP: description: 'What host IP to bind the external port to. +optional' type: string hostPort: description: 'Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. +optional' format: int32 type: integer name: description: 'If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. +optional' type: string protocol: $ref: '#/components/schemas/Protocol' title: ContainerPort represents a network port in a single container. type: object ObjectFieldSelector: description: +structType=atomic properties: apiVersion: description: 'Version of the schema the FieldPath is written in terms of, defaults to "v1". +optional' type: string fieldPath: description: Path of the field to select in the specified API version. type: string title: ObjectFieldSelector selects an APIVersioned field of an object. type: object DeploymentSpec: properties: minReadySeconds: description: 'Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional' format: int32 type: integer paused: description: 'Indicates that the deployment is paused. +optional' type: boolean progressDeadlineSeconds: description: 'The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.' format: int32 type: integer replicas: description: 'Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional' format: int32 type: integer revisionHistoryLimit: description: 'The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. +optional' format: int32 type: integer selector: $ref: '#/components/schemas/LabelSelector' strategy: $ref: '#/components/schemas/DeploymentStrategy' template: $ref: '#/components/schemas/PodTemplateSpec' title: DeploymentSpec is the specification of the desired behavior of the Deployment. type: object ResourceName: title: ResourceName is the name identifying various resources in a ResourceList. type: string ISCSIVolumeSource: description: 'ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.' properties: chapAuthDiscovery: description: 'chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional' type: boolean chapAuthSession: description: 'chapAuthSession defines whether support iSCSI Session CHAP authentication +optional' type: boolean fsType: description: 'fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional' type: string initiatorName: description: 'initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. +optional' type: string iqn: description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: description: 'iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to ''default'' (tcp). +optional' type: string lun: description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: description: 'portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional' items: type: string type: array readOnly: description: 'readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' targetPortal: description: 'targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).' type: string title: Represents an ISCSI disk. type: object PodResourceClaim: description: 'It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.' properties: name: description: 'Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.' type: string source: $ref: '#/components/schemas/ClaimSource' title: PodResourceClaim references exactly one ResourceClaim through a ClaimSource. type: object PodAffinity: properties: preferredDuringSchedulingIgnoredDuringExecution: description: 'The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional' items: $ref: '#/components/schemas/WeightedPodAffinityTerm' type: array requiredDuringSchedulingIgnoredDuringExecution: description: 'If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional' items: $ref: '#/components/schemas/PodAffinityTerm' type: array title: Pod affinity is a group of inter pod affinity scheduling rules. type: object ProcMountType: description: +enum type: string EnvFromSource: description: EnvFromSource represents the source of a set of ConfigMaps properties: configMapRef: $ref: '#/components/schemas/ConfigMapEnvSource' prefix: description: 'An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. +optional' type: string secretRef: $ref: '#/components/schemas/SecretEnvSource' type: object AzureDataDiskCachingMode: description: +enum type: string DNSPolicy: description: +enum title: DNSPolicy defines how a pod's DNS will be configured. type: string RBDVolumeSource: description: RBD volumes support ownership management and SELinux relabeling. properties: fsType: description: 'fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional' type: string image: description: 'image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' type: string keyring: description: 'keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional' type: string monitors: description: 'monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' items: type: string type: array pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional' type: string readOnly: description: 'readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' user: description: 'user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional' type: string title: Represents a Rados Block Device mount that lasts the lifetime of a pod. type: object ServiceStatus: properties: explainerFor: type: string grpcEndpoint: type: string httpEndpoint: type: string svcName: type: string type: object Pod: description: 'Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.' properties: annotations: additionalProperties: type: string description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations +optional' type: object apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string creationTimestamp: description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string deletionGracePeriodSeconds: description: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional' format: int64 type: integer deletionTimestamp: description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string finalizers: description: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge' items: type: string type: array generateName: description: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency +optional' type: string generation: description: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional' format: int64 type: integer kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string labels: additionalProperties: type: string description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels +optional' type: object managedFields: description: 'ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn''t need to set or understand this field. A workflow can be the user''s name, a controller''s name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional' items: $ref: '#/components/schemas/ManagedFieldsEntry' type: array name: description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional' type: string namespace: description: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces +optional' type: string ownerReferences: description: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge' items: $ref: '#/components/schemas/OwnerReference' type: array resourceVersion: description: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string spec: $ref: '#/components/schemas/PodSpec' status: $ref: '#/components/schemas/PodStatus' uid: $ref: '#/components/schemas/UID' type: object SecretProjection: description: 'The contents of the target Secret''s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.' properties: items: description: 'items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ''..'' path or start with ''..''. +optional' items: $ref: '#/components/schemas/KeyToPath' type: array name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'optional field specify whether the Secret or its key must be defined +optional' type: boolean title: Adapts a secret into a projected volume. type: object PodResourceClaimStatus: description: 'PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.' properties: name: description: 'Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.' type: string resourceClaimName: description: 'ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. +optional' type: string type: object ConfigMapKeySelector: description: +structType=atomic properties: key: description: The key to select. type: string name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'Specify whether the ConfigMap or its key must be defined +optional' type: boolean title: Selects a key from a ConfigMap. type: object TCPSocketAction: description: TCPSocketAction describes an action based on opening a socket properties: host: description: 'Optional: Host name to connect to, defaults to the pod IP. +optional' type: string port: $ref: '#/components/schemas/IntOrString' type: object SecretVolumeSource: description: 'The contents of the target Secret''s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.' properties: defaultMode: description: 'defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional' format: int32 type: integer items: description: 'items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ''..'' path or start with ''..''. +optional' items: $ref: '#/components/schemas/KeyToPath' type: array optional: description: 'optional field specify whether the Secret or its keys must be defined +optional' type: boolean secretName: description: 'secretName is the name of the secret in the pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional' type: string title: Adapts a Secret into a volume. type: object ServiceList: properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional' type: string continue: description: 'continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.' type: string items: description: List of services items: $ref: '#/components/schemas/Service' type: array kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional' type: string remainingItemCount: description: 'remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. +optional' format: int64 type: integer resourceVersion: description: 'String that identifies the server''s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string title: ServiceList holds a list of services. type: object StorageOSVolumeSource: properties: fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional' type: string readOnly: description: 'readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' volumeName: description: 'volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.' type: string volumeNamespace: description: 'volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod''s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional' type: string title: Represents a StorageOS persistent volume resource. type: object CephFSVolumeSource: description: 'Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.' properties: monitors: description: 'monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' items: type: string type: array path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional' type: string readOnly: description: 'readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional' type: boolean secretFile: description: 'secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional' type: string secretRef: $ref: '#/components/schemas/LocalObjectReference' user: description: 'user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional' type: string type: object PodAffinityTerm: description: 'Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running' properties: labelSelector: $ref: '#/components/schemas/LabelSelector' matchLabelKeys: description: 'MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod''s pod (anti) affinity. Keys that don''t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn''t set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. +listType=atomic +optional' items: type: string type: array mismatchLabelKeys: description: 'MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod''s pod (anti) affinity. Keys that don''t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn''t set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. +listType=atomic +optional' items: type: string type: array namespaceSelector: $ref: '#/components/schemas/LabelSelector' namespaces: description: 'namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod''s namespace". +optional' items: type: string type: array topologyKey: description: 'This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.' type: string type: object Lifecycle: description: 'Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.' properties: postStart: $ref: '#/components/schemas/LifecycleHandler' preStop: $ref: '#/components/schemas/LifecycleHandler' type: object PodPhase: description: +enum title: PodPhase is a label for the condition of a pod at the current time. type: string NodeAffinity: properties: preferredDuringSchedulingIgnoredDuringExecution: description: 'The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional' items: $ref: '#/components/schemas/PreferredSchedulingTerm' type: array requiredDuringSchedulingIgnoredDuringExecution: $ref: '#/components/schemas/NodeSelector' title: Node affinity is a group of node affinity scheduling rules. type: object PodAntiAffinity: properties: preferredDuringSchedulingIgnoredDuringExecution: description: 'The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional' items: $ref: '#/components/schemas/WeightedPodAffinityTerm' type: array requiredDuringSchedulingIgnoredDuringExecution: description: 'If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional' items: $ref: '#/components/schemas/PodAffinityTerm' type: array title: Pod anti affinity is a group of inter pod anti affinity scheduling rules. type: object WeightedPodAffinityTerm: description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: $ref: '#/components/schemas/PodAffinityTerm' weight: description: 'weight associated with matching the corresponding podAffinityTerm, in the range 1-100.' format: int32 type: integer type: object ExecAction: properties: command: description: 'Command is the command line to execute inside the container, the working directory for the command is root (''/'') in the container''s filesystem. The command is simply exec''d, it is not run inside a shell, so traditional shell instructions (''|'', etc) won''t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. +optional' items: type: string type: array title: ExecAction describes a "run in container" action. type: object SleepAction: properties: seconds: description: Seconds is the number of seconds to sleep. format: int64 type: integer title: SleepAction describes a "sleep" action. type: object ManagedFieldsOperationType: title: ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry being created. type: string OSName: title: OSName is the set of OS'es that can be used in OS. type: string Toleration: description: 'The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .' properties: effect: $ref: '#/components/schemas/TaintEffect' key: description: 'Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional' type: string operator: $ref: '#/components/schemas/TolerationOperator' tolerationSeconds: description: 'TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. +optional' format: int64 type: integer value: description: 'Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional' type: string type: object VolumeMount: properties: mountPath: description: 'Path within the container at which the volume should be mounted. Must not contain '':''.' type: string mountPropagation: $ref: '#/components/schemas/MountPropagationMode' name: description: This must match the Name of a Volume. type: string readOnly: description: 'Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional' type: boolean subPath: description: 'Path within the volume from which the container''s volume should be mounted. Defaults to "" (volume''s root). +optional' type: string subPathExpr: description: 'Expanded path within the volume from which the container''s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container''s environment. Defaults to "" (volume''s root). SubPathExpr and SubPath are mutually exclusive. +optional' type: string title: VolumeMount describes a mounting of a Volume within a container. type: object ContainerResizePolicy: properties: resourceName: $ref: '#/components/schemas/ResourceName' restartPolicy: $ref: '#/components/schemas/ResourceResizeRestartPolicy' title: ContainerResizePolicy represents resource resize policy for the container. type: object PersistentVolumeClaimTemplate: description: 'PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.' properties: annotations: additionalProperties: type: string description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations +optional' type: object creationTimestamp: description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string deletionGracePeriodSeconds: description: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional' format: int64 type: integer deletionTimestamp: description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional' type: string finalizers: description: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge' items: type: string type: array generateName: description: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency +optional' type: string generation: description: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional' format: int64 type: integer labels: additionalProperties: type: string description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels +optional' type: object managedFields: description: 'ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn''t need to set or understand this field. A workflow can be the user''s name, a controller''s name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional' items: $ref: '#/components/schemas/ManagedFieldsEntry' type: array name: description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional' type: string namespace: description: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces +optional' type: string ownerReferences: description: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge' items: $ref: '#/components/schemas/OwnerReference' type: array resourceVersion: description: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional' type: string selfLink: description: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional' type: string spec: $ref: '#/components/schemas/PersistentVolumeClaimSpec' uid: $ref: '#/components/schemas/UID' type: object PodOS: properties: name: $ref: '#/components/schemas/OSName' title: PodOS defines the OS parameters of a pod. type: object LocalObjectReference: description: 'LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +structType=atomic' properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string type: object SELinuxOptions: description: SELinuxOptions are the labels to be applied to the container properties: level: description: 'Level is SELinux level label that applies to the container. +optional' type: string role: description: 'Role is a SELinux role label that applies to the container. +optional' type: string type: description: 'Type is a SELinux type label that applies to the container. +optional' type: string user: description: 'User is a SELinux user label that applies to the container. +optional' type: string type: object PodDNSConfigOption: properties: name: description: Required. type: string value: description: +optional type: string title: PodDNSConfigOption defines DNS resolver options of a pod. type: object RestartPolicy: description: 'Only one of the following restart policies may be specified. If none of the following policies is specified, the default one is RestartPolicyAlways. +enum' title: RestartPolicy describes how the container should be restarted. type: string ConfigMapProjection: description: 'The contents of the target ConfigMap''s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.' properties: items: description: 'items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ''..'' path or start with ''..''. +optional' items: $ref: '#/components/schemas/KeyToPath' type: array name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional' type: string optional: description: 'optional specify whether the ConfigMap or its keys must be defined +optional' type: boolean title: Adapts a ConfigMap into a projected volume. type: object VolumeResourceRequirements: properties: limits: $ref: '#/components/schemas/ResourceList' requests: $ref: '#/components/schemas/ResourceList' title: VolumeResourceRequirements describes the storage resource requirements for a volume. type: object PreferredSchedulingTerm: description: 'An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it''s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).' properties: preference: $ref: '#/components/schemas/NodeSelectorTerm' weight: description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. format: int32 type: integer type: object ServiceExternalTrafficPolicy: description: 'ServiceExternalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service''s "externally-facing" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs. +enum' type: string DownwardAPIProjection: description: 'Note that this is identical to a downwardAPI volume source without the default mode.' properties: items: description: 'Items is a list of DownwardAPIVolume file +optional' items: $ref: '#/components/schemas/DownwardAPIVolumeFile' type: array title: Represents downward API info for projecting into a projected volume. type: object Sysctl: description: Sysctl defines a kernel parameter to be set properties: name: description: Name of a property to set type: string value: description: Value of a property to set type: string type: object ServiceInternalTrafficPolicy: description: 'ServiceInternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. +enum' type: string FieldsV1: description: 'Each key is either a ''.'' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: ''f:'', where is the name of a field in a struct, or key in a map ''v:'', where is the exact json formatted value of a list item ''i:'', where is position of a item in a list ''k:'', where is a map of a list item''s key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. The exact format is defined in sigs.k8s.io/structured-merge-diff +protobuf.options.(gogoproto.goproto_stringer)=false' title: FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. type: object ResourceClaim: properties: name: description: 'Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.' type: string title: ResourceClaim references one entry in PodSpec.ResourceClaims. type: object HTTPHeader: description: HTTPHeader describes a custom header to be used in HTTP probes properties: name: description: 'The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.' type: string value: description: The header field value type: string type: object EnvVarSource: properties: configMapKeyRef: $ref: '#/components/schemas/ConfigMapKeySelector' fieldRef: $ref: '#/components/schemas/ObjectFieldSelector' resourceFieldRef: $ref: '#/components/schemas/ResourceFieldSelector' secretKeyRef: $ref: '#/components/schemas/SecretKeySelector' title: EnvVarSource represents a source for the value of an EnvVar. type: object ContainerStateWaiting: properties: message: description: 'Message regarding why the container is not yet running. +optional' type: string reason: description: '(brief) reason the container is not yet running. +optional' type: string title: ContainerStateWaiting is a waiting state of a container. type: object UID: description: 'UID is a type that holds unique ID values, including UUIDs. Because we don''t ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.' type: string TerminationMessagePolicy: description: +enum title: TerminationMessagePolicy describes how termination messages are retrieved from a container. type: string NodeSelector: description: 'A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. +structType=atomic' properties: nodeSelectorTerms: description: Required. A list of node selector terms. The terms are ORed. items: $ref: '#/components/schemas/NodeSelectorTerm' type: array type: object AzureFileVolumeSource: properties: readOnly: description: 'readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean secretName: description: secretName is the name of secret that contains Azure Storage Account Name and Key type: string shareName: description: shareName is the azure share Name type: string title: AzureFile represents an Azure File Service mount on the host and bind mount to the pod. type: object VolumeDevice: properties: devicePath: description: devicePath is the path inside of the container that the device will be mapped to. type: string name: description: name must match the name of a persistentVolumeClaim in the pod type: string title: volumeDevice describes a mapping of a raw block device within a container. type: object TopologySpreadConstraint: properties: labelSelector: $ref: '#/components/schemas/LabelSelector' matchLabelKeys: description: 'MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn''t set. Keys that don''t exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). +listType=atomic +optional' items: type: string type: array maxSkew: description: "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n+-------+-------+-------+\n zone1 | zone2 | zone3 |\n+-------+-------+-------+\n P P | P P | P |\n+-------+-------+-------+\nif MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\nif MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed." format: int32 type: integer minDomains: description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n+-------+-------+-------+\n zone1 | zone2 | zone3 |\n+-------+-------+-------+\n P P | P P | P P |\n+-------+-------+-------+\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).\n+optional" format: int32 type: integer nodeAffinityPolicy: $ref: '#/components/schemas/NodeInclusionPolicy' nodeTaintsPolicy: $ref: '#/components/schemas/NodeInclusionPolicy' topologyKey: description: 'TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It''s a required field.' type: string whenUnsatisfiable: $ref: '#/components/schemas/UnsatisfiableConstraintAction' title: TopologySpreadConstraint specifies how to spread matching pods among the given topology. type: object FlexVolumeSource: description: 'FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.' properties: driver: description: driver is the name of the driver to use for this volume. type: string fsType: description: 'fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional' type: string options: additionalProperties: type: string description: 'options is Optional: this field holds extra command options if any. +optional' type: object readOnly: description: 'readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean secretRef: $ref: '#/components/schemas/LocalObjectReference' type: object DeploymentStrategyType: description: +enum type: string VsphereVirtualDiskVolumeSource: properties: fsType: description: 'fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional' type: string storagePolicyID: description: 'storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. +optional' type: string storagePolicyName: description: 'storagePolicyName is the storage Policy Based Management (SPBM) profile name. +optional' type: string volumePath: description: volumePath is the path that identifies vSphere volume vmdk type: string title: Represents a vSphere volume resource. type: object HostIP: properties: ip: description: IP is the IP address assigned to the host type: string title: HostIP represents a single IP address allocated to the host. type: object AzureDiskVolumeSource: properties: cachingMode: $ref: '#/components/schemas/AzureDataDiskCachingMode' diskName: description: diskName is the Name of the data disk in the blob storage type: string diskURI: description: diskURI is the URI of data disk in the blob storage type: string fsType: description: 'fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional' type: string kind: $ref: '#/components/schemas/AzureDataDiskKind' readOnly: description: 'readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional' type: boolean title: AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. type: object responses: ErrorDefault: description: ErrorDefault Error content: application/json: schema: $ref: '#/components/schemas/Error' ResourceListResponse: description: Resource list content: application/json: schema: items: $ref: '#/components/schemas/Component' type: array securitySchemes: OAuth2: type: oauth2 flows: password: tokenUrl: https://Y.Y.Y.Y scopes: email: '' groups: '' openid: '' profile: ''