pulumi-kubernetes 4.13.1__py3-none-any.whl → 4.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. pulumi_kubernetes/_inputs.py +57 -0
  2. pulumi_kubernetes/_utilities.py +35 -0
  3. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
  6. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +11 -6
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +11 -6
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +11 -6
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +11 -6
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +11 -6
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
  15. pulumi_kubernetes/admissionregistration/v1/_inputs.py +1553 -29
  16. pulumi_kubernetes/admissionregistration/v1/outputs.py +5 -0
  17. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +11 -6
  18. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +11 -6
  19. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +11 -6
  20. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  21. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +11 -6
  22. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +11 -6
  23. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +876 -6
  24. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +5 -0
  25. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
  26. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
  27. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
  28. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +11 -6
  29. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +11 -6
  30. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +11 -6
  31. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  32. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +11 -6
  33. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +11 -6
  34. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
  35. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
  36. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
  37. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1525 -45
  38. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +5 -0
  39. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
  40. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
  41. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
  42. pulumi_kubernetes/apiextensions/v1/_inputs.py +1097 -15
  43. pulumi_kubernetes/apiextensions/v1/outputs.py +5 -0
  44. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
  45. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
  46. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
  47. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
  48. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
  49. pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
  50. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
  51. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
  52. pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
  53. pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
  54. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
  55. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
  56. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
  57. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
  58. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
  59. pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
  60. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
  61. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
  62. pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
  63. pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
  64. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
  65. pulumi_kubernetes/apps/v1/Deployment.py +11 -6
  66. pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
  67. pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
  68. pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
  69. pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
  70. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
  71. pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
  72. pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
  73. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
  74. pulumi_kubernetes/apps/v1/_inputs.py +1049 -0
  75. pulumi_kubernetes/apps/v1/outputs.py +5 -0
  76. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
  77. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
  78. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
  79. pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
  80. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
  81. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
  82. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
  83. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
  84. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
  85. pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
  86. pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
  87. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
  88. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
  89. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
  90. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
  91. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
  92. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
  93. pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
  94. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
  95. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
  96. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
  97. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
  98. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
  99. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
  100. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
  101. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
  102. pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
  103. pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
  104. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
  105. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
  106. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
  107. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
  108. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
  109. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
  110. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
  111. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
  112. pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
  113. pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
  114. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
  115. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
  116. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
  117. pulumi_kubernetes/autoscaling/v2/_inputs.py +805 -0
  118. pulumi_kubernetes/autoscaling/v2/outputs.py +5 -0
  119. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
  120. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
  121. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
  122. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
  123. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
  124. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
  125. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
  126. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
  127. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
  128. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
  129. pulumi_kubernetes/batch/v1/CronJob.py +11 -6
  130. pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
  131. pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
  132. pulumi_kubernetes/batch/v1/Job.py +11 -6
  133. pulumi_kubernetes/batch/v1/JobList.py +11 -6
  134. pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
  135. pulumi_kubernetes/batch/v1/_inputs.py +773 -3
  136. pulumi_kubernetes/batch/v1/outputs.py +5 -0
  137. pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
  138. pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
  139. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
  140. pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
  141. pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
  142. pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
  143. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
  144. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
  145. pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
  146. pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
  147. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
  148. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
  149. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
  150. pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
  151. pulumi_kubernetes/certificates/v1/outputs.py +5 -0
  152. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
  153. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
  154. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
  155. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
  156. pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
  157. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
  158. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
  159. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
  160. pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
  161. pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
  162. pulumi_kubernetes/coordination/v1/Lease.py +11 -6
  163. pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
  164. pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
  165. pulumi_kubernetes/coordination/v1/_inputs.py +90 -0
  166. pulumi_kubernetes/coordination/v1/outputs.py +5 -0
  167. pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
  168. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
  169. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
  170. pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
  171. pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
  172. pulumi_kubernetes/core/v1/Binding.py +11 -6
  173. pulumi_kubernetes/core/v1/BindingPatch.py +11 -6
  174. pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
  175. pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
  176. pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
  177. pulumi_kubernetes/core/v1/Endpoints.py +11 -6
  178. pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
  179. pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
  180. pulumi_kubernetes/core/v1/Event.py +20 -15
  181. pulumi_kubernetes/core/v1/EventList.py +11 -6
  182. pulumi_kubernetes/core/v1/EventPatch.py +20 -15
  183. pulumi_kubernetes/core/v1/LimitRange.py +11 -6
  184. pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
  185. pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
  186. pulumi_kubernetes/core/v1/Namespace.py +11 -6
  187. pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
  188. pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
  189. pulumi_kubernetes/core/v1/Node.py +11 -6
  190. pulumi_kubernetes/core/v1/NodeList.py +11 -6
  191. pulumi_kubernetes/core/v1/NodePatch.py +11 -6
  192. pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
  193. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
  194. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
  195. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
  196. pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
  197. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
  198. pulumi_kubernetes/core/v1/Pod.py +11 -6
  199. pulumi_kubernetes/core/v1/PodList.py +11 -6
  200. pulumi_kubernetes/core/v1/PodPatch.py +11 -6
  201. pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
  202. pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
  203. pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
  204. pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
  205. pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
  206. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
  207. pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
  208. pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
  209. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
  210. pulumi_kubernetes/core/v1/Secret.py +8 -3
  211. pulumi_kubernetes/core/v1/SecretList.py +11 -6
  212. pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
  213. pulumi_kubernetes/core/v1/Service.py +11 -6
  214. pulumi_kubernetes/core/v1/ServiceAccount.py +14 -9
  215. pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
  216. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +14 -9
  217. pulumi_kubernetes/core/v1/ServiceList.py +11 -6
  218. pulumi_kubernetes/core/v1/ServicePatch.py +11 -6
  219. pulumi_kubernetes/core/v1/_inputs.py +10070 -478
  220. pulumi_kubernetes/core/v1/outputs.py +5 -0
  221. pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
  222. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
  223. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
  224. pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
  225. pulumi_kubernetes/discovery/v1/outputs.py +5 -0
  226. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
  227. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
  228. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
  229. pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
  230. pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
  231. pulumi_kubernetes/events/v1/Event.py +20 -15
  232. pulumi_kubernetes/events/v1/EventList.py +11 -6
  233. pulumi_kubernetes/events/v1/EventPatch.py +20 -15
  234. pulumi_kubernetes/events/v1/_inputs.py +118 -0
  235. pulumi_kubernetes/events/v1/outputs.py +5 -0
  236. pulumi_kubernetes/events/v1beta1/Event.py +19 -14
  237. pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
  238. pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
  239. pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
  240. pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
  241. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
  242. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
  243. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
  244. pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
  245. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
  246. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
  247. pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
  248. pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
  249. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
  250. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
  251. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
  252. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
  253. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
  254. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
  255. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
  256. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
  257. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
  258. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
  259. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
  260. pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
  261. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
  262. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
  263. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
  264. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
  265. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
  266. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
  267. pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
  268. pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
  269. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
  270. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
  271. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
  272. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
  273. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
  274. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
  275. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
  276. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
  277. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
  278. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
  279. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
  280. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
  281. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
  282. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
  283. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
  284. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
  285. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
  286. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
  287. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
  288. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
  289. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
  290. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
  291. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
  292. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
  293. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
  294. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
  295. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
  296. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
  297. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
  298. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
  299. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +771 -0
  300. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +5 -0
  301. pulumi_kubernetes/helm/v3/Release.py +8 -3
  302. pulumi_kubernetes/helm/v3/_inputs.py +40 -0
  303. pulumi_kubernetes/helm/v3/outputs.py +5 -0
  304. pulumi_kubernetes/helm/v4/Chart.py +15 -6
  305. pulumi_kubernetes/helm/v4/_inputs.py +57 -0
  306. pulumi_kubernetes/kustomize/v2/Directory.py +5 -0
  307. pulumi_kubernetes/meta/v1/Status.py +11 -6
  308. pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
  309. pulumi_kubernetes/meta/v1/_inputs.py +596 -0
  310. pulumi_kubernetes/meta/v1/outputs.py +5 -0
  311. pulumi_kubernetes/networking/v1/Ingress.py +11 -6
  312. pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
  313. pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
  314. pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
  315. pulumi_kubernetes/networking/v1/IngressList.py +11 -6
  316. pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
  317. pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
  318. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
  319. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
  320. pulumi_kubernetes/networking/v1/_inputs.py +840 -0
  321. pulumi_kubernetes/networking/v1/outputs.py +5 -0
  322. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
  323. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
  324. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
  325. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +11 -6
  326. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
  327. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +11 -6
  328. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +11 -6
  329. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
  330. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +11 -6
  331. pulumi_kubernetes/networking/v1alpha1/_inputs.py +259 -0
  332. pulumi_kubernetes/networking/v1alpha1/outputs.py +5 -0
  333. pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
  334. pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
  335. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
  336. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
  337. pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
  338. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
  339. pulumi_kubernetes/networking/v1beta1/_inputs.py +374 -0
  340. pulumi_kubernetes/networking/v1beta1/outputs.py +5 -0
  341. pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
  342. pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
  343. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
  344. pulumi_kubernetes/node/v1/_inputs.py +101 -0
  345. pulumi_kubernetes/node/v1/outputs.py +5 -0
  346. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
  347. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
  348. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
  349. pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
  350. pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
  351. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
  352. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
  353. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
  354. pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
  355. pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
  356. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
  357. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
  358. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
  359. pulumi_kubernetes/policy/v1/_inputs.py +151 -0
  360. pulumi_kubernetes/policy/v1/outputs.py +5 -0
  361. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
  362. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
  363. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
  364. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
  365. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
  366. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
  367. pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
  368. pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
  369. pulumi_kubernetes/provider.py +11 -6
  370. pulumi_kubernetes/pulumi-plugin.json +1 -1
  371. pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
  372. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
  373. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
  374. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
  375. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
  376. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
  377. pulumi_kubernetes/rbac/v1/Role.py +11 -6
  378. pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
  379. pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
  380. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
  381. pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
  382. pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
  383. pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
  384. pulumi_kubernetes/rbac/v1/outputs.py +5 -0
  385. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
  386. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
  387. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
  388. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
  389. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
  390. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
  391. pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
  392. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
  393. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
  394. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
  395. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
  396. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
  397. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
  398. pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
  399. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
  400. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
  401. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
  402. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
  403. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
  404. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
  405. pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
  406. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
  407. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
  408. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
  409. pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
  410. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
  411. pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
  412. pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
  413. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
  414. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
  415. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
  416. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +11 -6
  417. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
  418. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +11 -6
  419. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +11 -6
  420. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
  421. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +11 -6
  422. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
  423. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
  424. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
  425. pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
  426. pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
  427. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +11 -6
  428. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
  429. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +11 -6
  430. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +11 -6
  431. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
  432. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +14 -9
  433. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +11 -6
  434. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +14 -9
  435. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +11 -6
  436. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +11 -6
  437. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
  438. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +11 -6
  439. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +14 -9
  440. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
  441. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -12
  442. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +11 -6
  443. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -12
  444. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +14 -9
  445. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +11 -6
  446. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +11 -6
  447. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +11 -6
  448. pulumi_kubernetes/resource/v1alpha2/_inputs.py +1059 -6
  449. pulumi_kubernetes/resource/v1alpha2/outputs.py +5 -0
  450. pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
  451. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
  452. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
  453. pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
  454. pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
  455. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
  456. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
  457. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
  458. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
  459. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
  460. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
  461. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
  462. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
  463. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
  464. pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
  465. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
  466. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
  467. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
  468. pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
  469. pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
  470. pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
  471. pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
  472. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
  473. pulumi_kubernetes/storage/v1/CSINode.py +11 -6
  474. pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
  475. pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
  476. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
  477. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
  478. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
  479. pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
  480. pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
  481. pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
  482. pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
  483. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
  484. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
  485. pulumi_kubernetes/storage/v1/_inputs.py +614 -0
  486. pulumi_kubernetes/storage/v1/outputs.py +5 -0
  487. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
  488. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
  489. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
  490. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +8 -3
  491. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
  492. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +8 -3
  493. pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
  494. pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
  495. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
  496. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
  497. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
  498. pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
  499. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
  500. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
  501. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
  502. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
  503. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
  504. pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
  505. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
  506. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
  507. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
  508. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
  509. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
  510. pulumi_kubernetes/storage/v1beta1/_inputs.py +566 -0
  511. pulumi_kubernetes/storage/v1beta1/outputs.py +5 -0
  512. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +11 -6
  513. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +11 -6
  514. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +11 -6
  515. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +158 -0
  516. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +5 -0
  517. pulumi_kubernetes/yaml/v2/ConfigFile.py +5 -0
  518. pulumi_kubernetes/yaml/v2/ConfigGroup.py +5 -0
  519. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/METADATA +2 -1
  520. pulumi_kubernetes-4.14.0.dist-info/RECORD +619 -0
  521. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/WHEEL +1 -1
  522. pulumi_kubernetes-4.13.1.dist-info/RECORD +0 -619
  523. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/top_level.txt +0 -0
