|
691 | 691 | "consumes": [
|
692 | 692 | "*/*"
|
693 | 693 | ]
|
| 694 | + }, |
| 695 | + { |
| 696 | + "type": "v1.Job", |
| 697 | + "method": "POST", |
| 698 | + "summary": "create a Job", |
| 699 | + "nickname": "createNamespacedJob", |
| 700 | + "parameters": [ |
| 701 | + { |
| 702 | + "type": "string", |
| 703 | + "paramType": "query", |
| 704 | + "name": "pretty", |
| 705 | + "description": "If 'true', then the output is pretty printed.", |
| 706 | + "required": false, |
| 707 | + "allowMultiple": false |
| 708 | + }, |
| 709 | + { |
| 710 | + "type": "v1.Job", |
| 711 | + "paramType": "body", |
| 712 | + "name": "body", |
| 713 | + "description": "", |
| 714 | + "required": true, |
| 715 | + "allowMultiple": false |
| 716 | + } |
| 717 | + ], |
| 718 | + "responseMessages": [ |
| 719 | + { |
| 720 | + "code": 200, |
| 721 | + "message": "OK", |
| 722 | + "responseModel": "v1.Job" |
| 723 | + } |
| 724 | + ], |
| 725 | + "produces": [ |
| 726 | + "application/json", |
| 727 | + "application/yaml" |
| 728 | + ], |
| 729 | + "consumes": [ |
| 730 | + "*/*" |
| 731 | + ] |
694 | 732 | }
|
695 | 733 | ]
|
696 | 734 | },
|
|
1111 | 1149 | "type": "any",
|
1112 | 1150 | "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md"
|
1113 | 1151 | },
|
| 1152 | + "host": { |
| 1153 | + "type": "string", |
| 1154 | + "description": "A request to schedule this pod onto a specific node Deprecated: Use nodeName instead." |
| 1155 | + }, |
1114 | 1156 | "serviceAccountName": {
|
1115 | 1157 | "type": "string",
|
1116 | 1158 | "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md"
|
|
1234 | 1276 | "configMap": {
|
1235 | 1277 | "$ref": "v1.ConfigMapVolumeSource",
|
1236 | 1278 | "description": "ConfigMap represents a configMap that should populate this volume"
|
| 1279 | + }, |
| 1280 | + "metadata": { |
| 1281 | + "$ref": "v1.MetadataVolumeSource", |
| 1282 | + "description": "Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead." |
1237 | 1283 | }
|
1238 | 1284 | }
|
1239 | 1285 | },
|
|
1733 | 1779 | }
|
1734 | 1780 | }
|
1735 | 1781 | },
|
| 1782 | + "v1.MetadataVolumeSource": { |
| 1783 | + "id": "v1.MetadataVolumeSource", |
| 1784 | + "description": "MetadataVolumeSource represents a volume containing metadata about a pod. NOTE: Deprecated in favor of DownwardAPIVolumeSource", |
| 1785 | + "properties": { |
| 1786 | + "items": { |
| 1787 | + "type": "array", |
| 1788 | + "items": { |
| 1789 | + "$ref": "v1.MetadataFile" |
| 1790 | + }, |
| 1791 | + "description": "Items is a list of metadata file name" |
| 1792 | + } |
| 1793 | + } |
| 1794 | + }, |
| 1795 | + "v1.MetadataFile": { |
| 1796 | + "id": "v1.MetadataFile", |
| 1797 | + "description": "MetadataFile expresses information about a file holding pod metadata. NOTE: Deprecated in favor of DownwardAPIVolumeFile", |
| 1798 | + "required": [ |
| 1799 | + "name", |
| 1800 | + "fieldRef" |
| 1801 | + ], |
| 1802 | + "properties": { |
| 1803 | + "name": { |
| 1804 | + "type": "string", |
| 1805 | + "description": "Name of the file to be created" |
| 1806 | + }, |
| 1807 | + "fieldRef": { |
| 1808 | + "$ref": "v1.ObjectFieldSelector", |
| 1809 | + "description": "Selects a field of the pod. Supported fields: metadata.annotations, metadata.labels, metadata.name, metadata.namespace" |
| 1810 | + } |
| 1811 | + } |
| 1812 | + }, |
1736 | 1813 | "v1.Container": {
|
1737 | 1814 | "id": "v1.Container",
|
1738 | 1815 | "description": "A single application container that you want to run within a pod.",
|
|
0 commit comments