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