@@ -4,40 +4,113 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from ... import _utilities
11
16
  from ... import core as _core
12
17
  from ... import meta as _meta
13
18
 
14
19
  __all__ = [
15
20
  'CronJobSpecPatchArgs',
21
+ 'CronJobSpecPatchArgsDict',
16
22
  'CronJobSpecArgs',
23
+ 'CronJobSpecArgsDict',
17
24
  'CronJobStatusArgs',
25
+ 'CronJobStatusArgsDict',
18
26
  'CronJobArgs',
27
+ 'CronJobArgsDict',
19
28
  'JobConditionArgs',
29
+ 'JobConditionArgsDict',
20
30
  'JobSpecPatchArgs',
31
+ 'JobSpecPatchArgsDict',
21
32
  'JobSpecArgs',
33
+ 'JobSpecArgsDict',
22
34
  'JobStatusArgs',
35
+ 'JobStatusArgsDict',
23
36
  'JobTemplateSpecPatchArgs',
37
+ 'JobTemplateSpecPatchArgsDict',
24
38
  'JobTemplateSpecArgs',
39
+ 'JobTemplateSpecArgsDict',
25
40
  'JobArgs',
41
+ 'JobArgsDict',
26
42
  'PodFailurePolicyOnExitCodesRequirementPatchArgs',
43
+ 'PodFailurePolicyOnExitCodesRequirementPatchArgsDict',
27
44
  'PodFailurePolicyOnExitCodesRequirementArgs',
45
+ 'PodFailurePolicyOnExitCodesRequirementArgsDict',
28
46
  'PodFailurePolicyOnPodConditionsPatternPatchArgs',
47
+ 'PodFailurePolicyOnPodConditionsPatternPatchArgsDict',
29
48
  'PodFailurePolicyOnPodConditionsPatternArgs',
49
+ 'PodFailurePolicyOnPodConditionsPatternArgsDict',
30
50
  'PodFailurePolicyPatchArgs',
51
+ 'PodFailurePolicyPatchArgsDict',
31
52
  'PodFailurePolicyRulePatchArgs',
53
+ 'PodFailurePolicyRulePatchArgsDict',
32
54
  'PodFailurePolicyRuleArgs',
55
+ 'PodFailurePolicyRuleArgsDict',
33
56
  'PodFailurePolicyArgs',
57
+ 'PodFailurePolicyArgsDict',
34
58
  'SuccessPolicyPatchArgs',
59
+ 'SuccessPolicyPatchArgsDict',
35
60
  'SuccessPolicyRulePatchArgs',
61
+ 'SuccessPolicyRulePatchArgsDict',
36
62
  'SuccessPolicyRuleArgs',
63
+ 'SuccessPolicyRuleArgsDict',
37
64
  'SuccessPolicyArgs',
65
+ 'SuccessPolicyArgsDict',
38
66
  'UncountedTerminatedPodsArgs',
67
+ 'UncountedTerminatedPodsArgsDict',
39
68
  ]
