...

Text file src/k8s.io/api/testdata/v1.28.0/core.v1.PodTemplate.json

Documentation: k8s.io/api/testdata/v1.28.0

     1{
     2  "kind": "PodTemplate",
     3  "apiVersion": "v1",
     4  "metadata": {
     5    "name": "nameValue",
     6    "generateName": "generateNameValue",
     7    "namespace": "namespaceValue",
     8    "selfLink": "selfLinkValue",
     9    "uid": "uidValue",
    10    "resourceVersion": "resourceVersionValue",
    11    "generation": 7,
    12    "creationTimestamp": "2008-01-01T01:01:01Z",
    13    "deletionTimestamp": "2009-01-01T01:01:01Z",
    14    "deletionGracePeriodSeconds": 10,
    15    "labels": {
    16      "labelsKey": "labelsValue"
    17    },
    18    "annotations": {
    19      "annotationsKey": "annotationsValue"
    20    },
    21    "ownerReferences": [
    22      {
    23        "apiVersion": "apiVersionValue",
    24        "kind": "kindValue",
    25        "name": "nameValue",
    26        "uid": "uidValue",
    27        "controller": true,
    28        "blockOwnerDeletion": true
    29      }
    30    ],
    31    "finalizers": [
    32      "finalizersValue"
    33    ],
    34    "managedFields": [
    35      {
    36        "manager": "managerValue",
    37        "operation": "operationValue",
    38        "apiVersion": "apiVersionValue",
    39        "time": "2004-01-01T01:01:01Z",
    40        "fieldsType": "fieldsTypeValue",
    41        "fieldsV1": {},
    42        "subresource": "subresourceValue"
    43      }
    44    ]
    45  },
    46  "template": {
    47    "metadata": {
    48      "name": "nameValue",
    49      "generateName": "generateNameValue",
    50      "namespace": "namespaceValue",
    51      "selfLink": "selfLinkValue",
    52      "uid": "uidValue",
    53      "resourceVersion": "resourceVersionValue",
    54      "generation": 7,
    55      "creationTimestamp": "2008-01-01T01:01:01Z",
    56      "deletionTimestamp": "2009-01-01T01:01:01Z",
    57      "deletionGracePeriodSeconds": 10,
    58      "labels": {
    59        "labelsKey": "labelsValue"
    60      },
    61      "annotations": {
    62        "annotationsKey": "annotationsValue"
    63      },
    64      "ownerReferences": [
    65        {
    66          "apiVersion": "apiVersionValue",
    67          "kind": "kindValue",
    68          "name": "nameValue",
    69          "uid": "uidValue",
    70          "controller": true,
    71          "blockOwnerDeletion": true
    72        }
    73      ],
    74      "finalizers": [
    75        "finalizersValue"
    76      ],
    77      "managedFields": [
    78        {
    79          "manager": "managerValue",
    80          "operation": "operationValue",
    81          "apiVersion": "apiVersionValue",
    82          "time": "2004-01-01T01:01:01Z",
    83          "fieldsType": "fieldsTypeValue",
    84          "fieldsV1": {},
    85          "subresource": "subresourceValue"
    86        }
    87      ]
    88    },
    89    "spec": {
    90      "volumes": [
    91        {
    92          "name": "nameValue",
    93          "hostPath": {
    94            "path": "pathValue",
    95            "type": "typeValue"
    96          },
    97          "emptyDir": {
    98            "medium": "mediumValue",
    99            "sizeLimit": "0"
   100          },
   101          "gcePersistentDisk": {
   102            "pdName": "pdNameValue",
   103            "fsType": "fsTypeValue",
   104            "partition": 3,
   105            "readOnly": true
   106          },
   107          "awsElasticBlockStore": {
   108            "volumeID": "volumeIDValue",
   109            "fsType": "fsTypeValue",
   110            "partition": 3,
   111            "readOnly": true
   112          },
   113          "gitRepo": {
   114            "repository": "repositoryValue",
   115            "revision": "revisionValue",
   116            "directory": "directoryValue"
   117          },
   118          "secret": {
   119            "secretName": "secretNameValue",
   120            "items": [
   121              {
   122                "key": "keyValue",
   123                "path": "pathValue",
   124                "mode": 3
   125              }
   126            ],
   127            "defaultMode": 3,
   128            "optional": true
   129          },
   130          "nfs": {
   131            "server": "serverValue",
   132            "path": "pathValue",
   133            "readOnly": true
   134          },
   135          "iscsi": {
   136            "targetPortal": "targetPortalValue",
   137            "iqn": "iqnValue",
   138            "lun": 3,
   139            "iscsiInterface": "iscsiInterfaceValue",
   140            "fsType": "fsTypeValue",
   141            "readOnly": true,
   142            "portals": [
   143              "portalsValue"
   144            ],
   145            "chapAuthDiscovery": true,
   146            "chapAuthSession": true,
   147            "secretRef": {
   148              "name": "nameValue"
   149            },
   150            "initiatorName": "initiatorNameValue"
   151          },
   152          "glusterfs": {
   153            "endpoints": "endpointsValue",
   154            "path": "pathValue",
   155            "readOnly": true
   156          },
   157          "persistentVolumeClaim": {
   158            "claimName": "claimNameValue",
   159            "readOnly": true
   160          },
   161          "rbd": {
   162            "monitors": [
   163              "monitorsValue"
   164            ],
   165            "image": "imageValue",
   166            "fsType": "fsTypeValue",
   167            "pool": "poolValue",
   168            "user": "userValue",
   169            "keyring": "keyringValue",
   170            "secretRef": {
   171              "name": "nameValue"
   172            },
   173            "readOnly": true
   174          },
   175          "flexVolume": {
   176            "driver": "driverValue",
   177            "fsType": "fsTypeValue",
   178            "secretRef": {
   179              "name": "nameValue"
   180            },
   181            "readOnly": true,
   182            "options": {
   183              "optionsKey": "optionsValue"
   184            }
   185          },
   186          "cinder": {
   187            "volumeID": "volumeIDValue",
   188            "fsType": "fsTypeValue",
   189            "readOnly": true,
   190            "secretRef": {
   191              "name": "nameValue"
   192            }
   193          },
   194          "cephfs": {
   195            "monitors": [
   196              "monitorsValue"
   197            ],
   198            "path": "pathValue",
   199            "user": "userValue",
   200            "secretFile": "secretFileValue",
   201            "secretRef": {
   202              "name": "nameValue"
   203            },
   204            "readOnly": true
   205          },
   206          "flocker": {
   207            "datasetName": "datasetNameValue",
   208            "datasetUUID": "datasetUUIDValue"
   209          },
   210          "downwardAPI": {
   211            "items": [
   212              {
   213                "path": "pathValue",
   214                "fieldRef": {
   215                  "apiVersion": "apiVersionValue",
   216                  "fieldPath": "fieldPathValue"
   217                },
   218                "resourceFieldRef": {
   219                  "containerName": "containerNameValue",
   220                  "resource": "resourceValue",
   221                  "divisor": "0"
   222                },
   223                "mode": 4
   224              }
   225            ],
   226            "defaultMode": 2
   227          },
   228          "fc": {
   229            "targetWWNs": [
   230              "targetWWNsValue"
   231            ],
   232            "lun": 2,
   233            "fsType": "fsTypeValue",
   234            "readOnly": true,
   235            "wwids": [
   236              "wwidsValue"
   237            ]
   238          },
   239          "azureFile": {
   240            "secretName": "secretNameValue",
   241            "shareName": "shareNameValue",
   242            "readOnly": true
   243          },
   244          "configMap": {
   245            "name": "nameValue",
   246            "items": [
   247              {
   248                "key": "keyValue",
   249                "path": "pathValue",
   250                "mode": 3
   251              }
   252            ],
   253            "defaultMode": 3,
   254            "optional": true
   255          },
   256          "vsphereVolume": {
   257            "volumePath": "volumePathValue",
   258            "fsType": "fsTypeValue",
   259            "storagePolicyName": "storagePolicyNameValue",
   260            "storagePolicyID": "storagePolicyIDValue"
   261          },
   262          "quobyte": {
   263            "registry": "registryValue",
   264            "volume": "volumeValue",
   265            "readOnly": true,
   266            "user": "userValue",
   267            "group": "groupValue",
   268            "tenant": "tenantValue"
   269          },
   270          "azureDisk": {
   271            "diskName": "diskNameValue",
   272            "diskURI": "diskURIValue",
   273            "cachingMode": "cachingModeValue",
   274            "fsType": "fsTypeValue",
   275            "readOnly": true,
   276            "kind": "kindValue"
   277          },
   278          "photonPersistentDisk": {
   279            "pdID": "pdIDValue",
   280            "fsType": "fsTypeValue"
   281          },
   282          "projected": {
   283            "sources": [
   284              {
   285                "secret": {
   286                  "name": "nameValue",
   287                  "items": [
   288                    {
   289                      "key": "keyValue",
   290                      "path": "pathValue",
   291                      "mode": 3
   292                    }
   293                  ],
   294                  "optional": true
   295                },
   296                "downwardAPI": {
   297                  "items": [
   298                    {
   299                      "path": "pathValue",
   300                      "fieldRef": {
   301                        "apiVersion": "apiVersionValue",
   302                        "fieldPath": "fieldPathValue"
   303                      },
   304                      "resourceFieldRef": {
   305                        "containerName": "containerNameValue",
   306                        "resource": "resourceValue",
   307                        "divisor": "0"
   308                      },
   309                      "mode": 4
   310                    }
   311                  ]
   312                },
   313                "configMap": {
   314                  "name": "nameValue",
   315                  "items": [
   316                    {
   317                      "key": "keyValue",
   318                      "path": "pathValue",
   319                      "mode": 3
   320                    }
   321                  ],
   322                  "optional": true
   323                },
   324                "serviceAccountToken": {
   325                  "audience": "audienceValue",
   326                  "expirationSeconds": 2,
   327                  "path": "pathValue"
   328                }
   329              }
   330            ],
   331            "defaultMode": 2
   332          },
   333          "portworxVolume": {
   334            "volumeID": "volumeIDValue",
   335            "fsType": "fsTypeValue",
   336            "readOnly": true
   337          },
   338          "scaleIO": {
   339            "gateway": "gatewayValue",
   340            "system": "systemValue",
   341            "secretRef": {
   342              "name": "nameValue"
   343            },
   344            "sslEnabled": true,
   345            "protectionDomain": "protectionDomainValue",
   346            "storagePool": "storagePoolValue",
   347            "storageMode": "storageModeValue",
   348            "volumeName": "volumeNameValue",
   349            "fsType": "fsTypeValue",
   350            "readOnly": true
   351          },
   352          "storageos": {
   353            "volumeName": "volumeNameValue",
   354            "volumeNamespace": "volumeNamespaceValue",
   355            "fsType": "fsTypeValue",
   356            "readOnly": true,
   357            "secretRef": {
   358              "name": "nameValue"
   359            }
   360          },
   361          "csi": {
   362            "driver": "driverValue",
   363            "readOnly": true,
   364            "fsType": "fsTypeValue",
   365            "volumeAttributes": {
   366              "volumeAttributesKey": "volumeAttributesValue"
   367            },
   368            "nodePublishSecretRef": {
   369              "name": "nameValue"
   370            }
   371          },
   372          "ephemeral": {
   373            "volumeClaimTemplate": {
   374              "metadata": {
   375                "name": "nameValue",
   376                "generateName": "generateNameValue",
   377                "namespace": "namespaceValue",
   378                "selfLink": "selfLinkValue",
   379                "uid": "uidValue",
   380                "resourceVersion": "resourceVersionValue",
   381                "generation": 7,
   382                "creationTimestamp": "2008-01-01T01:01:01Z",
   383                "deletionTimestamp": "2009-01-01T01:01:01Z",
   384                "deletionGracePeriodSeconds": 10,
   385                "labels": {
   386                  "labelsKey": "labelsValue"
   387                },
   388                "annotations": {
   389                  "annotationsKey": "annotationsValue"
   390                },
   391                "ownerReferences": [
   392                  {
   393                    "apiVersion": "apiVersionValue",
   394                    "kind": "kindValue",
   395                    "name": "nameValue",
   396                    "uid": "uidValue",
   397                    "controller": true,
   398                    "blockOwnerDeletion": true
   399                  }
   400                ],
   401                "finalizers": [
   402                  "finalizersValue"
   403                ],
   404                "managedFields": [
   405                  {
   406                    "manager": "managerValue",
   407                    "operation": "operationValue",
   408                    "apiVersion": "apiVersionValue",
   409                    "time": "2004-01-01T01:01:01Z",
   410                    "fieldsType": "fieldsTypeValue",
   411                    "fieldsV1": {},
   412                    "subresource": "subresourceValue"
   413                  }
   414                ]
   415              },
   416              "spec": {
   417                "accessModes": [
   418                  "accessModesValue"
   419                ],
   420                "selector": {
   421                  "matchLabels": {
   422                    "matchLabelsKey": "matchLabelsValue"
   423                  },
   424                  "matchExpressions": [
   425                    {
   426                      "key": "keyValue",
   427                      "operator": "operatorValue",
   428                      "values": [
   429                        "valuesValue"
   430                      ]
   431                    }
   432                  ]
   433                },
   434                "resources": {
   435                  "limits": {
   436                    "limitsKey": "0"
   437                  },
   438                  "requests": {
   439                    "requestsKey": "0"
   440                  },
   441                  "claims": [
   442                    {
   443                      "name": "nameValue"
   444                    }
   445                  ]
   446                },
   447                "volumeName": "volumeNameValue",
   448                "storageClassName": "storageClassNameValue",
   449                "volumeMode": "volumeModeValue",
   450                "dataSource": {
   451                  "apiGroup": "apiGroupValue",
   452                  "kind": "kindValue",
   453                  "name": "nameValue"
   454                },
   455                "dataSourceRef": {
   456                  "apiGroup": "apiGroupValue",
   457                  "kind": "kindValue",
   458                  "name": "nameValue",
   459                  "namespace": "namespaceValue"
   460                }
   461              }
   462            }
   463          }
   464        }
   465      ],
   466      "initContainers": [
   467        {
   468          "name": "nameValue",
   469          "image": "imageValue",
   470          "command": [
   471            "commandValue"
   472          ],
   473          "args": [
   474            "argsValue"
   475          ],
   476          "workingDir": "workingDirValue",
   477          "ports": [
   478            {
   479              "name": "nameValue",
   480              "hostPort": 2,
   481              "containerPort": 3,
   482              "protocol": "protocolValue",
   483              "hostIP": "hostIPValue"
   484            }
   485          ],
   486          "envFrom": [
   487            {
   488              "prefix": "prefixValue",
   489              "configMapRef": {
   490                "name": "nameValue",
   491                "optional": true
   492              },
   493              "secretRef": {
   494                "name": "nameValue",
   495                "optional": true
   496              }
   497            }
   498          ],
   499          "env": [
   500            {
   501              "name": "nameValue",
   502              "value": "valueValue",
   503              "valueFrom": {
   504                "fieldRef": {
   505                  "apiVersion": "apiVersionValue",
   506                  "fieldPath": "fieldPathValue"
   507                },
   508                "resourceFieldRef": {
   509                  "containerName": "containerNameValue",
   510                  "resource": "resourceValue",
   511                  "divisor": "0"
   512                },
   513                "configMapKeyRef": {
   514                  "name": "nameValue",
   515                  "key": "keyValue",
   516                  "optional": true
   517                },
   518                "secretKeyRef": {
   519                  "name": "nameValue",
   520                  "key": "keyValue",
   521                  "optional": true
   522                }
   523              }
   524            }
   525          ],
   526          "resources": {
   527            "limits": {
   528              "limitsKey": "0"
   529            },
   530            "requests": {
   531              "requestsKey": "0"
   532            },
   533            "claims": [
   534              {
   535                "name": "nameValue"
   536              }
   537            ]
   538          },
   539          "resizePolicy": [
   540            {
   541              "resourceName": "resourceNameValue",
   542              "restartPolicy": "restartPolicyValue"
   543            }
   544          ],
   545          "restartPolicy": "restartPolicyValue",
   546          "volumeMounts": [
   547            {
   548              "name": "nameValue",
   549              "readOnly": true,
   550              "mountPath": "mountPathValue",
   551              "subPath": "subPathValue",
   552              "mountPropagation": "mountPropagationValue",
   553              "subPathExpr": "subPathExprValue"
   554            }
   555          ],
   556          "volumeDevices": [
   557            {
   558              "name": "nameValue",
   559              "devicePath": "devicePathValue"
   560            }
   561          ],
   562          "livenessProbe": {
   563            "exec": {
   564              "command": [
   565                "commandValue"
   566              ]
   567            },
   568            "httpGet": {
   569              "path": "pathValue",
   570              "port": "portValue",
   571              "host": "hostValue",
   572              "scheme": "schemeValue",
   573              "httpHeaders": [
   574                {
   575                  "name": "nameValue",
   576                  "value": "valueValue"
   577                }
   578              ]
   579            },
   580            "tcpSocket": {
   581              "port": "portValue",
   582              "host": "hostValue"
   583            },
   584            "grpc": {
   585              "port": 1,
   586              "service": "serviceValue"
   587            },
   588            "initialDelaySeconds": 2,
   589            "timeoutSeconds": 3,
   590            "periodSeconds": 4,
   591            "successThreshold": 5,
   592            "failureThreshold": 6,
   593            "terminationGracePeriodSeconds": 7
   594          },
   595          "readinessProbe": {
   596            "exec": {
   597              "command": [
   598                "commandValue"
   599              ]
   600            },
   601            "httpGet": {
   602              "path": "pathValue",
   603              "port": "portValue",
   604              "host": "hostValue",
   605              "scheme": "schemeValue",
   606              "httpHeaders": [
   607                {
   608                  "name": "nameValue",
   609                  "value": "valueValue"
   610                }
   611              ]
   612            },
   613            "tcpSocket": {
   614              "port": "portValue",
   615              "host": "hostValue"
   616            },
   617            "grpc": {
   618              "port": 1,
   619              "service": "serviceValue"
   620            },
   621            "initialDelaySeconds": 2,
   622            "timeoutSeconds": 3,
   623            "periodSeconds": 4,
   624            "successThreshold": 5,
   625            "failureThreshold": 6,
   626            "terminationGracePeriodSeconds": 7
   627          },
   628          "startupProbe": {
   629            "exec": {
   630              "command": [
   631                "commandValue"
   632              ]
   633            },
   634            "httpGet": {
   635              "path": "pathValue",
   636              "port": "portValue",
   637              "host": "hostValue",
   638              "scheme": "schemeValue",
   639              "httpHeaders": [
   640                {
   641                  "name": "nameValue",
   642                  "value": "valueValue"
   643                }
   644              ]
   645            },
   646            "tcpSocket": {
   647              "port": "portValue",
   648              "host": "hostValue"
   649            },
   650            "grpc": {
   651              "port": 1,
   652              "service": "serviceValue"
   653            },
   654            "initialDelaySeconds": 2,
   655            "timeoutSeconds": 3,
   656            "periodSeconds": 4,
   657            "successThreshold": 5,
   658            "failureThreshold": 6,
   659            "terminationGracePeriodSeconds": 7
   660          },
   661          "lifecycle": {
   662            "postStart": {
   663              "exec": {
   664                "command": [
   665                  "commandValue"
   666                ]
   667              },
   668              "httpGet": {
   669                "path": "pathValue",
   670                "port": "portValue",
   671                "host": "hostValue",
   672                "scheme": "schemeValue",
   673                "httpHeaders": [
   674                  {
   675                    "name": "nameValue",
   676                    "value": "valueValue"
   677                  }
   678                ]
   679              },
   680              "tcpSocket": {
   681                "port": "portValue",
   682                "host": "hostValue"
   683              }
   684            },
   685            "preStop": {
   686              "exec": {
   687                "command": [
   688                  "commandValue"
   689                ]
   690              },
   691              "httpGet": {
   692                "path": "pathValue",
   693                "port": "portValue",
   694                "host": "hostValue",
   695                "scheme": "schemeValue",
   696                "httpHeaders": [
   697                  {
   698                    "name": "nameValue",
   699                    "value": "valueValue"
   700                  }
   701                ]
   702              },
   703              "tcpSocket": {
   704                "port": "portValue",
   705                "host": "hostValue"
   706              }
   707            }
   708          },
   709          "terminationMessagePath": "terminationMessagePathValue",
   710          "terminationMessagePolicy": "terminationMessagePolicyValue",
   711          "imagePullPolicy": "imagePullPolicyValue",
   712          "securityContext": {
   713            "capabilities": {
   714              "add": [
   715                "addValue"
   716              ],
   717              "drop": [
   718                "dropValue"
   719              ]
   720            },
   721            "privileged": true,
   722            "seLinuxOptions": {
   723              "user": "userValue",
   724              "role": "roleValue",
   725              "type": "typeValue",
   726              "level": "levelValue"
   727            },
   728            "windowsOptions": {
   729              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
   730              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
   731              "runAsUserName": "runAsUserNameValue",
   732              "hostProcess": true
   733            },
   734            "runAsUser": 4,
   735            "runAsGroup": 8,
   736            "runAsNonRoot": true,
   737            "readOnlyRootFilesystem": true,
   738            "allowPrivilegeEscalation": true,
   739            "procMount": "procMountValue",
   740            "seccompProfile": {
   741              "type": "typeValue",
   742              "localhostProfile": "localhostProfileValue"
   743            }
   744          },
   745          "stdin": true,
   746          "stdinOnce": true,
   747          "tty": true
   748        }
   749      ],
   750      "containers": [
   751        {
   752          "name": "nameValue",
   753          "image": "imageValue",
   754          "command": [
   755            "commandValue"
   756          ],
   757          "args": [
   758            "argsValue"
   759          ],
   760          "workingDir": "workingDirValue",
   761          "ports": [
   762            {
   763              "name": "nameValue",
   764              "hostPort": 2,
   765              "containerPort": 3,
   766              "protocol": "protocolValue",
   767              "hostIP": "hostIPValue"
   768            }
   769          ],
   770          "envFrom": [
   771            {
   772              "prefix": "prefixValue",
   773              "configMapRef": {
   774                "name": "nameValue",
   775                "optional": true
   776              },
   777              "secretRef": {
   778                "name": "nameValue",
   779                "optional": true
   780              }
   781            }
   782          ],
   783          "env": [
   784            {
   785              "name": "nameValue",
   786              "value": "valueValue",
   787              "valueFrom": {
   788                "fieldRef": {
   789                  "apiVersion": "apiVersionValue",
   790                  "fieldPath": "fieldPathValue"
   791                },
   792                "resourceFieldRef": {
   793                  "containerName": "containerNameValue",
   794                  "resource": "resourceValue",
   795                  "divisor": "0"
   796                },
   797                "configMapKeyRef": {
   798                  "name": "nameValue",
   799                  "key": "keyValue",
   800                  "optional": true
   801                },
   802                "secretKeyRef": {
   803                  "name": "nameValue",
   804                  "key": "keyValue",
   805                  "optional": true
   806                }
   807              }
   808            }
   809          ],
   810          "resources": {
   811            "limits": {
   812              "limitsKey": "0"
   813            },
   814            "requests": {
   815              "requestsKey": "0"
   816            },
   817            "claims": [
   818              {
   819                "name": "nameValue"
   820              }
   821            ]
   822          },
   823          "resizePolicy": [
   824            {
   825              "resourceName": "resourceNameValue",
   826              "restartPolicy": "restartPolicyValue"
   827            }
   828          ],
   829          "restartPolicy": "restartPolicyValue",
   830          "volumeMounts": [
   831            {
   832              "name": "nameValue",
   833              "readOnly": true,
   834              "mountPath": "mountPathValue",
   835              "subPath": "subPathValue",
   836              "mountPropagation": "mountPropagationValue",
   837              "subPathExpr": "subPathExprValue"
   838            }
   839          ],
   840          "volumeDevices": [
   841            {
   842              "name": "nameValue",
   843              "devicePath": "devicePathValue"
   844            }
   845          ],
   846          "livenessProbe": {
   847            "exec": {
   848              "command": [
   849                "commandValue"
   850              ]
   851            },
   852            "httpGet": {
   853              "path": "pathValue",
   854              "port": "portValue",
   855              "host": "hostValue",
   856              "scheme": "schemeValue",
   857              "httpHeaders": [
   858                {
   859                  "name": "nameValue",
   860                  "value": "valueValue"
   861                }
   862              ]
   863            },
   864            "tcpSocket": {
   865              "port": "portValue",
   866              "host": "hostValue"
   867            },
   868            "grpc": {
   869              "port": 1,
   870              "service": "serviceValue"
   871            },
   872            "initialDelaySeconds": 2,
   873            "timeoutSeconds": 3,
   874            "periodSeconds": 4,
   875            "successThreshold": 5,
   876            "failureThreshold": 6,
   877            "terminationGracePeriodSeconds": 7
   878          },
   879          "readinessProbe": {
   880            "exec": {
   881              "command": [
   882                "commandValue"
   883              ]
   884            },
   885            "httpGet": {
   886              "path": "pathValue",
   887              "port": "portValue",
   888              "host": "hostValue",
   889              "scheme": "schemeValue",
   890              "httpHeaders": [
   891                {
   892                  "name": "nameValue",
   893                  "value": "valueValue"
   894                }
   895              ]
   896            },
   897            "tcpSocket": {
   898              "port": "portValue",
   899              "host": "hostValue"
   900            },
   901            "grpc": {
   902              "port": 1,
   903              "service": "serviceValue"
   904            },
   905            "initialDelaySeconds": 2,
   906            "timeoutSeconds": 3,
   907            "periodSeconds": 4,
   908            "successThreshold": 5,
   909            "failureThreshold": 6,
   910            "terminationGracePeriodSeconds": 7
   911          },
   912          "startupProbe": {
   913            "exec": {
   914              "command": [
   915                "commandValue"
   916              ]
   917            },
   918            "httpGet": {
   919              "path": "pathValue",
   920              "port": "portValue",
   921              "host": "hostValue",
   922              "scheme": "schemeValue",
   923              "httpHeaders": [
   924                {
   925                  "name": "nameValue",
   926                  "value": "valueValue"
   927                }
   928              ]
   929            },
   930            "tcpSocket": {
   931              "port": "portValue",
   932              "host": "hostValue"
   933            },
   934            "grpc": {
   935              "port": 1,
   936              "service": "serviceValue"
   937            },
   938            "initialDelaySeconds": 2,
   939            "timeoutSeconds": 3,
   940            "periodSeconds": 4,
   941            "successThreshold": 5,
   942            "failureThreshold": 6,
   943            "terminationGracePeriodSeconds": 7
   944          },
   945          "lifecycle": {
   946            "postStart": {
   947              "exec": {
   948                "command": [
   949                  "commandValue"
   950                ]
   951              },
   952              "httpGet": {
   953                "path": "pathValue",
   954                "port": "portValue",
   955                "host": "hostValue",
   956                "scheme": "schemeValue",
   957                "httpHeaders": [
   958                  {
   959                    "name": "nameValue",
   960                    "value": "valueValue"
   961                  }
   962                ]
   963              },
   964              "tcpSocket": {
   965                "port": "portValue",
   966                "host": "hostValue"
   967              }
   968            },
   969            "preStop": {
   970              "exec": {
   971                "command": [
   972                  "commandValue"
   973                ]
   974              },
   975              "httpGet": {
   976                "path": "pathValue",
   977                "port": "portValue",
   978                "host": "hostValue",
   979                "scheme": "schemeValue",
   980                "httpHeaders": [
   981                  {
   982                    "name": "nameValue",
   983                    "value": "valueValue"
   984                  }
   985                ]
   986              },
   987              "tcpSocket": {
   988                "port": "portValue",
   989                "host": "hostValue"
   990              }
   991            }
   992          },
   993          "terminationMessagePath": "terminationMessagePathValue",
   994          "terminationMessagePolicy": "terminationMessagePolicyValue",
   995          "imagePullPolicy": "imagePullPolicyValue",
   996          "securityContext": {
   997            "capabilities": {
   998              "add": [
   999                "addValue"
  1000              ],
  1001              "drop": [
  1002                "dropValue"
  1003              ]
  1004            },
  1005            "privileged": true,
  1006            "seLinuxOptions": {
  1007              "user": "userValue",
  1008              "role": "roleValue",
  1009              "type": "typeValue",
  1010              "level": "levelValue"
  1011            },
  1012            "windowsOptions": {
  1013              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1014              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1015              "runAsUserName": "runAsUserNameValue",
  1016              "hostProcess": true
  1017            },
  1018            "runAsUser": 4,
  1019            "runAsGroup": 8,
  1020            "runAsNonRoot": true,
  1021            "readOnlyRootFilesystem": true,
  1022            "allowPrivilegeEscalation": true,
  1023            "procMount": "procMountValue",
  1024            "seccompProfile": {
  1025              "type": "typeValue",
  1026              "localhostProfile": "localhostProfileValue"
  1027            }
  1028          },
  1029          "stdin": true,
  1030          "stdinOnce": true,
  1031          "tty": true
  1032        }
  1033      ],
  1034      "ephemeralContainers": [
  1035        {
  1036          "name": "nameValue",
  1037          "image": "imageValue",
  1038          "command": [
  1039            "commandValue"
  1040          ],
  1041          "args": [
  1042            "argsValue"
  1043          ],
  1044          "workingDir": "workingDirValue",
  1045          "ports": [
  1046            {
  1047              "name": "nameValue",
  1048              "hostPort": 2,
  1049              "containerPort": 3,
  1050              "protocol": "protocolValue",
  1051              "hostIP": "hostIPValue"
  1052            }
  1053          ],
  1054          "envFrom": [
  1055            {
  1056              "prefix": "prefixValue",
  1057              "configMapRef": {
  1058                "name": "nameValue",
  1059                "optional": true
  1060              },
  1061              "secretRef": {
  1062                "name": "nameValue",
  1063                "optional": true
  1064              }
  1065            }
  1066          ],
  1067          "env": [
  1068            {
  1069              "name": "nameValue",
  1070              "value": "valueValue",
  1071              "valueFrom": {
  1072                "fieldRef": {
  1073                  "apiVersion": "apiVersionValue",
  1074                  "fieldPath": "fieldPathValue"
  1075                },
  1076                "resourceFieldRef": {
  1077                  "containerName": "containerNameValue",
  1078                  "resource": "resourceValue",
  1079                  "divisor": "0"
  1080                },
  1081                "configMapKeyRef": {
  1082                  "name": "nameValue",
  1083                  "key": "keyValue",
  1084                  "optional": true
  1085                },
  1086                "secretKeyRef": {
  1087                  "name": "nameValue",
  1088                  "key": "keyValue",
  1089                  "optional": true
  1090                }
  1091              }
  1092            }
  1093          ],
  1094          "resources": {
  1095            "limits": {
  1096              "limitsKey": "0"
  1097            },
  1098            "requests": {
  1099              "requestsKey": "0"
  1100            },
  1101            "claims": [
  1102              {
  1103                "name": "nameValue"
  1104              }
  1105            ]
  1106          },
  1107          "resizePolicy": [
  1108            {
  1109              "resourceName": "resourceNameValue",
  1110              "restartPolicy": "restartPolicyValue"
  1111            }
  1112          ],
  1113          "restartPolicy": "restartPolicyValue",
  1114          "volumeMounts": [
  1115            {
  1116              "name": "nameValue",
  1117              "readOnly": true,
  1118              "mountPath": "mountPathValue",
  1119              "subPath": "subPathValue",
  1120              "mountPropagation": "mountPropagationValue",
  1121              "subPathExpr": "subPathExprValue"
  1122            }
  1123          ],
  1124          "volumeDevices": [
  1125            {
  1126              "name": "nameValue",
  1127              "devicePath": "devicePathValue"
  1128            }
  1129          ],
  1130          "livenessProbe": {
  1131            "exec": {
  1132              "command": [
  1133                "commandValue"
  1134              ]
  1135            },
  1136            "httpGet": {
  1137              "path": "pathValue",
  1138              "port": "portValue",
  1139              "host": "hostValue",
  1140              "scheme": "schemeValue",
  1141              "httpHeaders": [
  1142                {
  1143                  "name": "nameValue",
  1144                  "value": "valueValue"
  1145                }
  1146              ]
  1147            },
  1148            "tcpSocket": {
  1149              "port": "portValue",
  1150              "host": "hostValue"
  1151            },
  1152            "grpc": {
  1153              "port": 1,
  1154              "service": "serviceValue"
  1155            },
  1156            "initialDelaySeconds": 2,
  1157            "timeoutSeconds": 3,
  1158            "periodSeconds": 4,
  1159            "successThreshold": 5,
  1160            "failureThreshold": 6,
  1161            "terminationGracePeriodSeconds": 7
  1162          },
  1163          "readinessProbe": {
  1164            "exec": {
  1165              "command": [
  1166                "commandValue"
  1167              ]
  1168            },
  1169            "httpGet": {
  1170              "path": "pathValue",
  1171              "port": "portValue",
  1172              "host": "hostValue",
  1173              "scheme": "schemeValue",
  1174              "httpHeaders": [
  1175                {
  1176                  "name": "nameValue",
  1177                  "value": "valueValue"
  1178                }
  1179              ]
  1180            },
  1181            "tcpSocket": {
  1182              "port": "portValue",
  1183              "host": "hostValue"
  1184            },
  1185            "grpc": {
  1186              "port": 1,
  1187              "service": "serviceValue"
  1188            },
  1189            "initialDelaySeconds": 2,
  1190            "timeoutSeconds": 3,
  1191            "periodSeconds": 4,
  1192            "successThreshold": 5,
  1193            "failureThreshold": 6,
  1194            "terminationGracePeriodSeconds": 7
  1195          },
  1196          "startupProbe": {
  1197            "exec": {
  1198              "command": [
  1199                "commandValue"
  1200              ]
  1201            },
  1202            "httpGet": {
  1203              "path": "pathValue",
  1204              "port": "portValue",
  1205              "host": "hostValue",
  1206              "scheme": "schemeValue",
  1207              "httpHeaders": [
  1208                {
  1209                  "name": "nameValue",
  1210                  "value": "valueValue"
  1211                }
  1212              ]
  1213            },
  1214            "tcpSocket": {
  1215              "port": "portValue",
  1216              "host": "hostValue"
  1217            },
  1218            "grpc": {
  1219              "port": 1,
  1220              "service": "serviceValue"
  1221            },
  1222            "initialDelaySeconds": 2,
  1223            "timeoutSeconds": 3,
  1224            "periodSeconds": 4,
  1225            "successThreshold": 5,
  1226            "failureThreshold": 6,
  1227            "terminationGracePeriodSeconds": 7
  1228          },
  1229          "lifecycle": {
  1230            "postStart": {
  1231              "exec": {
  1232                "command": [
  1233                  "commandValue"
  1234                ]
  1235              },
  1236              "httpGet": {
  1237                "path": "pathValue",
  1238                "port": "portValue",
  1239                "host": "hostValue",
  1240                "scheme": "schemeValue",
  1241                "httpHeaders": [
  1242                  {
  1243                    "name": "nameValue",
  1244                    "value": "valueValue"
  1245                  }
  1246                ]
  1247              },
  1248              "tcpSocket": {
  1249                "port": "portValue",
  1250                "host": "hostValue"
  1251              }
  1252            },
  1253            "preStop": {
  1254              "exec": {
  1255                "command": [
  1256                  "commandValue"
  1257                ]
  1258              },
  1259              "httpGet": {
  1260                "path": "pathValue",
  1261                "port": "portValue",
  1262                "host": "hostValue",
  1263                "scheme": "schemeValue",
  1264                "httpHeaders": [
  1265                  {
  1266                    "name": "nameValue",
  1267                    "value": "valueValue"
  1268                  }
  1269                ]
  1270              },
  1271              "tcpSocket": {
  1272                "port": "portValue",
  1273                "host": "hostValue"
  1274              }
  1275            }
  1276          },
  1277          "terminationMessagePath": "terminationMessagePathValue",
  1278          "terminationMessagePolicy": "terminationMessagePolicyValue",
  1279          "imagePullPolicy": "imagePullPolicyValue",
  1280          "securityContext": {
  1281            "capabilities": {
  1282              "add": [
  1283                "addValue"
  1284              ],
  1285              "drop": [
  1286                "dropValue"
  1287              ]
  1288            },
  1289            "privileged": true,
  1290            "seLinuxOptions": {
  1291              "user": "userValue",
  1292              "role": "roleValue",
  1293              "type": "typeValue",
  1294              "level": "levelValue"
  1295            },
  1296            "windowsOptions": {
  1297              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1298              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1299              "runAsUserName": "runAsUserNameValue",
  1300              "hostProcess": true
  1301            },
  1302            "runAsUser": 4,
  1303            "runAsGroup": 8,
  1304            "runAsNonRoot": true,
  1305            "readOnlyRootFilesystem": true,
  1306            "allowPrivilegeEscalation": true,
  1307            "procMount": "procMountValue",
  1308            "seccompProfile": {
  1309              "type": "typeValue",
  1310              "localhostProfile": "localhostProfileValue"
  1311            }
  1312          },
  1313          "stdin": true,
  1314          "stdinOnce": true,
  1315          "tty": true,
  1316          "targetContainerName": "targetContainerNameValue"
  1317        }
  1318      ],
  1319      "restartPolicy": "restartPolicyValue",
  1320      "terminationGracePeriodSeconds": 4,
  1321      "activeDeadlineSeconds": 5,
  1322      "dnsPolicy": "dnsPolicyValue",
  1323      "nodeSelector": {
  1324        "nodeSelectorKey": "nodeSelectorValue"
  1325      },
  1326      "serviceAccountName": "serviceAccountNameValue",
  1327      "serviceAccount": "serviceAccountValue",
  1328      "automountServiceAccountToken": true,
  1329      "nodeName": "nodeNameValue",
  1330      "hostNetwork": true,
  1331      "hostPID": true,
  1332      "hostIPC": true,
  1333      "shareProcessNamespace": true,
  1334      "securityContext": {
  1335        "seLinuxOptions": {
  1336          "user": "userValue",
  1337          "role": "roleValue",
  1338          "type": "typeValue",
  1339          "level": "levelValue"
  1340        },
  1341        "windowsOptions": {
  1342          "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1343          "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1344          "runAsUserName": "runAsUserNameValue",
  1345          "hostProcess": true
  1346        },
  1347        "runAsUser": 2,
  1348        "runAsGroup": 6,
  1349        "runAsNonRoot": true,
  1350        "supplementalGroups": [
  1351          4
  1352        ],
  1353        "fsGroup": 5,
  1354        "sysctls": [
  1355          {
  1356            "name": "nameValue",
  1357            "value": "valueValue"
  1358          }
  1359        ],
  1360        "fsGroupChangePolicy": "fsGroupChangePolicyValue",
  1361        "seccompProfile": {
  1362          "type": "typeValue",
  1363          "localhostProfile": "localhostProfileValue"
  1364        }
  1365      },
  1366      "imagePullSecrets": [
  1367        {
  1368          "name": "nameValue"
  1369        }
  1370      ],
  1371      "hostname": "hostnameValue",
  1372      "subdomain": "subdomainValue",
  1373      "affinity": {
  1374        "nodeAffinity": {
  1375          "requiredDuringSchedulingIgnoredDuringExecution": {
  1376            "nodeSelectorTerms": [
  1377              {
  1378                "matchExpressions": [
  1379                  {
  1380                    "key": "keyValue",
  1381                    "operator": "operatorValue",
  1382                    "values": [
  1383                      "valuesValue"
  1384                    ]
  1385                  }
  1386                ],
  1387                "matchFields": [
  1388                  {
  1389                    "key": "keyValue",
  1390                    "operator": "operatorValue",
  1391                    "values": [
  1392                      "valuesValue"
  1393                    ]
  1394                  }
  1395                ]
  1396              }
  1397            ]
  1398          },
  1399          "preferredDuringSchedulingIgnoredDuringExecution": [
  1400            {
  1401              "weight": 1,
  1402              "preference": {
  1403                "matchExpressions": [
  1404                  {
  1405                    "key": "keyValue",
  1406                    "operator": "operatorValue",
  1407                    "values": [
  1408                      "valuesValue"
  1409                    ]
  1410                  }
  1411                ],
  1412                "matchFields": [
  1413                  {
  1414                    "key": "keyValue",
  1415                    "operator": "operatorValue",
  1416                    "values": [
  1417                      "valuesValue"
  1418                    ]
  1419                  }
  1420                ]
  1421              }
  1422            }
  1423          ]
  1424        },
  1425        "podAffinity": {
  1426          "requiredDuringSchedulingIgnoredDuringExecution": [
  1427            {
  1428              "labelSelector": {
  1429                "matchLabels": {
  1430                  "matchLabelsKey": "matchLabelsValue"
  1431                },
  1432                "matchExpressions": [
  1433                  {
  1434                    "key": "keyValue",
  1435                    "operator": "operatorValue",
  1436                    "values": [
  1437                      "valuesValue"
  1438                    ]
  1439                  }
  1440                ]
  1441              },
  1442              "namespaces": [
  1443                "namespacesValue"
  1444              ],
  1445              "topologyKey": "topologyKeyValue",
  1446              "namespaceSelector": {
  1447                "matchLabels": {
  1448                  "matchLabelsKey": "matchLabelsValue"
  1449                },
  1450                "matchExpressions": [
  1451                  {
  1452                    "key": "keyValue",
  1453                    "operator": "operatorValue",
  1454                    "values": [
  1455                      "valuesValue"
  1456                    ]
  1457                  }
  1458                ]
  1459              }
  1460            }
  1461          ],
  1462          "preferredDuringSchedulingIgnoredDuringExecution": [
  1463            {
  1464              "weight": 1,
  1465              "podAffinityTerm": {
  1466                "labelSelector": {
  1467                  "matchLabels": {
  1468                    "matchLabelsKey": "matchLabelsValue"
  1469                  },
  1470                  "matchExpressions": [
  1471                    {
  1472                      "key": "keyValue",
  1473                      "operator": "operatorValue",
  1474                      "values": [
  1475                        "valuesValue"
  1476                      ]
  1477                    }
  1478                  ]
  1479                },
  1480                "namespaces": [
  1481                  "namespacesValue"
  1482                ],
  1483                "topologyKey": "topologyKeyValue",
  1484                "namespaceSelector": {
  1485                  "matchLabels": {
  1486                    "matchLabelsKey": "matchLabelsValue"
  1487                  },
  1488                  "matchExpressions": [
  1489                    {
  1490                      "key": "keyValue",
  1491                      "operator": "operatorValue",
  1492                      "values": [
  1493                        "valuesValue"
  1494                      ]
  1495                    }
  1496                  ]
  1497                }
  1498              }
  1499            }
  1500          ]
  1501        },
  1502        "podAntiAffinity": {
  1503          "requiredDuringSchedulingIgnoredDuringExecution": [
  1504            {
  1505              "labelSelector": {
  1506                "matchLabels": {
  1507                  "matchLabelsKey": "matchLabelsValue"
  1508                },
  1509                "matchExpressions": [
  1510                  {
  1511                    "key": "keyValue",
  1512                    "operator": "operatorValue",
  1513                    "values": [
  1514                      "valuesValue"
  1515                    ]
  1516                  }
  1517                ]
  1518              },
  1519              "namespaces": [
  1520                "namespacesValue"
  1521              ],
  1522              "topologyKey": "topologyKeyValue",
  1523              "namespaceSelector": {
  1524                "matchLabels": {
  1525                  "matchLabelsKey": "matchLabelsValue"
  1526                },
  1527                "matchExpressions": [
  1528                  {
  1529                    "key": "keyValue",
  1530                    "operator": "operatorValue",
  1531                    "values": [
  1532                      "valuesValue"
  1533                    ]
  1534                  }
  1535                ]
  1536              }
  1537            }
  1538          ],
  1539          "preferredDuringSchedulingIgnoredDuringExecution": [
  1540            {
  1541              "weight": 1,
  1542              "podAffinityTerm": {
  1543                "labelSelector": {
  1544                  "matchLabels": {
  1545                    "matchLabelsKey": "matchLabelsValue"
  1546                  },
  1547                  "matchExpressions": [
  1548                    {
  1549                      "key": "keyValue",
  1550                      "operator": "operatorValue",
  1551                      "values": [
  1552                        "valuesValue"
  1553                      ]
  1554                    }
  1555                  ]
  1556                },
  1557                "namespaces": [
  1558                  "namespacesValue"
  1559                ],
  1560                "topologyKey": "topologyKeyValue",
  1561                "namespaceSelector": {
  1562                  "matchLabels": {
  1563                    "matchLabelsKey": "matchLabelsValue"
  1564                  },
  1565                  "matchExpressions": [
  1566                    {
  1567                      "key": "keyValue",
  1568                      "operator": "operatorValue",
  1569                      "values": [
  1570                        "valuesValue"
  1571                      ]
  1572                    }
  1573                  ]
  1574                }
  1575              }
  1576            }
  1577          ]
  1578        }
  1579      },
  1580      "schedulerName": "schedulerNameValue",
  1581      "tolerations": [
  1582        {
  1583          "key": "keyValue",
  1584          "operator": "operatorValue",
  1585          "value": "valueValue",
  1586          "effect": "effectValue",
  1587          "tolerationSeconds": 5
  1588        }
  1589      ],
  1590      "hostAliases": [
  1591        {
  1592          "ip": "ipValue",
  1593          "hostnames": [
  1594            "hostnamesValue"
  1595          ]
  1596        }
  1597      ],
  1598      "priorityClassName": "priorityClassNameValue",
  1599      "priority": 25,
  1600      "dnsConfig": {
  1601        "nameservers": [
  1602          "nameserversValue"
  1603        ],
  1604        "searches": [
  1605          "searchesValue"
  1606        ],
  1607        "options": [
  1608          {
  1609            "name": "nameValue",
  1610            "value": "valueValue"
  1611          }
  1612        ]
  1613      },
  1614      "readinessGates": [
  1615        {
  1616          "conditionType": "conditionTypeValue"
  1617        }
  1618      ],
  1619      "runtimeClassName": "runtimeClassNameValue",
  1620      "enableServiceLinks": true,
  1621      "preemptionPolicy": "preemptionPolicyValue",
  1622      "overhead": {
  1623        "overheadKey": "0"
  1624      },
  1625      "topologySpreadConstraints": [
  1626        {
  1627          "maxSkew": 1,
  1628          "topologyKey": "topologyKeyValue",
  1629          "whenUnsatisfiable": "whenUnsatisfiableValue",
  1630          "labelSelector": {
  1631            "matchLabels": {
  1632              "matchLabelsKey": "matchLabelsValue"
  1633            },
  1634            "matchExpressions": [
  1635              {
  1636                "key": "keyValue",
  1637                "operator": "operatorValue",
  1638                "values": [
  1639                  "valuesValue"
  1640                ]
  1641              }
  1642            ]
  1643          },
  1644          "minDomains": 5,
  1645          "nodeAffinityPolicy": "nodeAffinityPolicyValue",
  1646          "nodeTaintsPolicy": "nodeTaintsPolicyValue",
  1647          "matchLabelKeys": [
  1648            "matchLabelKeysValue"
  1649          ]
  1650        }
  1651      ],
  1652      "setHostnameAsFQDN": true,
  1653      "os": {
  1654        "name": "nameValue"
  1655      },
  1656      "hostUsers": true,
  1657      "schedulingGates": [
  1658        {
  1659          "name": "nameValue"
  1660        }
  1661      ],
  1662      "resourceClaims": [
  1663        {
  1664          "name": "nameValue",
  1665          "source": {
  1666            "resourceClaimName": "resourceClaimNameValue",
  1667            "resourceClaimTemplateName": "resourceClaimTemplateNameValue"
  1668          }
  1669        }
  1670      ]
  1671    }
  1672  }
  1673}

View as plain text