...

Text file src/k8s.io/api/testdata/v1.28.0/core.v1.PodTemplate.after_roundtrip.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                },
   442                "volumeName": "volumeNameValue",
   443                "storageClassName": "storageClassNameValue",
   444                "volumeMode": "volumeModeValue",
   445                "dataSource": {
   446                  "apiGroup": "apiGroupValue",
   447                  "kind": "kindValue",
   448                  "name": "nameValue"
   449                },
   450                "dataSourceRef": {
   451                  "apiGroup": "apiGroupValue",
   452                  "kind": "kindValue",
   453                  "name": "nameValue",
   454                  "namespace": "namespaceValue"
   455                }
   456              }
   457            }
   458          }
   459        }
   460      ],
   461      "initContainers": [
   462        {
   463          "name": "nameValue",
   464          "image": "imageValue",
   465          "command": [
   466            "commandValue"
   467          ],
   468          "args": [
   469            "argsValue"
   470          ],
   471          "workingDir": "workingDirValue",
   472          "ports": [
   473            {
   474              "name": "nameValue",
   475              "hostPort": 2,
   476              "containerPort": 3,
   477              "protocol": "protocolValue",
   478              "hostIP": "hostIPValue"
   479            }
   480          ],
   481          "envFrom": [
   482            {
   483              "prefix": "prefixValue",
   484              "configMapRef": {
   485                "name": "nameValue",
   486                "optional": true
   487              },
   488              "secretRef": {
   489                "name": "nameValue",
   490                "optional": true
   491              }
   492            }
   493          ],
   494          "env": [
   495            {
   496              "name": "nameValue",
   497              "value": "valueValue",
   498              "valueFrom": {
   499                "fieldRef": {
   500                  "apiVersion": "apiVersionValue",
   501                  "fieldPath": "fieldPathValue"
   502                },
   503                "resourceFieldRef": {
   504                  "containerName": "containerNameValue",
   505                  "resource": "resourceValue",
   506                  "divisor": "0"
   507                },
   508                "configMapKeyRef": {
   509                  "name": "nameValue",
   510                  "key": "keyValue",
   511                  "optional": true
   512                },
   513                "secretKeyRef": {
   514                  "name": "nameValue",
   515                  "key": "keyValue",
   516                  "optional": true
   517                }
   518              }
   519            }
   520          ],
   521          "resources": {
   522            "limits": {
   523              "limitsKey": "0"
   524            },
   525            "requests": {
   526              "requestsKey": "0"
   527            },
   528            "claims": [
   529              {
   530                "name": "nameValue"
   531              }
   532            ]
   533          },
   534          "resizePolicy": [
   535            {
   536              "resourceName": "resourceNameValue",
   537              "restartPolicy": "restartPolicyValue"
   538            }
   539          ],
   540          "restartPolicy": "restartPolicyValue",
   541          "volumeMounts": [
   542            {
   543              "name": "nameValue",
   544              "readOnly": true,
   545              "mountPath": "mountPathValue",
   546              "subPath": "subPathValue",
   547              "mountPropagation": "mountPropagationValue",
   548              "subPathExpr": "subPathExprValue"
   549            }
   550          ],
   551          "volumeDevices": [
   552            {
   553              "name": "nameValue",
   554              "devicePath": "devicePathValue"
   555            }
   556          ],
   557          "livenessProbe": {
   558            "exec": {
   559              "command": [
   560                "commandValue"
   561              ]
   562            },
   563            "httpGet": {
   564              "path": "pathValue",
   565              "port": "portValue",
   566              "host": "hostValue",
   567              "scheme": "schemeValue",
   568              "httpHeaders": [
   569                {
   570                  "name": "nameValue",
   571                  "value": "valueValue"
   572                }
   573              ]
   574            },
   575            "tcpSocket": {
   576              "port": "portValue",
   577              "host": "hostValue"
   578            },
   579            "grpc": {
   580              "port": 1,
   581              "service": "serviceValue"
   582            },
   583            "initialDelaySeconds": 2,
   584            "timeoutSeconds": 3,
   585            "periodSeconds": 4,
   586            "successThreshold": 5,
   587            "failureThreshold": 6,
   588            "terminationGracePeriodSeconds": 7
   589          },
   590          "readinessProbe": {
   591            "exec": {
   592              "command": [
   593                "commandValue"
   594              ]
   595            },
   596            "httpGet": {
   597              "path": "pathValue",
   598              "port": "portValue",
   599              "host": "hostValue",
   600              "scheme": "schemeValue",
   601              "httpHeaders": [
   602                {
   603                  "name": "nameValue",
   604                  "value": "valueValue"
   605                }
   606              ]
   607            },
   608            "tcpSocket": {
   609              "port": "portValue",
   610              "host": "hostValue"
   611            },
   612            "grpc": {
   613              "port": 1,
   614              "service": "serviceValue"
   615            },
   616            "initialDelaySeconds": 2,
   617            "timeoutSeconds": 3,
   618            "periodSeconds": 4,
   619            "successThreshold": 5,
   620            "failureThreshold": 6,
   621            "terminationGracePeriodSeconds": 7
   622          },
   623          "startupProbe": {
   624            "exec": {
   625              "command": [
   626                "commandValue"
   627              ]
   628            },
   629            "httpGet": {
   630              "path": "pathValue",
   631              "port": "portValue",
   632              "host": "hostValue",
   633              "scheme": "schemeValue",
   634              "httpHeaders": [
   635                {
   636                  "name": "nameValue",
   637                  "value": "valueValue"
   638                }
   639              ]
   640            },
   641            "tcpSocket": {
   642              "port": "portValue",
   643              "host": "hostValue"
   644            },
   645            "grpc": {
   646              "port": 1,
   647              "service": "serviceValue"
   648            },
   649            "initialDelaySeconds": 2,
   650            "timeoutSeconds": 3,
   651            "periodSeconds": 4,
   652            "successThreshold": 5,
   653            "failureThreshold": 6,
   654            "terminationGracePeriodSeconds": 7
   655          },
   656          "lifecycle": {
   657            "postStart": {
   658              "exec": {
   659                "command": [
   660                  "commandValue"
   661                ]
   662              },
   663              "httpGet": {
   664                "path": "pathValue",
   665                "port": "portValue",
   666                "host": "hostValue",
   667                "scheme": "schemeValue",
   668                "httpHeaders": [
   669                  {
   670                    "name": "nameValue",
   671                    "value": "valueValue"
   672                  }
   673                ]
   674              },
   675              "tcpSocket": {
   676                "port": "portValue",
   677                "host": "hostValue"
   678              }
   679            },
   680            "preStop": {
   681              "exec": {
   682                "command": [
   683                  "commandValue"
   684                ]
   685              },
   686              "httpGet": {
   687                "path": "pathValue",
   688                "port": "portValue",
   689                "host": "hostValue",
   690                "scheme": "schemeValue",
   691                "httpHeaders": [
   692                  {
   693                    "name": "nameValue",
   694                    "value": "valueValue"
   695                  }
   696                ]
   697              },
   698              "tcpSocket": {
   699                "port": "portValue",
   700                "host": "hostValue"
   701              }
   702            }
   703          },
   704          "terminationMessagePath": "terminationMessagePathValue",
   705          "terminationMessagePolicy": "terminationMessagePolicyValue",
   706          "imagePullPolicy": "imagePullPolicyValue",
   707          "securityContext": {
   708            "capabilities": {
   709              "add": [
   710                "addValue"
   711              ],
   712              "drop": [
   713                "dropValue"
   714              ]
   715            },
   716            "privileged": true,
   717            "seLinuxOptions": {
   718              "user": "userValue",
   719              "role": "roleValue",
   720              "type": "typeValue",
   721              "level": "levelValue"
   722            },
   723            "windowsOptions": {
   724              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
   725              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
   726              "runAsUserName": "runAsUserNameValue",
   727              "hostProcess": true
   728            },
   729            "runAsUser": 4,
   730            "runAsGroup": 8,
   731            "runAsNonRoot": true,
   732            "readOnlyRootFilesystem": true,
   733            "allowPrivilegeEscalation": true,
   734            "procMount": "procMountValue",
   735            "seccompProfile": {
   736              "type": "typeValue",
   737              "localhostProfile": "localhostProfileValue"
   738            }
   739          },
   740          "stdin": true,
   741          "stdinOnce": true,
   742          "tty": true
   743        }
   744      ],
   745      "containers": [
   746        {
   747          "name": "nameValue",
   748          "image": "imageValue",
   749          "command": [
   750            "commandValue"
   751          ],
   752          "args": [
   753            "argsValue"
   754          ],
   755          "workingDir": "workingDirValue",
   756          "ports": [
   757            {
   758              "name": "nameValue",
   759              "hostPort": 2,
   760              "containerPort": 3,
   761              "protocol": "protocolValue",
   762              "hostIP": "hostIPValue"
   763            }
   764          ],
   765          "envFrom": [
   766            {
   767              "prefix": "prefixValue",
   768              "configMapRef": {
   769                "name": "nameValue",
   770                "optional": true
   771              },
   772              "secretRef": {
   773                "name": "nameValue",
   774                "optional": true
   775              }
   776            }
   777          ],
   778          "env": [
   779            {
   780              "name": "nameValue",
   781              "value": "valueValue",
   782              "valueFrom": {
   783                "fieldRef": {
   784                  "apiVersion": "apiVersionValue",
   785                  "fieldPath": "fieldPathValue"
   786                },
   787                "resourceFieldRef": {
   788                  "containerName": "containerNameValue",
   789                  "resource": "resourceValue",
   790                  "divisor": "0"
   791                },
   792                "configMapKeyRef": {
   793                  "name": "nameValue",
   794                  "key": "keyValue",
   795                  "optional": true
   796                },
   797                "secretKeyRef": {
   798                  "name": "nameValue",
   799                  "key": "keyValue",
   800                  "optional": true
   801                }
   802              }
   803            }
   804          ],
   805          "resources": {
   806            "limits": {
   807              "limitsKey": "0"
   808            },
   809            "requests": {
   810              "requestsKey": "0"
   811            },
   812            "claims": [
   813              {
   814                "name": "nameValue"
   815              }
   816            ]
   817          },
   818          "resizePolicy": [
   819            {
   820              "resourceName": "resourceNameValue",
   821              "restartPolicy": "restartPolicyValue"
   822            }
   823          ],
   824          "restartPolicy": "restartPolicyValue",
   825          "volumeMounts": [
   826            {
   827              "name": "nameValue",
   828              "readOnly": true,
   829              "mountPath": "mountPathValue",
   830              "subPath": "subPathValue",
   831              "mountPropagation": "mountPropagationValue",
   832              "subPathExpr": "subPathExprValue"
   833            }
   834          ],
   835          "volumeDevices": [
   836            {
   837              "name": "nameValue",
   838              "devicePath": "devicePathValue"
   839            }
   840          ],
   841          "livenessProbe": {
   842            "exec": {
   843              "command": [
   844                "commandValue"
   845              ]
   846            },
   847            "httpGet": {
   848              "path": "pathValue",
   849              "port": "portValue",
   850              "host": "hostValue",
   851              "scheme": "schemeValue",
   852              "httpHeaders": [
   853                {
   854                  "name": "nameValue",
   855                  "value": "valueValue"
   856                }
   857              ]
   858            },
   859            "tcpSocket": {
   860              "port": "portValue",
   861              "host": "hostValue"
   862            },
   863            "grpc": {
   864              "port": 1,
   865              "service": "serviceValue"
   866            },
   867            "initialDelaySeconds": 2,
   868            "timeoutSeconds": 3,
   869            "periodSeconds": 4,
   870            "successThreshold": 5,
   871            "failureThreshold": 6,
   872            "terminationGracePeriodSeconds": 7
   873          },
   874          "readinessProbe": {
   875            "exec": {
   876              "command": [
   877                "commandValue"
   878              ]
   879            },
   880            "httpGet": {
   881              "path": "pathValue",
   882              "port": "portValue",
   883              "host": "hostValue",
   884              "scheme": "schemeValue",
   885              "httpHeaders": [
   886                {
   887                  "name": "nameValue",
   888                  "value": "valueValue"
   889                }
   890              ]
   891            },
   892            "tcpSocket": {
   893              "port": "portValue",
   894              "host": "hostValue"
   895            },
   896            "grpc": {
   897              "port": 1,
   898              "service": "serviceValue"
   899            },
   900            "initialDelaySeconds": 2,
   901            "timeoutSeconds": 3,
   902            "periodSeconds": 4,
   903            "successThreshold": 5,
   904            "failureThreshold": 6,
   905            "terminationGracePeriodSeconds": 7
   906          },
   907          "startupProbe": {
   908            "exec": {
   909              "command": [
   910                "commandValue"
   911              ]
   912            },
   913            "httpGet": {
   914              "path": "pathValue",
   915              "port": "portValue",
   916              "host": "hostValue",
   917              "scheme": "schemeValue",
   918              "httpHeaders": [
   919                {
   920                  "name": "nameValue",
   921                  "value": "valueValue"
   922                }
   923              ]
   924            },
   925            "tcpSocket": {
   926              "port": "portValue",
   927              "host": "hostValue"
   928            },
   929            "grpc": {
   930              "port": 1,
   931              "service": "serviceValue"
   932            },
   933            "initialDelaySeconds": 2,
   934            "timeoutSeconds": 3,
   935            "periodSeconds": 4,
   936            "successThreshold": 5,
   937            "failureThreshold": 6,
   938            "terminationGracePeriodSeconds": 7
   939          },
   940          "lifecycle": {
   941            "postStart": {
   942              "exec": {
   943                "command": [
   944                  "commandValue"
   945                ]
   946              },
   947              "httpGet": {
   948                "path": "pathValue",
   949                "port": "portValue",
   950                "host": "hostValue",
   951                "scheme": "schemeValue",
   952                "httpHeaders": [
   953                  {
   954                    "name": "nameValue",
   955                    "value": "valueValue"
   956                  }
   957                ]
   958              },
   959              "tcpSocket": {
   960                "port": "portValue",
   961                "host": "hostValue"
   962              }
   963            },
   964            "preStop": {
   965              "exec": {
   966                "command": [
   967                  "commandValue"
   968                ]
   969              },
   970              "httpGet": {
   971                "path": "pathValue",
   972                "port": "portValue",
   973                "host": "hostValue",
   974                "scheme": "schemeValue",
   975                "httpHeaders": [
   976                  {
   977                    "name": "nameValue",
   978                    "value": "valueValue"
   979                  }
   980                ]
   981              },
   982              "tcpSocket": {
   983                "port": "portValue",
   984                "host": "hostValue"
   985              }
   986            }
   987          },
   988          "terminationMessagePath": "terminationMessagePathValue",
   989          "terminationMessagePolicy": "terminationMessagePolicyValue",
   990          "imagePullPolicy": "imagePullPolicyValue",
   991          "securityContext": {
   992            "capabilities": {
   993              "add": [
   994                "addValue"
   995              ],
   996              "drop": [
   997                "dropValue"
   998              ]
   999            },
  1000            "privileged": true,
  1001            "seLinuxOptions": {
  1002              "user": "userValue",
  1003              "role": "roleValue",
  1004              "type": "typeValue",
  1005              "level": "levelValue"
  1006            },
  1007            "windowsOptions": {
  1008              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1009              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1010              "runAsUserName": "runAsUserNameValue",
  1011              "hostProcess": true
  1012            },
  1013            "runAsUser": 4,
  1014            "runAsGroup": 8,
  1015            "runAsNonRoot": true,
  1016            "readOnlyRootFilesystem": true,
  1017            "allowPrivilegeEscalation": true,
  1018            "procMount": "procMountValue",
  1019            "seccompProfile": {
  1020              "type": "typeValue",
  1021              "localhostProfile": "localhostProfileValue"
  1022            }
  1023          },
  1024          "stdin": true,
  1025          "stdinOnce": true,
  1026          "tty": true
  1027        }
  1028      ],
  1029      "ephemeralContainers": [
  1030        {
  1031          "name": "nameValue",
  1032          "image": "imageValue",
  1033          "command": [
  1034            "commandValue"
  1035          ],
  1036          "args": [
  1037            "argsValue"
  1038          ],
  1039          "workingDir": "workingDirValue",
  1040          "ports": [
  1041            {
  1042              "name": "nameValue",
  1043              "hostPort": 2,
  1044              "containerPort": 3,
  1045              "protocol": "protocolValue",
  1046              "hostIP": "hostIPValue"
  1047            }
  1048          ],
  1049          "envFrom": [
  1050            {
  1051              "prefix": "prefixValue",
  1052              "configMapRef": {
  1053                "name": "nameValue",
  1054                "optional": true
  1055              },
  1056              "secretRef": {
  1057                "name": "nameValue",
  1058                "optional": true
  1059              }
  1060            }
  1061          ],
  1062          "env": [
  1063            {
  1064              "name": "nameValue",
  1065              "value": "valueValue",
  1066              "valueFrom": {
  1067                "fieldRef": {
  1068                  "apiVersion": "apiVersionValue",
  1069                  "fieldPath": "fieldPathValue"
  1070                },
  1071                "resourceFieldRef": {
  1072                  "containerName": "containerNameValue",
  1073                  "resource": "resourceValue",
  1074                  "divisor": "0"
  1075                },
  1076                "configMapKeyRef": {
  1077                  "name": "nameValue",
  1078                  "key": "keyValue",
  1079                  "optional": true
  1080                },
  1081                "secretKeyRef": {
  1082                  "name": "nameValue",
  1083                  "key": "keyValue",
  1084                  "optional": true
  1085                }
  1086              }
  1087            }
  1088          ],
  1089          "resources": {
  1090            "limits": {
  1091              "limitsKey": "0"
  1092            },
  1093            "requests": {
  1094              "requestsKey": "0"
  1095            },
  1096            "claims": [
  1097              {
  1098                "name": "nameValue"
  1099              }
  1100            ]
  1101          },
  1102          "resizePolicy": [
  1103            {
  1104              "resourceName": "resourceNameValue",
  1105              "restartPolicy": "restartPolicyValue"
  1106            }
  1107          ],
  1108          "restartPolicy": "restartPolicyValue",
  1109          "volumeMounts": [
  1110            {
  1111              "name": "nameValue",
  1112              "readOnly": true,
  1113              "mountPath": "mountPathValue",
  1114              "subPath": "subPathValue",
  1115              "mountPropagation": "mountPropagationValue",
  1116              "subPathExpr": "subPathExprValue"
  1117            }
  1118          ],
  1119          "volumeDevices": [
  1120            {
  1121              "name": "nameValue",
  1122              "devicePath": "devicePathValue"
  1123            }
  1124          ],
  1125          "livenessProbe": {
  1126            "exec": {
  1127              "command": [
  1128                "commandValue"
  1129              ]
  1130            },
  1131            "httpGet": {
  1132              "path": "pathValue",
  1133              "port": "portValue",
  1134              "host": "hostValue",
  1135              "scheme": "schemeValue",
  1136              "httpHeaders": [
  1137                {
  1138                  "name": "nameValue",
  1139                  "value": "valueValue"
  1140                }
  1141              ]
  1142            },
  1143            "tcpSocket": {
  1144              "port": "portValue",
  1145              "host": "hostValue"
  1146            },
  1147            "grpc": {
  1148              "port": 1,
  1149              "service": "serviceValue"
  1150            },
  1151            "initialDelaySeconds": 2,
  1152            "timeoutSeconds": 3,
  1153            "periodSeconds": 4,
  1154            "successThreshold": 5,
  1155            "failureThreshold": 6,
  1156            "terminationGracePeriodSeconds": 7
  1157          },
  1158          "readinessProbe": {
  1159            "exec": {
  1160              "command": [
  1161                "commandValue"
  1162              ]
  1163            },
  1164            "httpGet": {
  1165              "path": "pathValue",
  1166              "port": "portValue",
  1167              "host": "hostValue",
  1168              "scheme": "schemeValue",
  1169              "httpHeaders": [
  1170                {
  1171                  "name": "nameValue",
  1172                  "value": "valueValue"
  1173                }
  1174              ]
  1175            },
  1176            "tcpSocket": {
  1177              "port": "portValue",
  1178              "host": "hostValue"
  1179            },
  1180            "grpc": {
  1181              "port": 1,
  1182              "service": "serviceValue"
  1183            },
  1184            "initialDelaySeconds": 2,
  1185            "timeoutSeconds": 3,
  1186            "periodSeconds": 4,
  1187            "successThreshold": 5,
  1188            "failureThreshold": 6,
  1189            "terminationGracePeriodSeconds": 7
  1190          },
  1191          "startupProbe": {
  1192            "exec": {
  1193              "command": [
  1194                "commandValue"
  1195              ]
  1196            },
  1197            "httpGet": {
  1198              "path": "pathValue",
  1199              "port": "portValue",
  1200              "host": "hostValue",
  1201              "scheme": "schemeValue",
  1202              "httpHeaders": [
  1203                {
  1204                  "name": "nameValue",
  1205                  "value": "valueValue"
  1206                }
  1207              ]
  1208            },
  1209            "tcpSocket": {
  1210              "port": "portValue",
  1211              "host": "hostValue"
  1212            },
  1213            "grpc": {
  1214              "port": 1,
  1215              "service": "serviceValue"
  1216            },
  1217            "initialDelaySeconds": 2,
  1218            "timeoutSeconds": 3,
  1219            "periodSeconds": 4,
  1220            "successThreshold": 5,
  1221            "failureThreshold": 6,
  1222            "terminationGracePeriodSeconds": 7
  1223          },
  1224          "lifecycle": {
  1225            "postStart": {
  1226              "exec": {
  1227                "command": [
  1228                  "commandValue"
  1229                ]
  1230              },
  1231              "httpGet": {
  1232                "path": "pathValue",
  1233                "port": "portValue",
  1234                "host": "hostValue",
  1235                "scheme": "schemeValue",
  1236                "httpHeaders": [
  1237                  {
  1238                    "name": "nameValue",
  1239                    "value": "valueValue"
  1240                  }
  1241                ]
  1242              },
  1243              "tcpSocket": {
  1244                "port": "portValue",
  1245                "host": "hostValue"
  1246              }
  1247            },
  1248            "preStop": {
  1249              "exec": {
  1250                "command": [
  1251                  "commandValue"
  1252                ]
  1253              },
  1254              "httpGet": {
  1255                "path": "pathValue",
  1256                "port": "portValue",
  1257                "host": "hostValue",
  1258                "scheme": "schemeValue",
  1259                "httpHeaders": [
  1260                  {
  1261                    "name": "nameValue",
  1262                    "value": "valueValue"
  1263                  }
  1264                ]
  1265              },
  1266              "tcpSocket": {
  1267                "port": "portValue",
  1268                "host": "hostValue"
  1269              }
  1270            }
  1271          },
  1272          "terminationMessagePath": "terminationMessagePathValue",
  1273          "terminationMessagePolicy": "terminationMessagePolicyValue",
  1274          "imagePullPolicy": "imagePullPolicyValue",
  1275          "securityContext": {
  1276            "capabilities": {
  1277              "add": [
  1278                "addValue"
  1279              ],
  1280              "drop": [
  1281                "dropValue"
  1282              ]
  1283            },
  1284            "privileged": true,
  1285            "seLinuxOptions": {
  1286              "user": "userValue",
  1287              "role": "roleValue",
  1288              "type": "typeValue",
  1289              "level": "levelValue"
  1290            },
  1291            "windowsOptions": {
  1292              "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1293              "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1294              "runAsUserName": "runAsUserNameValue",
  1295              "hostProcess": true
  1296            },
  1297            "runAsUser": 4,
  1298            "runAsGroup": 8,
  1299            "runAsNonRoot": true,
  1300            "readOnlyRootFilesystem": true,
  1301            "allowPrivilegeEscalation": true,
  1302            "procMount": "procMountValue",
  1303            "seccompProfile": {
  1304              "type": "typeValue",
  1305              "localhostProfile": "localhostProfileValue"
  1306            }
  1307          },
  1308          "stdin": true,
  1309          "stdinOnce": true,
  1310          "tty": true,
  1311          "targetContainerName": "targetContainerNameValue"
  1312        }
  1313      ],
  1314      "restartPolicy": "restartPolicyValue",
  1315      "terminationGracePeriodSeconds": 4,
  1316      "activeDeadlineSeconds": 5,
  1317      "dnsPolicy": "dnsPolicyValue",
  1318      "nodeSelector": {
  1319        "nodeSelectorKey": "nodeSelectorValue"
  1320      },
  1321      "serviceAccountName": "serviceAccountNameValue",
  1322      "serviceAccount": "serviceAccountValue",
  1323      "automountServiceAccountToken": true,
  1324      "nodeName": "nodeNameValue",
  1325      "hostNetwork": true,
  1326      "hostPID": true,
  1327      "hostIPC": true,
  1328      "shareProcessNamespace": true,
  1329      "securityContext": {
  1330        "seLinuxOptions": {
  1331          "user": "userValue",
  1332          "role": "roleValue",
  1333          "type": "typeValue",
  1334          "level": "levelValue"
  1335        },
  1336        "windowsOptions": {
  1337          "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue",
  1338          "gmsaCredentialSpec": "gmsaCredentialSpecValue",
  1339          "runAsUserName": "runAsUserNameValue",
  1340          "hostProcess": true
  1341        },
  1342        "runAsUser": 2,
  1343        "runAsGroup": 6,
  1344        "runAsNonRoot": true,
  1345        "supplementalGroups": [
  1346          4
  1347        ],
  1348        "fsGroup": 5,
  1349        "sysctls": [
  1350          {
  1351            "name": "nameValue",
  1352            "value": "valueValue"
  1353          }
  1354        ],
  1355        "fsGroupChangePolicy": "fsGroupChangePolicyValue",
  1356        "seccompProfile": {
  1357          "type": "typeValue",
  1358          "localhostProfile": "localhostProfileValue"
  1359        }
  1360      },
  1361      "imagePullSecrets": [
  1362        {
  1363          "name": "nameValue"
  1364        }
  1365      ],
  1366      "hostname": "hostnameValue",
  1367      "subdomain": "subdomainValue",
  1368      "affinity": {
  1369        "nodeAffinity": {
  1370          "requiredDuringSchedulingIgnoredDuringExecution": {
  1371            "nodeSelectorTerms": [
  1372              {
  1373                "matchExpressions": [
  1374                  {
  1375                    "key": "keyValue",
  1376                    "operator": "operatorValue",
  1377                    "values": [
  1378                      "valuesValue"
  1379                    ]
  1380                  }
  1381                ],
  1382                "matchFields": [
  1383                  {
  1384                    "key": "keyValue",
  1385                    "operator": "operatorValue",
  1386                    "values": [
  1387                      "valuesValue"
  1388                    ]
  1389                  }
  1390                ]
  1391              }
  1392            ]
  1393          },
  1394          "preferredDuringSchedulingIgnoredDuringExecution": [
  1395            {
  1396              "weight": 1,
  1397              "preference": {
  1398                "matchExpressions": [
  1399                  {
  1400                    "key": "keyValue",
  1401                    "operator": "operatorValue",
  1402                    "values": [
  1403                      "valuesValue"
  1404                    ]
  1405                  }
  1406                ],
  1407                "matchFields": [
  1408                  {
  1409                    "key": "keyValue",
  1410                    "operator": "operatorValue",
  1411                    "values": [
  1412                      "valuesValue"
  1413                    ]
  1414                  }
  1415                ]
  1416              }
  1417            }
  1418          ]
  1419        },
  1420        "podAffinity": {
  1421          "requiredDuringSchedulingIgnoredDuringExecution": [
  1422            {
  1423              "labelSelector": {
  1424                "matchLabels": {
  1425                  "matchLabelsKey": "matchLabelsValue"
  1426                },
  1427                "matchExpressions": [
  1428                  {
  1429                    "key": "keyValue",
  1430                    "operator": "operatorValue",
  1431                    "values": [
  1432                      "valuesValue"
  1433                    ]
  1434                  }
  1435                ]
  1436              },
  1437              "namespaces": [
  1438                "namespacesValue"
  1439              ],
  1440              "topologyKey": "topologyKeyValue",
  1441              "namespaceSelector": {
  1442                "matchLabels": {
  1443                  "matchLabelsKey": "matchLabelsValue"
  1444                },
  1445                "matchExpressions": [
  1446                  {
  1447                    "key": "keyValue",
  1448                    "operator": "operatorValue",
  1449                    "values": [
  1450                      "valuesValue"
  1451                    ]
  1452                  }
  1453                ]
  1454              }
  1455            }
  1456          ],
  1457          "preferredDuringSchedulingIgnoredDuringExecution": [
  1458            {
  1459              "weight": 1,
  1460              "podAffinityTerm": {
  1461                "labelSelector": {
  1462                  "matchLabels": {
  1463                    "matchLabelsKey": "matchLabelsValue"
  1464                  },
  1465                  "matchExpressions": [
  1466                    {
  1467                      "key": "keyValue",
  1468                      "operator": "operatorValue",
  1469                      "values": [
  1470                        "valuesValue"
  1471                      ]
  1472                    }
  1473                  ]
  1474                },
  1475                "namespaces": [
  1476                  "namespacesValue"
  1477                ],
  1478                "topologyKey": "topologyKeyValue",
  1479                "namespaceSelector": {
  1480                  "matchLabels": {
  1481                    "matchLabelsKey": "matchLabelsValue"
  1482                  },
  1483                  "matchExpressions": [
  1484                    {
  1485                      "key": "keyValue",
  1486                      "operator": "operatorValue",
  1487                      "values": [
  1488                        "valuesValue"
  1489                      ]
  1490                    }
  1491                  ]
  1492                }
  1493              }
  1494            }
  1495          ]
  1496        },
  1497        "podAntiAffinity": {
  1498          "requiredDuringSchedulingIgnoredDuringExecution": [
  1499            {
  1500              "labelSelector": {
  1501                "matchLabels": {
  1502                  "matchLabelsKey": "matchLabelsValue"
  1503                },
  1504                "matchExpressions": [
  1505                  {
  1506                    "key": "keyValue",
  1507                    "operator": "operatorValue",
  1508                    "values": [
  1509                      "valuesValue"
  1510                    ]
  1511                  }
  1512                ]
  1513              },
  1514              "namespaces": [
  1515                "namespacesValue"
  1516              ],
  1517              "topologyKey": "topologyKeyValue",
  1518              "namespaceSelector": {
  1519                "matchLabels": {
  1520                  "matchLabelsKey": "matchLabelsValue"
  1521                },
  1522                "matchExpressions": [
  1523                  {
  1524                    "key": "keyValue",
  1525                    "operator": "operatorValue",
  1526                    "values": [
  1527                      "valuesValue"
  1528                    ]
  1529                  }
  1530                ]
  1531              }
  1532            }
  1533          ],
  1534          "preferredDuringSchedulingIgnoredDuringExecution": [
  1535            {
  1536              "weight": 1,
  1537              "podAffinityTerm": {
  1538                "labelSelector": {
  1539                  "matchLabels": {
  1540                    "matchLabelsKey": "matchLabelsValue"
  1541                  },
  1542                  "matchExpressions": [
  1543                    {
  1544                      "key": "keyValue",
  1545                      "operator": "operatorValue",
  1546                      "values": [
  1547                        "valuesValue"
  1548                      ]
  1549                    }
  1550                  ]
  1551                },
  1552                "namespaces": [
  1553                  "namespacesValue"
  1554                ],
  1555                "topologyKey": "topologyKeyValue",
  1556                "namespaceSelector": {
  1557                  "matchLabels": {
  1558                    "matchLabelsKey": "matchLabelsValue"
  1559                  },
  1560                  "matchExpressions": [
  1561                    {
  1562                      "key": "keyValue",
  1563                      "operator": "operatorValue",
  1564                      "values": [
  1565                        "valuesValue"
  1566                      ]
  1567                    }
  1568                  ]
  1569                }
  1570              }
  1571            }
  1572          ]
  1573        }
  1574      },
  1575      "schedulerName": "schedulerNameValue",
  1576      "tolerations": [
  1577        {
  1578          "key": "keyValue",
  1579          "operator": "operatorValue",
  1580          "value": "valueValue",
  1581          "effect": "effectValue",
  1582          "tolerationSeconds": 5
  1583        }
  1584      ],
  1585      "hostAliases": [
  1586        {
  1587          "ip": "ipValue",
  1588          "hostnames": [
  1589            "hostnamesValue"
  1590          ]
  1591        }
  1592      ],
  1593      "priorityClassName": "priorityClassNameValue",
  1594      "priority": 25,
  1595      "dnsConfig": {
  1596        "nameservers": [
  1597          "nameserversValue"
  1598        ],
  1599        "searches": [
  1600          "searchesValue"
  1601        ],
  1602        "options": [
  1603          {
  1604            "name": "nameValue",
  1605            "value": "valueValue"
  1606          }
  1607        ]
  1608      },
  1609      "readinessGates": [
  1610        {
  1611          "conditionType": "conditionTypeValue"
  1612        }
  1613      ],
  1614      "runtimeClassName": "runtimeClassNameValue",
  1615      "enableServiceLinks": true,
  1616      "preemptionPolicy": "preemptionPolicyValue",
  1617      "overhead": {
  1618        "overheadKey": "0"
  1619      },
  1620      "topologySpreadConstraints": [
  1621        {
  1622          "maxSkew": 1,
  1623          "topologyKey": "topologyKeyValue",
  1624          "whenUnsatisfiable": "whenUnsatisfiableValue",
  1625          "labelSelector": {
  1626            "matchLabels": {
  1627              "matchLabelsKey": "matchLabelsValue"
  1628            },
  1629            "matchExpressions": [
  1630              {
  1631                "key": "keyValue",
  1632                "operator": "operatorValue",
  1633                "values": [
  1634                  "valuesValue"
  1635                ]
  1636              }
  1637            ]
  1638          },
  1639          "minDomains": 5,
  1640          "nodeAffinityPolicy": "nodeAffinityPolicyValue",
  1641          "nodeTaintsPolicy": "nodeTaintsPolicyValue",
  1642          "matchLabelKeys": [
  1643            "matchLabelKeysValue"
  1644          ]
  1645        }
  1646      ],
  1647      "setHostnameAsFQDN": true,
  1648      "os": {
  1649        "name": "nameValue"
  1650      },
  1651      "hostUsers": true,
  1652      "schedulingGates": [
  1653        {
  1654          "name": "nameValue"
  1655        }
  1656      ],
  1657      "resourceClaims": [
  1658        {
  1659          "name": "nameValue",
  1660          "source": {
  1661            "resourceClaimName": "resourceClaimNameValue",
  1662            "resourceClaimTemplateName": "resourceClaimTemplateNameValue"
  1663          }
  1664        }
  1665      ]
  1666    }
  1667  }
  1668}

View as plain text