40
69
 
70
+ MYPY = False
71
+
72
+ if not MYPY:
73
+ class CronJobSpecPatchArgsDict(TypedDict):
74
+ """
75
+ CronJobSpec describes how the job execution will look like and when it will actually run.
76
+ """
77
+ concurrency_policy: NotRequired[pulumi.Input[str]]
78
+ """
79
+ Specifies how to treat concurrent executions of a Job. Valid values are:
80
+
81
+ - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
82
+ """
83
+ failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
84
+ """
85
+ The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
86
+ """
87
+ job_template: NotRequired[pulumi.Input['JobTemplateSpecPatchArgsDict']]
88
+ """
89
+ Specifies the job that will be created when executing a CronJob.
90
+ """
91
+ schedule: NotRequired[pulumi.Input[str]]
92
+ """
93
+ The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
94
+ """
95
+ starting_deadline_seconds: NotRequired[pulumi.Input[int]]
96
+ """
97
+ Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
98
+ """
99
+ successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
100
+ """
101
+ The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
102
+ """
103
+ suspend: NotRequired[pulumi.Input[bool]]
104
+ """
105
+ This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
106
+ """
107
+ time_zone: NotRequired[pulumi.Input[str]]
108
+ """
109
+ The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
110
+ """
111
+ elif False:
112
+ CronJobSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
113
+
41
114
  @pulumi.input_type
42
115
  class CronJobSpecPatchArgs:
