diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json index 8316bb16541..b67fedaa357 100644 --- a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json +++ b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json @@ -1892,7 +1892,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { @@ -1985,7 +1990,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { @@ -2079,7 +2089,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb index 5edf767085d..dda95e42eae 100644 Binary files a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb and b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml index 1335003613c..0f3e923720a 100644 --- a/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml +++ b/staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml @@ -1303,6 +1303,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue ephemeralContainerStatuses: - allocatedResources: allocatedResourcesKey: "0" @@ -1366,6 +1369,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue extendedResourceClaimStatus: requestMappings: - containerName: containerNameValue @@ -1438,6 +1444,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue message: messageValue nominatedNodeName: nominatedNodeNameValue observedGeneration: 17 diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json index eb59a472428..d5f0c40524a 100644 --- a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json +++ b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json @@ -140,7 +140,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { @@ -233,7 +238,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { @@ -327,7 +337,12 @@ "name": "nameValue", "mountPath": "mountPathValue", "readOnly": true, - "recursiveReadOnly": "recursiveReadOnlyValue" + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": { + "image": { + "imageRef": "imageRefValue" + } + } } ], "user": { diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.pb b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.pb index a06ad0fe013..3f62fcd3295 100644 Binary files a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.pb and b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.pb differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml index 561d88be58d..ef5edee72b5 100644 --- a/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml +++ b/staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml @@ -106,6 +106,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue ephemeralContainerStatuses: - allocatedResources: allocatedResourcesKey: "0" @@ -169,6 +172,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue extendedResourceClaimStatus: requestMappings: - containerName: containerNameValue @@ -241,6 +247,9 @@ status: name: nameValue readOnly: true recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: + image: + imageRef: imageRefValue message: messageValue nominatedNodeName: nominatedNodeNameValue observedGeneration: 17 diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.json new file mode 100644 index 00000000000..55c8da0b4a7 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.json @@ -0,0 +1,2051 @@ +{ + "kind": "Pod", + "apiVersion": "v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + }, + "clusterTrustBundle": { + "name": "nameValue", + "signerName": "signerNameValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "optional": true, + "path": "pathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + } + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + }, + "volumeAttributesClassName": "volumeAttributesClassNameValue" + } + } + }, + "image": { + "reference": "referenceValue", + "pullPolicy": "pullPolicyValue" + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "supplementalGroupsPolicy": "supplementalGroupsPolicyValue", + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "seLinuxChangePolicy": "seLinuxChangePolicyValue" + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + } + }, + "status": { + "observedGeneration": 17, + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "observedGeneration": 7, + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "hostIPs": [ + { + "ip": "ipValue" + } + ], + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "resize": "resizeValue", + "resourceClaimStatuses": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.pb new file mode 100644 index 00000000000..06f9b4a3fed Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.yaml new file mode 100644 index 00000000000..d0467c8b329 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.Pod.after_roundtrip.yaml @@ -0,0 +1,1402 @@ +apiVersion: v1 +kind: Pod +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxChangePolicy: seLinuxChangePolicyValue + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + supplementalGroupsPolicy: supplementalGroupsPolicyValue + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeAttributesClassName: volumeAttributesClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + image: + pullPolicy: pullPolicyValue + reference: referenceValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - clusterTrustBundle: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + name: nameValue + optional: true + path: pathValue + signerName: signerNameValue + configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 7 + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + ephemeralContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + hostIP: hostIPValue + hostIPs: + - ip: ipValue + initContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + message: messageValue + nominatedNodeName: nominatedNodeNameValue + observedGeneration: 17 + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + resize: resizeValue + resourceClaimStatuses: + - name: nameValue + resourceClaimName: resourceClaimNameValue + startTime: "2007-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.json new file mode 100644 index 00000000000..5dae0afb5a0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.json @@ -0,0 +1,367 @@ +{ + "kind": "PodStatusResult", + "apiVersion": "v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "status": { + "observedGeneration": 17, + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "observedGeneration": 7, + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "hostIPs": [ + { + "ip": "ipValue" + } + ], + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "resize": "resizeValue", + "resourceClaimStatuses": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.pb new file mode 100644 index 00000000000..c78364a057f Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.yaml new file mode 100644 index 00000000000..d5ac02743b1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.33.0/core.v1.PodStatusResult.after_roundtrip.yaml @@ -0,0 +1,252 @@ +apiVersion: v1 +kind: PodStatusResult +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 7 + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + ephemeralContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + hostIP: hostIPValue + hostIPs: + - ip: ipValue + initContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + message: messageValue + nominatedNodeName: nominatedNodeNameValue + observedGeneration: 17 + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + resize: resizeValue + resourceClaimStatuses: + - name: nameValue + resourceClaimName: resourceClaimNameValue + startTime: "2007-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.json new file mode 100644 index 00000000000..ba1577fa90c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.json @@ -0,0 +1,2121 @@ +{ + "kind": "Pod", + "apiVersion": "v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + }, + "clusterTrustBundle": { + "name": "nameValue", + "signerName": "signerNameValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "optional": true, + "path": "pathValue" + }, + "podCertificate": { + "signerName": "signerNameValue", + "keyType": "keyTypeValue", + "maxExpirationSeconds": 3, + "credentialBundlePath": "credentialBundlePathValue", + "keyPath": "keyPathValue", + "certificateChainPath": "certificateChainPathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + } + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + }, + "volumeAttributesClassName": "volumeAttributesClassNameValue" + } + } + }, + "image": { + "reference": "referenceValue", + "pullPolicy": "pullPolicyValue" + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "fileKeyRef": { + "volumeName": "volumeNameValue", + "path": "pathValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "restartPolicyRules": [ + { + "action": "actionValue", + "exitCodes": { + "operator": "operatorValue", + "values": [ + 2 + ] + } + } + ], + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "fileKeyRef": { + "volumeName": "volumeNameValue", + "path": "pathValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "restartPolicyRules": [ + { + "action": "actionValue", + "exitCodes": { + "operator": "operatorValue", + "values": [ + 2 + ] + } + } + ], + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "fileKeyRef": { + "volumeName": "volumeNameValue", + "path": "pathValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "resizePolicy": [ + { + "resourceName": "resourceNameValue", + "restartPolicy": "restartPolicyValue" + } + ], + "restartPolicy": "restartPolicyValue", + "restartPolicyRules": [ + { + "action": "actionValue", + "exitCodes": { + "operator": "operatorValue", + "values": [ + 2 + ] + } + } + ], + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "sleep": { + "seconds": 1 + } + }, + "stopSignal": "stopSignalValue" + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "supplementalGroupsPolicy": "supplementalGroupsPolicyValue", + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "appArmorProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + }, + "seLinuxChangePolicy": "seLinuxChangePolicyValue" + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "matchLabelKeys": [ + "matchLabelKeysValue" + ], + "mismatchLabelKeys": [ + "mismatchLabelKeysValue" + ] + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "hostnameOverride": "hostnameOverrideValue" + }, + "status": { + "observedGeneration": 17, + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "observedGeneration": 7, + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "hostIPs": [ + { + "ip": "ipValue" + } + ], + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "resize": "resizeValue", + "resourceClaimStatuses": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue" + } + ], + "extendedResourceClaimStatus": { + "requestMappings": [ + { + "containerName": "containerNameValue", + "resourceName": "resourceNameValue", + "requestName": "requestNameValue" + } + ], + "resourceClaimName": "resourceClaimNameValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.pb new file mode 100644 index 00000000000..44f82e266a1 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.yaml new file mode 100644 index 00000000000..1c6a97ab8aa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.Pod.after_roundtrip.yaml @@ -0,0 +1,1449 @@ +apiVersion: v1 +kind: Pod +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + mismatchLabelKeys: + - mismatchLabelKeysValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + fileKeyRef: + key: keyValue + optional: true + path: pathValue + volumeName: volumeNameValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + restartPolicyRules: + - action: actionValue + exitCodes: + operator: operatorValue + values: + - 2 + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + fileKeyRef: + key: keyValue + optional: true + path: pathValue + volumeName: volumeNameValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + restartPolicyRules: + - action: actionValue + exitCodes: + operator: operatorValue + values: + - 2 + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + hostnameOverride: hostnameOverrideValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + fileKeyRef: + key: keyValue + optional: true + path: pathValue + volumeName: volumeNameValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + sleep: + seconds: 1 + tcpSocket: + host: hostValue + port: portValue + stopSignal: stopSignalValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resizePolicy: + - resourceName: resourceNameValue + restartPolicy: restartPolicyValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + restartPolicyRules: + - action: actionValue + exitCodes: + operator: operatorValue + values: + - 2 + securityContext: + allowPrivilegeEscalation: true + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + appArmorProfile: + localhostProfile: localhostProfileValue + type: typeValue + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxChangePolicy: seLinuxChangePolicyValue + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + supplementalGroupsPolicy: supplementalGroupsPolicyValue + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeAttributesClassName: volumeAttributesClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + image: + pullPolicy: pullPolicyValue + reference: referenceValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - clusterTrustBundle: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + name: nameValue + optional: true + path: pathValue + signerName: signerNameValue + configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + podCertificate: + certificateChainPath: certificateChainPathValue + credentialBundlePath: credentialBundlePathValue + keyPath: keyPathValue + keyType: keyTypeValue + maxExpirationSeconds: 3 + signerName: signerNameValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 7 + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + ephemeralContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + extendedResourceClaimStatus: + requestMappings: + - containerName: containerNameValue + requestName: requestNameValue + resourceName: resourceNameValue + resourceClaimName: resourceClaimNameValue + hostIP: hostIPValue + hostIPs: + - ip: ipValue + initContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + message: messageValue + nominatedNodeName: nominatedNodeNameValue + observedGeneration: 17 + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + resize: resizeValue + resourceClaimStatuses: + - name: nameValue + resourceClaimName: resourceClaimNameValue + startTime: "2007-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.json new file mode 100644 index 00000000000..69a1e088c1f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.json @@ -0,0 +1,377 @@ +{ + "kind": "PodStatusResult", + "apiVersion": "v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "status": { + "observedGeneration": 17, + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "observedGeneration": 7, + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "hostIPs": [ + { + "ip": "ipValue" + } + ], + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true, + "allocatedResources": { + "allocatedResourcesKey": "0" + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue", + "request": "requestValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "mountPath": "mountPathValue", + "readOnly": true, + "recursiveReadOnly": "recursiveReadOnlyValue", + "volumeStatus": {} + } + ], + "user": { + "linux": { + "uid": 1, + "gid": 2, + "supplementalGroups": [ + 3 + ] + } + }, + "allocatedResourcesStatus": [ + { + "name": "nameValue", + "resources": [ + { + "resourceID": "resourceIDValue", + "health": "healthValue" + } + ] + } + ], + "stopSignal": "stopSignalValue" + } + ], + "resize": "resizeValue", + "resourceClaimStatuses": [ + { + "name": "nameValue", + "resourceClaimName": "resourceClaimNameValue" + } + ], + "extendedResourceClaimStatus": { + "requestMappings": [ + { + "containerName": "containerNameValue", + "resourceName": "resourceNameValue", + "requestName": "requestNameValue" + } + ], + "resourceClaimName": "resourceClaimNameValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.pb new file mode 100644 index 00000000000..a00a751cfbd Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.yaml new file mode 100644 index 00000000000..75ae4d1c539 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.34.0/core.v1.PodStatusResult.after_roundtrip.yaml @@ -0,0 +1,258 @@ +apiVersion: v1 +kind: PodStatusResult +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 7 + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + ephemeralContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + extendedResourceClaimStatus: + requestMappings: + - containerName: containerNameValue + requestName: requestNameValue + resourceName: resourceNameValue + resourceClaimName: resourceClaimNameValue + hostIP: hostIPValue + hostIPs: + - ip: ipValue + initContainerStatuses: + - allocatedResources: + allocatedResourcesKey: "0" + allocatedResourcesStatus: + - name: nameValue + resources: + - health: healthValue + resourceID: resourceIDValue + containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + resources: + claims: + - name: nameValue + request: requestValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + stopSignal: stopSignalValue + user: + linux: + gid: 2 + supplementalGroups: + - 3 + uid: 1 + volumeMounts: + - mountPath: mountPathValue + name: nameValue + readOnly: true + recursiveReadOnly: recursiveReadOnlyValue + volumeStatus: {} + message: messageValue + nominatedNodeName: nominatedNodeNameValue + observedGeneration: 17 + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + resize: resizeValue + resourceClaimStatuses: + - name: nameValue + resourceClaimName: resourceClaimNameValue + startTime: "2007-01-01T01:01:01Z"