43
116
  def __init__(__self__, *,
@@ -178,6 +251,48 @@ class CronJobSpecPatchArgs:
178
251
  pulumi.set(self, "time_zone", value)
179
252
 
180
253
 
254
+ if not MYPY:
255
+ class CronJobSpecArgsDict(TypedDict):
256
+ """
257
+ CronJobSpec describes how the job execution will look like and when it will actually run.
258
+ """
259
+ job_template: pulumi.Input['JobTemplateSpecArgsDict']
260
+ """
261
+ Specifies the job that will be created when executing a CronJob.
262
+ """
263
+ schedule: pulumi.Input[str]
264
+ """
265
+ The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
266
+ """
267
+ concurrency_policy: NotRequired[pulumi.Input[str]]
268
+ """
269
+ Specifies how to treat concurrent executions of a Job. Valid values are:
270
+
271
+ - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
272
+ """
273
+ failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
274
+ """
275
+ The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
276
+ """
277
+ starting_deadline_seconds: NotRequired[pulumi.Input[int]]
278
+ """
279
+ Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
280
+ """
281
+ successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
282
+ """
283
+ The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
284
+ """
285
+ suspend: NotRequired[pulumi.Input[bool]]
286
+ """
287
+ This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
288
+ """
289
+ time_zone: NotRequired[pulumi.Input[str]]
290
+ """
291
+ The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
292
+ """
293
+ elif False:
294
+ CronJobSpecArgsDict: TypeAlias = Mapping[str, Any]
295
+
181
296
  @pulumi.input_type
182
297
  class CronJobSpecArgs:
183
298
  def __init__(__self__, *,
@@ -316,6 +431,26 @@ class CronJobSpecArgs:
316
431
  pulumi.set(self, "time_zone", value)
317
432
 
318
433
 
434
+ if not MYPY:
435
+ class CronJobStatusArgsDict(TypedDict):
436
+ """
437
+ CronJobStatus represents the current state of a cron job.
438
+ """
439
+ active: NotRequired[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgsDict']]]]
440
+ """
441
+ A list of pointers to currently running jobs.
442
+ """
443
+ last_schedule_time: NotRequired[pulumi.Input[str]]
444
+ """
445
+ Information when was the last time the job was successfully scheduled.
446
+ """
447
+ last_successful_time: NotRequired[pulumi.Input[str]]
448
+ """
449
+ Information when was the last time the job successfully completed.
450
+ """
451
+ elif False:
452
+ CronJobStatusArgsDict: TypeAlias = Mapping[str, Any]
453
+
319
454
  @pulumi.input_type
320
455
  class CronJobStatusArgs:
321
456
  def __init__(__self__, *,
@@ -372,6 +507,34 @@ class CronJobStatusArgs:
372
507
  pulumi.set(self, "last_successful_time", value)
373
508
 
374
509
 
510
+ if not MYPY:
511
+ class CronJobArgsDict(TypedDict):
512
+ """
513
+ CronJob represents the configuration of a single cron job.
514
+ """
515
+ api_version: NotRequired[pulumi.Input[str]]
516
+ """
517
+ APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
518
+ """
519
+ kind: NotRequired[pulumi.Input[str]]
520
+ """
521
+ Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
522
+ """
523
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
524
+ """
525
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
526
+ """
527
+ spec: NotRequired[pulumi.Input['CronJobSpecArgsDict']]
528
+ """
529
+ Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
530
+ """
531
+ status: NotRequired[pulumi.Input['CronJobStatusArgsDict']]
532
+ """
533
+ Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
534
+ """
535
+ elif False:
536
+ CronJobArgsDict: TypeAlias = Mapping[str, Any]
537
+
375
538
  @pulumi.input_type
376
539
  class CronJobArgs:
377
540
  def __init__(__self__, *,
@@ -460,6 +623,38 @@ class CronJobArgs:
460
623
  pulumi.set(self, "status", value)
461
624
 
462
625
 
626
+ if not MYPY:
627
+ class JobConditionArgsDict(TypedDict):
628
+ """
629
+ JobCondition describes current state of a job.
630
+ """
631
+ status: pulumi.Input[str]
632
+ """
633
+ Status of the condition, one of True, False, Unknown.
634
+ """
635
+ type: pulumi.Input[str]
636
+ """
637
+ Type of job condition, Complete or Failed.
638
+ """
639
+ last_probe_time: NotRequired[pulumi.Input[str]]
640
+ """
641
+ Last time the condition was checked.
642
+ """
643
+ last_transition_time: NotRequired[pulumi.Input[str]]
644
+ """
645
+ Last time the condition transit from one status to another.
646
+ """
647
+ message: NotRequired[pulumi.Input[str]]
648
+ """
649
+ Human readable message indicating details about last transition.
650
+ """
651
+ reason: NotRequired[pulumi.Input[str]]
652
+ """
653
+ (brief) reason for the condition's last transition.
654
+ """
655
+ elif False:
656
+ JobConditionArgsDict: TypeAlias = Mapping[str, Any]
657
+
463
658
  @pulumi.input_type
464
659
  class JobConditionArgs:
465
660
  def __init__(__self__, *,
@@ -562,6 +757,95 @@ class JobConditionArgs:
562
757
  pulumi.set(self, "reason", value)
563
758
 
564
759
 
760
+ if not MYPY:
761
+ class JobSpecPatchArgsDict(TypedDict):
762
+ """
763
+ JobSpec describes how the job execution will look like.
764
+ """
765
+ active_deadline_seconds: NotRequired[pulumi.Input[int]]
766
+ """
767
+ Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
768
+ """
769
+ backoff_limit: NotRequired[pulumi.Input[int]]
770
+ """
771
+ Specifies the number of retries before marking this job failed. Defaults to 6
772
+ """
773
+ backoff_limit_per_index: NotRequired[pulumi.Input[int]]
774
+ """
775
+ Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
776
+ """
777
+ completion_mode: NotRequired[pulumi.Input[str]]
778
+ """
779
+ completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
780
+
781
+ `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
782
+
783
+ `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
784
+
785
+ More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
786
+ """
787
+ completions: NotRequired[pulumi.Input[int]]
788
+ """
789
+ Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
790
+ """
791
+ managed_by: NotRequired[pulumi.Input[str]]
792
+ """
793
+ ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.
794
+
795
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
796
+ """
797
+ manual_selector: NotRequired[pulumi.Input[bool]]
798
+ """
799
+ manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
800
+ """
801
+ max_failed_indexes: NotRequired[pulumi.Input[int]]
802
+ """
803
+ Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
804
+ """
805
+ parallelism: NotRequired[pulumi.Input[int]]
806
+ """
807
+ Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
808
+ """
809
+ pod_failure_policy: NotRequired[pulumi.Input['PodFailurePolicyPatchArgsDict']]
810
+ """
811
+ Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
812
+
813
+ This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
814
+ """
815
+ pod_replacement_policy: NotRequired[pulumi.Input[str]]
816
+ """
817
+ podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
818
+ when they are terminating (has a metadata.deletionTimestamp) or failed.
819
+ - Failed means to wait until a previously created Pod is fully terminated (has phase
820
+ Failed or Succeeded) before creating a replacement Pod.
821
+
822
+ When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
823
+ """
824
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
825
+ """
826
+ A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
827
+ """
828
+ success_policy: NotRequired[pulumi.Input['SuccessPolicyPatchArgsDict']]
829
+ """
830
+ successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
831
+
832
+ This field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default).
833
+ """
834
+ suspend: NotRequired[pulumi.Input[bool]]
835
+ """
836
+ suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
837
+ """
838
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
839
+ """
840
+ Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
841
+ """
842
+ ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
843
+ """
844
+ ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
845
+ """
846
+ elif False:
847
+ JobSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
848
+
565
849
  @pulumi.input_type
566
850
  class JobSpecPatchArgs:
567
851
  def __init__(__self__, *,
@@ -860,6 +1144,95 @@ class JobSpecPatchArgs:
860
1144
  pulumi.set(self, "ttl_seconds_after_finished", value)
861
1145
 
862
1146
 
1147
+ if not MYPY:
1148
+ class JobSpecArgsDict(TypedDict):
1149
+ """
1150
+ JobSpec describes how the job execution will look like.
1151
+ """
1152
+ template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
1153
+ """
1154
+ Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1155
+ """
1156
+ active_deadline_seconds: NotRequired[pulumi.Input[int]]
1157
+ """
1158
+ Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
1159
+ """
1160
+ backoff_limit: NotRequired[pulumi.Input[int]]
1161
+ """
1162
+ Specifies the number of retries before marking this job failed. Defaults to 6
1163
+ """
1164
+ backoff_limit_per_index: NotRequired[pulumi.Input[int]]
1165
+ """
1166
+ Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1167
+ """
1168
+ completion_mode: NotRequired[pulumi.Input[str]]
1169
+ """
1170
+ completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
1171
+
1172
+ `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
1173
+
1174
+ `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
1175
+
1176
+ More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
1177
+ """
1178
+ completions: NotRequired[pulumi.Input[int]]
1179
+ """
1180
+ Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1181
+ """
1182
+ managed_by: NotRequired[pulumi.Input[str]]
1183
+ """
1184
+ ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.
1185
+
1186
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1187
+ """
1188
+ manual_selector: NotRequired[pulumi.Input[bool]]
1189
+ """
1190
+ manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1191
+ """
1192
+ max_failed_indexes: NotRequired[pulumi.Input[int]]
1193
+ """
1194
+ Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1195
+ """
1196
+ parallelism: NotRequired[pulumi.Input[int]]
1197
+ """
1198
+ Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1199
+ """
1200
+ pod_failure_policy: NotRequired[pulumi.Input['PodFailurePolicyArgsDict']]
1201
+ """
1202
+ Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
1203
+
1204
+ This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
1205
+ """
1206
+ pod_replacement_policy: NotRequired[pulumi.Input[str]]
1207
+ """
1208
+ podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
1209
+ when they are terminating (has a metadata.deletionTimestamp) or failed.
1210
+ - Failed means to wait until a previously created Pod is fully terminated (has phase
1211
+ Failed or Succeeded) before creating a replacement Pod.
1212
+
1213
+ When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
1214
+ """
1215
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1216
+ """
1217
+ A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
1218
+ """
1219
+ success_policy: NotRequired[pulumi.Input['SuccessPolicyArgsDict']]
1220
+ """
1221
+ successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
1222
+
1223
+ This field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default).
1224
+ """
1225
+ suspend: NotRequired[pulumi.Input[bool]]
1226
+ """
1227
+ suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
1228
+ """
1229
+ ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
1230
+ """
1231
+ ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
1232
+ """
1233
+ elif False:
1234
+ JobSpecArgsDict: TypeAlias = Mapping[str, Any]
1235
+
863
1236
  @pulumi.input_type
864
1237
  class JobSpecArgs:
865
1238
  def __init__(__self__, *,
@@ -1157,9 +1530,78 @@ class JobSpecArgs:
1157
1530
  pulumi.set(self, "ttl_seconds_after_finished", value)
1158
1531
 
1159
1532
 
1160
- @pulumi.input_type
1161
- class JobStatusArgs:
1162
- def __init__(__self__, *,
1533
+ if not MYPY:
1534
+ class JobStatusArgsDict(TypedDict):
1535
+ """
1536
+ JobStatus represents the current state of a Job.
1537
+ """
1538
+ active: NotRequired[pulumi.Input[int]]
1539
+ """
1540
+ The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1541
+ """
1542
+ completed_indexes: NotRequired[pulumi.Input[str]]
1543
+ """
1544
+ completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1545
+ """
1546
+ completion_time: NotRequired[pulumi.Input[str]]
1547
+ """
1548
+ Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1549
+ """
1550
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobConditionArgsDict']]]]
1551
+ """
1552
+ The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
1553
+
1554
+ A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
1555
+
1556
+ More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1557
+ """
1558
+ failed: NotRequired[pulumi.Input[int]]
1559
+ """
1560
+ The number of pods which reached phase Failed. The value increases monotonically.
1561
+ """
1562
+ failed_indexes: NotRequired[pulumi.Input[str]]
1563
+ """
1564
+ FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1565
+
1566
+ This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1567
+ """
1568
+ ready: NotRequired[pulumi.Input[int]]
1569
+ """
1570
+ The number of pods which have a Ready condition.
1571
+ """
1572
+ start_time: NotRequired[pulumi.Input[str]]
1573
+ """
1574
+ Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1575
+
1576
+ Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
1577
+ """
1578
+ succeeded: NotRequired[pulumi.Input[int]]
1579
+ """
1580
+ The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1581
+ """
1582
+ terminating: NotRequired[pulumi.Input[int]]
1583
+ """
1584
+ The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1585
+
1586
+ This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
1587
+ """
1588
+ uncounted_terminated_pods: NotRequired[pulumi.Input['UncountedTerminatedPodsArgsDict']]
1589
+ """
1590
+ uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
1591
+
1592
+ The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
1593
+
1594
+ 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
1595
+ counter.
1596
+
1597
+ Old jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.
1598
+ """
1599
+ elif False:
1600
+ JobStatusArgsDict: TypeAlias = Mapping[str, Any]
1601
+
1602
+ @pulumi.input_type
1603
+ class JobStatusArgs:
1604
+ def __init__(__self__, *,
1163
1605
  active: Optional[pulumi.Input[int]] = None,
1164
1606
  completed_indexes: Optional[pulumi.Input[str]] = None,
1165
1607
  completion_time: Optional[pulumi.Input[str]] = None,
@@ -1375,6 +1817,22 @@ class JobStatusArgs:
1375
1817
  pulumi.set(self, "uncounted_terminated_pods", value)
1376
1818
 
1377
1819
 
1820
+ if not MYPY:
1821
+ class JobTemplateSpecPatchArgsDict(TypedDict):
1822
+ """
1823
+ JobTemplateSpec describes the data a Job should have when created from a template
1824
+ """
1825
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaPatchArgsDict']]
1826
+ """
1827
+ Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1828
+ """
1829
+ spec: NotRequired[pulumi.Input['JobSpecPatchArgsDict']]
1830
+ """
1831
+ Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1832
+ """
1833
+ elif False:
1834
+ JobTemplateSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1835
+
1378
1836
  @pulumi.input_type
1379
1837
  class JobTemplateSpecPatchArgs:
1380
1838
  def __init__(__self__, *,
@@ -1415,6 +1873,22 @@ class JobTemplateSpecPatchArgs:
1415
1873
  pulumi.set(self, "spec", value)
1416
1874
 
1417
1875
 
1876
+ if not MYPY:
1877
+ class JobTemplateSpecArgsDict(TypedDict):
1878
+ """
1879
+ JobTemplateSpec describes the data a Job should have when created from a template
1880
+ """
1881
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1882
+ """
1883
+ Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1884
+ """
1885
+ spec: NotRequired[pulumi.Input['JobSpecArgsDict']]
1886
+ """
1887
+ Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1888
+ """
1889
+ elif False:
1890
+ JobTemplateSpecArgsDict: TypeAlias = Mapping[str, Any]
1891
+
1418
1892
  @pulumi.input_type
1419
1893
  class JobTemplateSpecArgs:
1420
1894
  def __init__(__self__, *,
@@ -1455,6 +1929,54 @@ class JobTemplateSpecArgs:
1455
1929
  pulumi.set(self, "spec", value)
1456
1930
 
1457
1931
 
1932
+ if not MYPY:
1933
+ class JobArgsDict(TypedDict):
1934
+ """
1935
+ Job represents the configuration of a single job.
1936
+
1937
+ This resource waits until its status is ready before registering success
1938
+ for create/update, and populating output properties from the current state of the resource.
1939
+ The following conditions are used to determine whether the resource creation has
1940
+ succeeded or failed:
1941
+
1942
+ 1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
1943
+ 2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set
1944
+ to 'True'.
1945
+ 3. The Job's '.status.conditions' do not have a status of type 'Failed', with a
1946
+ 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
1947
+
1948
+ If the Job has not reached a Ready state after 10 minutes, it will
1949
+ time out and mark the resource update as Failed. You can override the default timeout value
1950
+ by setting the 'customTimeouts' option on the resource.
1951
+
1952
+ By default, if a resource failed to become ready in a previous update,
1953
+ Pulumi will continue to wait for readiness on the next update. If you would prefer
1954
+ to schedule a replacement for an unready resource on the next update, you can add the
1955
+ "pulumi.com/replaceUnready": "true" annotation to the resource definition.
1956
+ """
1957
+ api_version: NotRequired[pulumi.Input[str]]
1958
+ """
1959
+ APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1960
+ """
1961
+ kind: NotRequired[pulumi.Input[str]]
1962
+ """
1963
+ Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1964
+ """
1965
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1966
+ """
1967
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1968
+ """
1969
+ spec: NotRequired[pulumi.Input['JobSpecArgsDict']]
1970
+ """
1971
+ Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1972
+ """
1973
+ status: NotRequired[pulumi.Input['JobStatusArgsDict']]
1974
+ """
1975
+ Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1976
+ """
1977
+ elif False:
1978
+ JobArgsDict: TypeAlias = Mapping[str, Any]
1979
+
1458
1980
  @pulumi.input_type
1459
1981
  class JobArgs:
1460
1982
  def __init__(__self__, *,
@@ -1563,6 +2085,34 @@ class JobArgs:
1563
2085
  pulumi.set(self, "status", value)
1564
2086
 
1565
2087
 
2088
+ if not MYPY:
2089
+ class PodFailurePolicyOnExitCodesRequirementPatchArgsDict(TypedDict):
2090
+ """
2091
+ PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
2092
+ """
2093
+ container_name: NotRequired[pulumi.Input[str]]
2094
+ """
2095
+ Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
2096
+ """
2097
+ operator: NotRequired[pulumi.Input[str]]
2098
+ """
2099
+ Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
2100
+
2101
+ - In: the requirement is satisfied if at least one container exit code
2102
+ (might be multiple if there are multiple containers not restricted
2103
+ by the 'containerName' field) is in the set of specified values.
2104
+ - NotIn: the requirement is satisfied if at least one container exit code
2105
+ (might be multiple if there are multiple containers not restricted
2106
+ by the 'containerName' field) is not in the set of specified values.
2107
+ Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
2108
+ """
2109
+ values: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
2110
+ """
2111
+ Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
2112
+ """
2113
+ elif False:
2114
+ PodFailurePolicyOnExitCodesRequirementPatchArgsDict: TypeAlias = Mapping[str, Any]
2115
+
1566
2116
  @pulumi.input_type
1567
2117
  class PodFailurePolicyOnExitCodesRequirementPatchArgs:
1568
2118
  def __init__(__self__, *,
@@ -1635,6 +2185,34 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
1635
2185
  pulumi.set(self, "values", value)
1636
2186
 
1637
2187
 
2188
+ if not MYPY:
2189
+ class PodFailurePolicyOnExitCodesRequirementArgsDict(TypedDict):
2190
+ """
2191
+ PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
2192
+ """
2193
+ operator: pulumi.Input[str]
2194
+ """
2195
+ Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
2196
+
2197
+ - In: the requirement is satisfied if at least one container exit code
2198
+ (might be multiple if there are multiple containers not restricted
2199
+ by the 'containerName' field) is in the set of specified values.
2200
+ - NotIn: the requirement is satisfied if at least one container exit code
2201
+ (might be multiple if there are multiple containers not restricted
2202
+ by the 'containerName' field) is not in the set of specified values.
2203
+ Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
2204
+ """
2205
+ values: pulumi.Input[Sequence[pulumi.Input[int]]]
2206
+ """
2207
+ Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
2208
+ """
2209
+ container_name: NotRequired[pulumi.Input[str]]
2210
+ """
2211
+ Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
2212
+ """
2213
+ elif False:
2214
+ PodFailurePolicyOnExitCodesRequirementArgsDict: TypeAlias = Mapping[str, Any]
2215
+
1638
2216
  @pulumi.input_type
1639
2217
  class PodFailurePolicyOnExitCodesRequirementArgs:
1640
2218
  def __init__(__self__, *,
@@ -1705,6 +2283,22 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
1705
2283
  pulumi.set(self, "container_name", value)
1706
2284
 
1707
2285
 
2286
+ if not MYPY:
2287
+ class PodFailurePolicyOnPodConditionsPatternPatchArgsDict(TypedDict):
2288
+ """
2289
+ PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2290
+ """
2291
+ status: NotRequired[pulumi.Input[str]]
2292
+ """
2293
+ Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2294
+ """
2295
+ type: NotRequired[pulumi.Input[str]]
2296
+ """
2297
+ Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2298
+ """
2299
+ elif False:
2300
+ PodFailurePolicyOnPodConditionsPatternPatchArgsDict: TypeAlias = Mapping[str, Any]
2301
+
1708
2302
  @pulumi.input_type
1709
2303
  class PodFailurePolicyOnPodConditionsPatternPatchArgs:
1710
2304
  def __init__(__self__, *,
@@ -1745,6 +2339,22 @@ class PodFailurePolicyOnPodConditionsPatternPatchArgs:
1745
2339
  pulumi.set(self, "type", value)
1746
2340
 
1747
2341
 
2342
+ if not MYPY:
2343
+ class PodFailurePolicyOnPodConditionsPatternArgsDict(TypedDict):
2344
+ """
2345
+ PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2346
+ """
2347
+ status: pulumi.Input[str]
2348
+ """
2349
+ Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2350
+ """
2351
+ type: pulumi.Input[str]
2352
+ """
2353
+ Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2354
+ """
2355
+ elif False:
2356
+ PodFailurePolicyOnPodConditionsPatternArgsDict: TypeAlias = Mapping[str, Any]
2357
+
1748
2358
  @pulumi.input_type
1749
2359
  class PodFailurePolicyOnPodConditionsPatternArgs:
1750
2360
  def __init__(__self__, *,
@@ -1783,6 +2393,18 @@ class PodFailurePolicyOnPodConditionsPatternArgs:
1783
2393
  pulumi.set(self, "type", value)
1784
2394
 
1785
2395
 
2396
+ if not MYPY:
2397
+ class PodFailurePolicyPatchArgsDict(TypedDict):
2398
+ """
2399
+ PodFailurePolicy describes how failed pods influence the backoffLimit.
2400
+ """
2401
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyRulePatchArgsDict']]]]
2402
+ """
2403
+ A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
2404
+ """
2405
+ elif False:
2406
+ PodFailurePolicyPatchArgsDict: TypeAlias = Mapping[str, Any]
2407
+
1786
2408
  @pulumi.input_type
1787
2409
  class PodFailurePolicyPatchArgs:
1788
2410
  def __init__(__self__, *,
@@ -1807,6 +2429,38 @@ class PodFailurePolicyPatchArgs:
1807
2429
  pulumi.set(self, "rules", value)
1808
2430
 
1809
2431
 
2432
+ if not MYPY:
2433
+ class PodFailurePolicyRulePatchArgsDict(TypedDict):
2434
+ """
2435
+ PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
2436
+ """
2437
+ action: NotRequired[pulumi.Input[str]]
2438
+ """
2439
+ Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2440
+
2441
+ - FailJob: indicates that the pod's job is marked as Failed and all
2442
+ running pods are terminated.
2443
+ - FailIndex: indicates that the pod's index is marked as Failed and will
2444
+ not be restarted.
2445
+ This value is beta-level. It can be used when the
2446
+ `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2447
+ - Ignore: indicates that the counter towards the .backoffLimit is not
2448
+ incremented and a replacement pod is created.
2449
+ - Count: indicates that the pod is handled in the default way - the
2450
+ counter towards the .backoffLimit is incremented.
2451
+ Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
2452
+ """
2453
+ on_exit_codes: NotRequired[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgsDict']]
2454
+ """
2455
+ Represents the requirement on the container exit codes.
2456
+ """
2457
+ on_pod_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternPatchArgsDict']]]]
2458
+ """
2459
+ Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
2460
+ """
2461
+ elif False:
2462
+ PodFailurePolicyRulePatchArgsDict: TypeAlias = Mapping[str, Any]
2463
+
1810
2464
  @pulumi.input_type
1811
2465
  class PodFailurePolicyRulePatchArgs:
1812
2466
  def __init__(__self__, *,
@@ -1887,6 +2541,38 @@ class PodFailurePolicyRulePatchArgs:
1887
2541
  pulumi.set(self, "on_pod_conditions", value)
1888
2542
 
1889
2543
 
2544
+ if not MYPY:
2545
+ class PodFailurePolicyRuleArgsDict(TypedDict):
2546
+ """
2547
+ PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
2548
+ """
2549
+ action: pulumi.Input[str]
2550
+ """
2551
+ Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2552
+
2553
+ - FailJob: indicates that the pod's job is marked as Failed and all
2554
+ running pods are terminated.
2555
+ - FailIndex: indicates that the pod's index is marked as Failed and will
2556
+ not be restarted.
2557
+ This value is beta-level. It can be used when the
2558
+ `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2559
+ - Ignore: indicates that the counter towards the .backoffLimit is not
2560
+ incremented and a replacement pod is created.
2561
+ - Count: indicates that the pod is handled in the default way - the
2562
+ counter towards the .backoffLimit is incremented.
2563
+ Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
2564
+ """
2565
+ on_exit_codes: NotRequired[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgsDict']]
2566
+ """
2567
+ Represents the requirement on the container exit codes.
2568
+ """
2569
+ on_pod_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternArgsDict']]]]
2570
+ """
2571
+ Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
2572
+ """
2573
+ elif False:
2574
+ PodFailurePolicyRuleArgsDict: TypeAlias = Mapping[str, Any]
2575
+
1890
2576
  @pulumi.input_type
1891
2577
  class PodFailurePolicyRuleArgs:
1892
2578
  def __init__(__self__, *,
@@ -1966,6 +2652,18 @@ class PodFailurePolicyRuleArgs:
1966
2652
  pulumi.set(self, "on_pod_conditions", value)
1967
2653
 
1968
2654
 
2655
+ if not MYPY:
2656
+ class PodFailurePolicyArgsDict(TypedDict):
2657
+ """
2658
+ PodFailurePolicy describes how failed pods influence the backoffLimit.
2659
+ """
2660
+ rules: pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyRuleArgsDict']]]
2661
+ """
2662
+ A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
2663
+ """
2664
+ elif False:
2665
+ PodFailurePolicyArgsDict: TypeAlias = Mapping[str, Any]
2666
+
1969
2667
  @pulumi.input_type
1970
2668
  class PodFailurePolicyArgs:
1971
2669
  def __init__(__self__, *,
@@ -1989,6 +2687,18 @@ class PodFailurePolicyArgs:
1989
2687
  pulumi.set(self, "rules", value)
1990
2688
 
1991
2689
 
2690
+ if not MYPY:
2691
+ class SuccessPolicyPatchArgsDict(TypedDict):
2692
+ """
2693
+ SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
2694
+ """
2695
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['SuccessPolicyRulePatchArgsDict']]]]
2696
+ """
2697
+ rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
2698
+ """
2699
+ elif False:
2700
+ SuccessPolicyPatchArgsDict: TypeAlias = Mapping[str, Any]
2701
+
1992
2702
  @pulumi.input_type
1993
2703
  class SuccessPolicyPatchArgs:
1994
2704
  def __init__(__self__, *,
@@ -2013,6 +2723,22 @@ class SuccessPolicyPatchArgs:
2013
2723
  pulumi.set(self, "rules", value)
2014
2724
 
2015
2725
 
2726
+ if not MYPY:
2727
+ class SuccessPolicyRulePatchArgsDict(TypedDict):
2728
+ """
2729
+ SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
2730
+ """
2731
+ succeeded_count: NotRequired[pulumi.Input[int]]
2732
+ """
2733
+ succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2734
+ """
2735
+ succeeded_indexes: NotRequired[pulumi.Input[str]]
2736
+ """
2737
+ succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2738
+ """
2739
+ elif False:
2740
+ SuccessPolicyRulePatchArgsDict: TypeAlias = Mapping[str, Any]
2741
+
2016
2742
  @pulumi.input_type
2017
2743
  class SuccessPolicyRulePatchArgs:
2018
2744
  def __init__(__self__, *,
@@ -2053,6 +2779,22 @@ class SuccessPolicyRulePatchArgs:
2053
2779
  pulumi.set(self, "succeeded_indexes", value)
2054
2780
 
2055
2781
 
2782
+ if not MYPY:
2783
+ class SuccessPolicyRuleArgsDict(TypedDict):
2784
+ """
2785
+ SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
2786
+ """
2787
+ succeeded_count: NotRequired[pulumi.Input[int]]
2788
+ """
2789
+ succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2790
+ """
2791
+ succeeded_indexes: NotRequired[pulumi.Input[str]]
2792
+ """
2793
+ succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2794
+ """
2795
+ elif False:
2796
+ SuccessPolicyRuleArgsDict: TypeAlias = Mapping[str, Any]
2797
+
2056
2798
  @pulumi.input_type
2057
2799
  class SuccessPolicyRuleArgs:
2058
2800
  def __init__(__self__, *,
@@ -2093,6 +2835,18 @@ class SuccessPolicyRuleArgs:
2093
2835
  pulumi.set(self, "succeeded_indexes", value)
2094
2836
 
2095
2837
 
2838
+ if not MYPY:
2839
+ class SuccessPolicyArgsDict(TypedDict):
2840
+ """
2841
+ SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
2842
+ """
2843
+ rules: pulumi.Input[Sequence[pulumi.Input['SuccessPolicyRuleArgsDict']]]
2844
+ """
2845
+ rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
2846
+ """
2847
+ elif False:
2848
+ SuccessPolicyArgsDict: TypeAlias = Mapping[str, Any]
2849
+
2096
2850
  @pulumi.input_type
2097
2851
  class SuccessPolicyArgs:
2098
2852
  def __init__(__self__, *,
@@ -2116,6 +2870,22 @@ class SuccessPolicyArgs:
2116
2870
  pulumi.set(self, "rules", value)
2117
2871
 
2118
2872
 
2873
+ if not MYPY:
2874
+ class UncountedTerminatedPodsArgsDict(TypedDict):
2875
+ """
2876
+ UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
2877
+ """
2878
+ failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2879
+ """
2880
+ failed holds UIDs of failed Pods.
2881
+ """
2882
+ succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2883
+ """
2884
+ succeeded holds UIDs of succeeded Pods.
2885
+ """
2886
+ elif False:
2887
+ UncountedTerminatedPodsArgsDict: TypeAlias = Mapping[str, Any]
2888
+
2119
2889
  @pulumi.input_type
2120
2890
  class UncountedTerminatedPodsArgs:
2121
2891
  def __init__(__self__, *,