pulumi-kubernetes 4.10.0a1710355461__py3-none-any.whl → 4.20.0a1736823142__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.

Potentially problematic release.


This version of pulumi-kubernetes might be problematic. Click here for more details.

Files changed (598) hide show
  1. pulumi_kubernetes/__init__.py +123 -3
  2. pulumi_kubernetes/_inputs.py +63 -6
  3. pulumi_kubernetes/_utilities.py +41 -5
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
  6. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +226 -0
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +224 -0
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +215 -0
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +236 -0
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +215 -0
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +238 -0
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
  15. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
  16. pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
  17. pulumi_kubernetes/admissionregistration/v1/_inputs.py +4571 -939
  18. pulumi_kubernetes/admissionregistration/v1/outputs.py +2880 -470
  19. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
  20. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
  21. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
  22. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
  23. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
  24. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
  25. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +12 -7
  26. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +12 -15
  27. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +29 -23
  28. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +12 -15
  29. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +29 -23
  30. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +12 -7
  31. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
  32. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2514 -141
  33. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1370 -246
  34. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
  35. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
  36. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
  37. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +12 -7
  38. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +12 -7
  39. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +29 -23
  40. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +12 -7
  41. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +29 -23
  42. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +12 -7
  43. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
  44. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
  45. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
  46. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1522 -42
  47. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +9 -4
  48. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
  49. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
  50. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
  51. pulumi_kubernetes/apiextensions/v1/_inputs.py +1175 -12
  52. pulumi_kubernetes/apiextensions/v1/outputs.py +122 -8
  53. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
  54. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
  55. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
  56. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
  57. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
  58. pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
  59. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
  60. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
  61. pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
  62. pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
  63. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
  64. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
  65. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
  66. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
  67. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
  68. pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
  69. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
  70. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
  71. pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
  72. pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
  73. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
  74. pulumi_kubernetes/apps/v1/Deployment.py +11 -6
  75. pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
  76. pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
  77. pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
  78. pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
  79. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
  80. pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
  81. pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
  82. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
  83. pulumi_kubernetes/apps/v1/_inputs.py +1057 -8
  84. pulumi_kubernetes/apps/v1/outputs.py +13 -8
  85. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
  86. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
  87. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
  88. pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
  89. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
  90. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
  91. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
  92. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
  93. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
  94. pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
  95. pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
  96. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
  97. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
  98. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
  99. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
  100. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
  101. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
  102. pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
  103. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
  104. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
  105. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
  106. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
  107. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
  108. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
  109. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
  110. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
  111. pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
  112. pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
  113. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
  114. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
  115. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
  116. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
  117. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
  118. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
  119. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
  120. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
  121. pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
  122. pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
  123. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
  124. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
  125. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
  126. pulumi_kubernetes/autoscaling/v2/_inputs.py +815 -10
  127. pulumi_kubernetes/autoscaling/v2/outputs.py +17 -12
  128. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
  129. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
  130. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
  131. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
  132. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
  133. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
  134. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
  135. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
  136. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
  137. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
  138. pulumi_kubernetes/batch/v1/CronJob.py +11 -6
  139. pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
  140. pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
  141. pulumi_kubernetes/batch/v1/Job.py +11 -6
  142. pulumi_kubernetes/batch/v1/JobList.py +11 -6
  143. pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
  144. pulumi_kubernetes/batch/v1/_inputs.py +1070 -85
  145. pulumi_kubernetes/batch/v1/outputs.py +298 -40
  146. pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
  147. pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
  148. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
  149. pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
  150. pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
  151. pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
  152. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
  153. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
  154. pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
  155. pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
  156. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
  157. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
  158. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
  159. pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
  160. pulumi_kubernetes/certificates/v1/outputs.py +5 -0
  161. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
  162. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
  163. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
  164. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
  165. pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
  166. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
  167. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
  168. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
  169. pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
  170. pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
  171. pulumi_kubernetes/coordination/__init__.py +6 -0
  172. pulumi_kubernetes/coordination/v1/Lease.py +11 -6
  173. pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
  174. pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
  175. pulumi_kubernetes/coordination/v1/_inputs.py +180 -10
  176. pulumi_kubernetes/coordination/v1/outputs.py +67 -10
  177. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +216 -0
  178. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
  179. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +228 -0
  180. pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
  181. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
  182. pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
  183. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
  184. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
  185. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
  186. pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
  187. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
  188. pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
  189. pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
  190. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
  191. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
  192. pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
  193. pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
  194. pulumi_kubernetes/core/v1/Binding.py +13 -8
  195. pulumi_kubernetes/core/v1/BindingPatch.py +13 -8
  196. pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
  197. pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
  198. pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
  199. pulumi_kubernetes/core/v1/Endpoints.py +11 -6
  200. pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
  201. pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
  202. pulumi_kubernetes/core/v1/Event.py +20 -15
  203. pulumi_kubernetes/core/v1/EventList.py +11 -6
  204. pulumi_kubernetes/core/v1/EventPatch.py +20 -15
  205. pulumi_kubernetes/core/v1/LimitRange.py +11 -6
  206. pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
  207. pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
  208. pulumi_kubernetes/core/v1/Namespace.py +11 -6
  209. pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
  210. pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
  211. pulumi_kubernetes/core/v1/Node.py +11 -6
  212. pulumi_kubernetes/core/v1/NodeList.py +11 -6
  213. pulumi_kubernetes/core/v1/NodePatch.py +11 -6
  214. pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
  215. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
  216. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
  217. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
  218. pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
  219. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
  220. pulumi_kubernetes/core/v1/Pod.py +11 -6
  221. pulumi_kubernetes/core/v1/PodList.py +11 -6
  222. pulumi_kubernetes/core/v1/PodPatch.py +11 -6
  223. pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
  224. pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
  225. pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
  226. pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
  227. pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
  228. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
  229. pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
  230. pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
  231. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
  232. pulumi_kubernetes/core/v1/Secret.py +8 -3
  233. pulumi_kubernetes/core/v1/SecretList.py +11 -6
  234. pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
  235. pulumi_kubernetes/core/v1/Service.py +17 -28
  236. pulumi_kubernetes/core/v1/ServiceAccount.py +17 -12
  237. pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
  238. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +17 -12
  239. pulumi_kubernetes/core/v1/ServiceList.py +11 -6
  240. pulumi_kubernetes/core/v1/ServicePatch.py +17 -28
  241. pulumi_kubernetes/core/v1/_inputs.py +11760 -756
  242. pulumi_kubernetes/core/v1/outputs.py +2131 -448
  243. pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
  244. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
  245. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
  246. pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
  247. pulumi_kubernetes/discovery/v1/outputs.py +5 -0
  248. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
  249. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
  250. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
  251. pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
  252. pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
  253. pulumi_kubernetes/events/v1/Event.py +20 -15
  254. pulumi_kubernetes/events/v1/EventList.py +11 -6
  255. pulumi_kubernetes/events/v1/EventPatch.py +20 -15
  256. pulumi_kubernetes/events/v1/_inputs.py +118 -0
  257. pulumi_kubernetes/events/v1/outputs.py +5 -0
  258. pulumi_kubernetes/events/v1beta1/Event.py +19 -14
  259. pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
  260. pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
  261. pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
  262. pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
  263. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
  264. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
  265. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
  266. pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
  267. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
  268. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
  269. pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
  270. pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
  271. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
  272. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
  273. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
  274. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
  275. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
  276. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
  277. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
  278. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
  279. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
  280. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
  281. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
  282. pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
  283. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
  284. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
  285. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
  286. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
  287. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
  288. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
  289. pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
  290. pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
  291. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
  292. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
  293. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
  294. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
  295. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
  296. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
  297. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
  298. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
  299. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
  300. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
  301. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
  302. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
  303. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
  304. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
  305. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
  306. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
  307. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
  308. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
  309. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
  310. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
  311. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
  312. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
  313. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
  314. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
  315. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
  316. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
  317. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
  318. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
  319. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
  320. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
  321. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +779 -8
  322. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +13 -8
  323. pulumi_kubernetes/helm/__init__.py +3 -0
  324. pulumi_kubernetes/helm/v3/Release.py +8 -3
  325. pulumi_kubernetes/helm/v3/_inputs.py +42 -2
  326. pulumi_kubernetes/helm/v3/outputs.py +7 -2
  327. pulumi_kubernetes/helm/v4/Chart.py +721 -0
  328. pulumi_kubernetes/helm/v4/__init__.py +9 -0
  329. pulumi_kubernetes/helm/v4/_inputs.py +216 -0
  330. pulumi_kubernetes/kustomize/__init__.py +8 -0
  331. pulumi_kubernetes/kustomize/v2/Directory.py +219 -0
  332. pulumi_kubernetes/kustomize/v2/__init__.py +8 -0
  333. pulumi_kubernetes/meta/v1/Status.py +11 -6
  334. pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
  335. pulumi_kubernetes/meta/v1/_inputs.py +596 -0
  336. pulumi_kubernetes/meta/v1/outputs.py +5 -0
  337. pulumi_kubernetes/networking/v1/Ingress.py +11 -6
  338. pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
  339. pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
  340. pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
  341. pulumi_kubernetes/networking/v1/IngressList.py +11 -6
  342. pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
  343. pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
  344. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
  345. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
  346. pulumi_kubernetes/networking/v1/_inputs.py +840 -0
  347. pulumi_kubernetes/networking/v1/outputs.py +5 -0
  348. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
  349. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
  350. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
  351. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +13 -6
  352. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
  353. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +13 -6
  354. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +13 -6
  355. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
  356. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +13 -6
  357. pulumi_kubernetes/networking/v1alpha1/_inputs.py +293 -37
  358. pulumi_kubernetes/networking/v1alpha1/outputs.py +26 -24
  359. pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
  360. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
  361. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
  362. pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
  363. pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
  364. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
  365. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
  366. pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
  367. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
  368. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
  369. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
  370. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
  371. pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
  372. pulumi_kubernetes/networking/v1beta1/_inputs.py +984 -11
  373. pulumi_kubernetes/networking/v1beta1/outputs.py +466 -0
  374. pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
  375. pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
  376. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
  377. pulumi_kubernetes/node/v1/_inputs.py +101 -0
  378. pulumi_kubernetes/node/v1/outputs.py +5 -0
  379. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
  380. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
  381. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
  382. pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
  383. pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
  384. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
  385. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
  386. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
  387. pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
  388. pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
  389. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
  390. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
  391. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
  392. pulumi_kubernetes/policy/v1/_inputs.py +151 -0
  393. pulumi_kubernetes/policy/v1/outputs.py +5 -0
  394. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
  395. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
  396. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
  397. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
  398. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
  399. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
  400. pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
  401. pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
  402. pulumi_kubernetes/provider.py +82 -6
  403. pulumi_kubernetes/pulumi-plugin.json +2 -1
  404. pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
  405. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
  406. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
  407. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
  408. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
  409. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
  410. pulumi_kubernetes/rbac/v1/Role.py +11 -6
  411. pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
  412. pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
  413. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
  414. pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
  415. pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
  416. pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
  417. pulumi_kubernetes/rbac/v1/outputs.py +5 -0
  418. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
  419. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
  420. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
  421. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
  422. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
  423. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
  424. pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
  425. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
  426. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
  427. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
  428. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
  429. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
  430. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
  431. pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
  432. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
  433. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
  434. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
  435. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
  436. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
  437. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
  438. pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
  439. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
  440. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
  441. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
  442. pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
  443. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
  444. pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
  445. pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
  446. pulumi_kubernetes/resource/__init__.py +6 -0
  447. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
  448. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
  449. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
  450. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +12 -7
  451. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
  452. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +12 -7
  453. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +12 -7
  454. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
  455. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +12 -7
  456. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
  457. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
  458. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
  459. pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
  460. pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
  461. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +13 -6
  462. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
  463. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +13 -6
  464. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +12 -7
  465. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
  466. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +280 -0
  467. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +215 -0
  468. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +292 -0
  469. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +12 -7
  470. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +12 -7
  471. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
  472. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +12 -7
  473. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +43 -9
  474. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
  475. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +272 -0
  476. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +215 -0
  477. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +284 -0
  478. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +43 -9
  479. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +283 -0
  480. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +215 -0
  481. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +294 -0
  482. pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
  483. pulumi_kubernetes/resource/v1alpha2/_inputs.py +3177 -634
  484. pulumi_kubernetes/resource/v1alpha2/outputs.py +2628 -880
  485. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +238 -0
  486. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
  487. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +249 -0
  488. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
  489. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
  490. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
  491. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
  492. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
  493. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
  494. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
  495. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
  496. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
  497. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
  498. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
  499. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
  500. pulumi_kubernetes/resource/v1alpha3/__init__.py +24 -0
  501. pulumi_kubernetes/resource/v1alpha3/_inputs.py +4372 -0
  502. pulumi_kubernetes/resource/v1alpha3/outputs.py +3914 -0
  503. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
  504. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
  505. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
  506. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
  507. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
  508. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
  509. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
  510. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
  511. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
  512. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
  513. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
  514. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
  515. pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
  516. pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
  517. pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
  518. pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
  519. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
  520. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
  521. pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
  522. pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
  523. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
  524. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
  525. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
  526. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
  527. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
  528. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
  529. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
  530. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
  531. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
  532. pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
  533. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
  534. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
  535. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
  536. pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
  537. pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
  538. pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
  539. pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
  540. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
  541. pulumi_kubernetes/storage/v1/CSINode.py +11 -6
  542. pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
  543. pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
  544. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
  545. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
  546. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
  547. pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
  548. pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
  549. pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
  550. pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
  551. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
  552. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
  553. pulumi_kubernetes/storage/v1/_inputs.py +624 -10
  554. pulumi_kubernetes/storage/v1/outputs.py +17 -12
  555. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
  556. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
  557. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
  558. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +10 -3
  559. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
  560. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +10 -3
  561. pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
  562. pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
  563. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
  564. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
  565. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
  566. pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
  567. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
  568. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
  569. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
  570. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
  571. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
  572. pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
  573. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
  574. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
  575. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
  576. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
  577. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
  578. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
  579. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
  580. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
  581. pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
  582. pulumi_kubernetes/storage/v1beta1/_inputs.py +689 -0
  583. pulumi_kubernetes/storage/v1beta1/outputs.py +99 -0
  584. pulumi_kubernetes/storagemigration/__init__.py +14 -0
  585. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +224 -0
  586. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +215 -0
  587. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +236 -0
  588. pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
  589. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +585 -0
  590. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +593 -0
  591. pulumi_kubernetes/yaml/v2/ConfigFile.py +81 -4
  592. pulumi_kubernetes/yaml/v2/ConfigGroup.py +123 -42
  593. pulumi_kubernetes/yaml/yaml.py +264 -0
  594. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/METADATA +8 -7
  595. pulumi_kubernetes-4.20.0a1736823142.dist-info/RECORD +679 -0
  596. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/WHEEL +1 -1
  597. pulumi_kubernetes-4.10.0a1710355461.dist-info/RECORD +0 -592
  598. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/top_level.txt +0 -0
@@ -4,53 +4,125 @@
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
  'ControllerRevisionArgs',
21
+ 'ControllerRevisionArgsDict',
16
22
  'DaemonSetConditionArgs',
23
+ 'DaemonSetConditionArgsDict',
17
24
  'DaemonSetSpecPatchArgs',
25
+ 'DaemonSetSpecPatchArgsDict',
18
26
  'DaemonSetSpecArgs',
27
+ 'DaemonSetSpecArgsDict',
19
28
  'DaemonSetStatusArgs',
29
+ 'DaemonSetStatusArgsDict',
20
30
  'DaemonSetUpdateStrategyPatchArgs',
31
+ 'DaemonSetUpdateStrategyPatchArgsDict',
21
32
  'DaemonSetUpdateStrategyArgs',
33
+ 'DaemonSetUpdateStrategyArgsDict',
22
34
  'DaemonSetArgs',
35
+ 'DaemonSetArgsDict',
23
36
  'DeploymentConditionArgs',
37
+ 'DeploymentConditionArgsDict',
24
38
  'DeploymentSpecPatchArgs',
39
+ 'DeploymentSpecPatchArgsDict',
25
40
  'DeploymentSpecArgs',
41
+ 'DeploymentSpecArgsDict',
26
42
  'DeploymentStatusArgs',
43
+ 'DeploymentStatusArgsDict',
27
44
  'DeploymentStrategyPatchArgs',
45
+ 'DeploymentStrategyPatchArgsDict',
28
46
  'DeploymentStrategyArgs',
47
+ 'DeploymentStrategyArgsDict',
29
48
  'DeploymentArgs',
49
+ 'DeploymentArgsDict',
30
50
  'ReplicaSetConditionArgs',
51
+ 'ReplicaSetConditionArgsDict',
31
52
  'ReplicaSetSpecPatchArgs',
53
+ 'ReplicaSetSpecPatchArgsDict',
32
54
  'ReplicaSetSpecArgs',
55
+ 'ReplicaSetSpecArgsDict',
33
56
  'ReplicaSetStatusArgs',
57
+ 'ReplicaSetStatusArgsDict',
34
58
  'ReplicaSetArgs',
59
+ 'ReplicaSetArgsDict',
35
60
  'RollingUpdateDaemonSetPatchArgs',
61
+ 'RollingUpdateDaemonSetPatchArgsDict',
36
62
  'RollingUpdateDaemonSetArgs',
63
+ 'RollingUpdateDaemonSetArgsDict',
37
64
  'RollingUpdateDeploymentPatchArgs',
65
+ 'RollingUpdateDeploymentPatchArgsDict',
38
66
  'RollingUpdateDeploymentArgs',
67
+ 'RollingUpdateDeploymentArgsDict',
39
68
  'RollingUpdateStatefulSetStrategyPatchArgs',
69
+ 'RollingUpdateStatefulSetStrategyPatchArgsDict',
40
70
  'RollingUpdateStatefulSetStrategyArgs',
71
+ 'RollingUpdateStatefulSetStrategyArgsDict',
41
72
  'StatefulSetConditionArgs',
73
+ 'StatefulSetConditionArgsDict',
42
74
  'StatefulSetOrdinalsPatchArgs',
75
+ 'StatefulSetOrdinalsPatchArgsDict',
43
76
  'StatefulSetOrdinalsArgs',
77
+ 'StatefulSetOrdinalsArgsDict',
44
78
  'StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs',
79
+ 'StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgsDict',
45
80
  'StatefulSetPersistentVolumeClaimRetentionPolicyArgs',
81
+ 'StatefulSetPersistentVolumeClaimRetentionPolicyArgsDict',
46
82
  'StatefulSetSpecPatchArgs',
83
+ 'StatefulSetSpecPatchArgsDict',
47
84
  'StatefulSetSpecArgs',
85
+ 'StatefulSetSpecArgsDict',
48
86
  'StatefulSetStatusArgs',
87
+ 'StatefulSetStatusArgsDict',
49
88
  'StatefulSetUpdateStrategyPatchArgs',
89
+ 'StatefulSetUpdateStrategyPatchArgsDict',
50
90
  'StatefulSetUpdateStrategyArgs',
91
+ 'StatefulSetUpdateStrategyArgsDict',
51
92
  'StatefulSetArgs',
93
+ 'StatefulSetArgsDict',
52
94
  ]
53
95
 
96
+ MYPY = False
97
+
98
+ if not MYPY:
99
+ class ControllerRevisionArgsDict(TypedDict):
100
+ """
101
+ ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
102
+ """
103
+ revision: pulumi.Input[int]
104
+ """
105
+ Revision indicates the revision of the state represented by Data.
106
+ """
107
+ api_version: NotRequired[pulumi.Input[str]]
108
+ """
109
+ 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
110
+ """
111
+ data: NotRequired[Any]
112
+ """
113
+ Data is the serialized representation of the state.
114
+ """
115
+ kind: NotRequired[pulumi.Input[str]]
116
+ """
117
+ 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
118
+ """
119
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
120
+ """
121
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
122
+ """
123
+ elif False:
124
+ ControllerRevisionArgsDict: TypeAlias = Mapping[str, Any]
125
+
54
126
  @pulumi.input_type
55
127
  class ControllerRevisionArgs:
56
128
  def __init__(__self__, *,
@@ -138,6 +210,34 @@ class ControllerRevisionArgs:
138
210
  pulumi.set(self, "metadata", value)
139
211
 
140
212
 
213
+ if not MYPY:
214
+ class DaemonSetConditionArgsDict(TypedDict):
215
+ """
216
+ DaemonSetCondition describes the state of a DaemonSet at a certain point.
217
+ """
218
+ status: pulumi.Input[str]
219
+ """
220
+ Status of the condition, one of True, False, Unknown.
221
+ """
222
+ type: pulumi.Input[str]
223
+ """
224
+ Type of DaemonSet condition.
225
+ """
226
+ last_transition_time: NotRequired[pulumi.Input[str]]
227
+ """
228
+ Last time the condition transitioned from one status to another.
229
+ """
230
+ message: NotRequired[pulumi.Input[str]]
231
+ """
232
+ A human readable message indicating details about the transition.
233
+ """
234
+ reason: NotRequired[pulumi.Input[str]]
235
+ """
236
+ The reason for the condition's last transition.
237
+ """
238
+ elif False:
239
+ DaemonSetConditionArgsDict: TypeAlias = Mapping[str, Any]
240
+
141
241
  @pulumi.input_type
142
242
  class DaemonSetConditionArgs:
143
243
  def __init__(__self__, *,
@@ -224,6 +324,34 @@ class DaemonSetConditionArgs:
224
324
  pulumi.set(self, "reason", value)
225
325
 
226
326
 
327
+ if not MYPY:
328
+ class DaemonSetSpecPatchArgsDict(TypedDict):
329
+ """
330
+ DaemonSetSpec is the specification of a daemon set.
331
+ """
332
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
333
+ """
334
+ The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
335
+ """
336
+ revision_history_limit: NotRequired[pulumi.Input[int]]
337
+ """
338
+ The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
339
+ """
340
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
341
+ """
342
+ A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
343
+ """
344
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
345
+ """
346
+ An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
347
+ """
348
+ update_strategy: NotRequired[pulumi.Input['DaemonSetUpdateStrategyPatchArgsDict']]
349
+ """
350
+ An update strategy to replace existing DaemonSet pods with new pods.
351
+ """
352
+ elif False:
353
+ DaemonSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
354
+
227
355
  @pulumi.input_type
228
356
  class DaemonSetSpecPatchArgs:
229
357
  def __init__(__self__, *,
@@ -312,6 +440,34 @@ class DaemonSetSpecPatchArgs:
312
440
  pulumi.set(self, "update_strategy", value)
313
441
 
314
442
 
443
+ if not MYPY:
444
+ class DaemonSetSpecArgsDict(TypedDict):
445
+ """
446
+ DaemonSetSpec is the specification of a daemon set.
447
+ """
448
+ selector: pulumi.Input['_meta.v1.LabelSelectorArgsDict']
449
+ """
450
+ A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
451
+ """
452
+ template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
453
+ """
454
+ An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
455
+ """
456
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
457
+ """
458
+ The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
459
+ """
460
+ revision_history_limit: NotRequired[pulumi.Input[int]]
461
+ """
462
+ The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
463
+ """
464
+ update_strategy: NotRequired[pulumi.Input['DaemonSetUpdateStrategyArgsDict']]
465
+ """
466
+ An update strategy to replace existing DaemonSet pods with new pods.
467
+ """
468
+ elif False:
469
+ DaemonSetSpecArgsDict: TypeAlias = Mapping[str, Any]
470
+
315
471
  @pulumi.input_type
316
472
  class DaemonSetSpecArgs:
317
473
  def __init__(__self__, *,
@@ -398,6 +554,54 @@ class DaemonSetSpecArgs:
398
554
  pulumi.set(self, "update_strategy", value)
399
555
 
400
556
 
557
+ if not MYPY:
558
+ class DaemonSetStatusArgsDict(TypedDict):
559
+ """
560
+ DaemonSetStatus represents the current status of a daemon set.
561
+ """
562
+ current_number_scheduled: pulumi.Input[int]
563
+ """
564
+ The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
565
+ """
566
+ desired_number_scheduled: pulumi.Input[int]
567
+ """
568
+ The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
569
+ """
570
+ number_misscheduled: pulumi.Input[int]
571
+ """
572
+ The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
573
+ """
574
+ number_ready: pulumi.Input[int]
575
+ """
576
+ numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.
577
+ """
578
+ collision_count: NotRequired[pulumi.Input[int]]
579
+ """
580
+ Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
581
+ """
582
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgsDict']]]]
583
+ """
584
+ Represents the latest available observations of a DaemonSet's current state.
585
+ """
586
+ number_available: NotRequired[pulumi.Input[int]]
587
+ """
588
+ The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
589
+ """
590
+ number_unavailable: NotRequired[pulumi.Input[int]]
591
+ """
592
+ The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
593
+ """
594
+ observed_generation: NotRequired[pulumi.Input[int]]
595
+ """
596
+ The most recent generation observed by the daemon set controller.
597
+ """
598
+ updated_number_scheduled: NotRequired[pulumi.Input[int]]
599
+ """
600
+ The total number of nodes that are running updated daemon pod
601
+ """
602
+ elif False:
603
+ DaemonSetStatusArgsDict: TypeAlias = Mapping[str, Any]
604
+
401
605
  @pulumi.input_type
402
606
  class DaemonSetStatusArgs:
403
607
  def __init__(__self__, *,
@@ -562,6 +766,22 @@ class DaemonSetStatusArgs:
562
766
  pulumi.set(self, "updated_number_scheduled", value)
563
767
 
564
768
 
769
+ if not MYPY:
770
+ class DaemonSetUpdateStrategyPatchArgsDict(TypedDict):
771
+ """
772
+ DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
773
+ """
774
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateDaemonSetPatchArgsDict']]
775
+ """
776
+ Rolling update config params. Present only if type = "RollingUpdate".
777
+ """
778
+ type: NotRequired[pulumi.Input[str]]
779
+ """
780
+ Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
781
+ """
782
+ elif False:
783
+ DaemonSetUpdateStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
784
+
565
785
  @pulumi.input_type
566
786
  class DaemonSetUpdateStrategyPatchArgs:
567
787
  def __init__(__self__, *,
@@ -602,6 +822,22 @@ class DaemonSetUpdateStrategyPatchArgs:
602
822
  pulumi.set(self, "type", value)
603
823
 
604
824
 
825
+ if not MYPY:
826
+ class DaemonSetUpdateStrategyArgsDict(TypedDict):
827
+ """
828
+ DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
829
+ """
830
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateDaemonSetArgsDict']]
831
+ """
832
+ Rolling update config params. Present only if type = "RollingUpdate".
833
+ """
834
+ type: NotRequired[pulumi.Input[str]]
835
+ """
836
+ Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
837
+ """
838
+ elif False:
839
+ DaemonSetUpdateStrategyArgsDict: TypeAlias = Mapping[str, Any]
840
+
605
841
  @pulumi.input_type
606
842
  class DaemonSetUpdateStrategyArgs:
607
843
  def __init__(__self__, *,
@@ -642,6 +878,34 @@ class DaemonSetUpdateStrategyArgs:
642
878
  pulumi.set(self, "type", value)
643
879
 
644
880
 
881
+ if not MYPY:
882
+ class DaemonSetArgsDict(TypedDict):
883
+ """
884
+ DaemonSet represents the configuration of a daemon set.
885
+ """
886
+ api_version: NotRequired[pulumi.Input[str]]
887
+ """
888
+ 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
889
+ """
890
+ kind: NotRequired[pulumi.Input[str]]
891
+ """
892
+ 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
893
+ """
894
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
895
+ """
896
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
897
+ """
898
+ spec: NotRequired[pulumi.Input['DaemonSetSpecArgsDict']]
899
+ """
900
+ The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
901
+ """
902
+ status: NotRequired[pulumi.Input['DaemonSetStatusArgsDict']]
903
+ """
904
+ The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
905
+ """
906
+ elif False:
907
+ DaemonSetArgsDict: TypeAlias = Mapping[str, Any]
908
+
645
909
  @pulumi.input_type
646
910
  class DaemonSetArgs:
647
911
  def __init__(__self__, *,
@@ -730,6 +994,38 @@ class DaemonSetArgs:
730
994
  pulumi.set(self, "status", value)
731
995
 
732
996
 
997
+ if not MYPY:
998
+ class DeploymentConditionArgsDict(TypedDict):
999
+ """
1000
+ DeploymentCondition describes the state of a deployment at a certain point.
1001
+ """
1002
+ status: pulumi.Input[str]
1003
+ """
1004
+ Status of the condition, one of True, False, Unknown.
1005
+ """
1006
+ type: pulumi.Input[str]
1007
+ """
1008
+ Type of deployment condition.
1009
+ """
1010
+ last_transition_time: NotRequired[pulumi.Input[str]]
1011
+ """
1012
+ Last time the condition transitioned from one status to another.
1013
+ """
1014
+ last_update_time: NotRequired[pulumi.Input[str]]
1015
+ """
1016
+ The last time this condition was updated.
1017
+ """
1018
+ message: NotRequired[pulumi.Input[str]]
1019
+ """
1020
+ A human readable message indicating details about the transition.
1021
+ """
1022
+ reason: NotRequired[pulumi.Input[str]]
1023
+ """
1024
+ The reason for the condition's last transition.
1025
+ """
1026
+ elif False:
1027
+ DeploymentConditionArgsDict: TypeAlias = Mapping[str, Any]
1028
+
733
1029
  @pulumi.input_type
734
1030
  class DeploymentConditionArgs:
735
1031
  def __init__(__self__, *,
@@ -832,6 +1128,46 @@ class DeploymentConditionArgs:
832
1128
  pulumi.set(self, "reason", value)
833
1129
 
834
1130
 
1131
+ if not MYPY:
1132
+ class DeploymentSpecPatchArgsDict(TypedDict):
1133
+ """
1134
+ DeploymentSpec is the specification of the desired behavior of the Deployment.
1135
+ """
1136
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
1137
+ """
1138
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
1139
+ """
1140
+ paused: NotRequired[pulumi.Input[bool]]
1141
+ """
1142
+ Indicates that the deployment is paused.
1143
+ """
1144
+ progress_deadline_seconds: NotRequired[pulumi.Input[int]]
1145
+ """
1146
+ The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
1147
+ """
1148
+ replicas: NotRequired[pulumi.Input[int]]
1149
+ """
1150
+ Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
1151
+ """
1152
+ revision_history_limit: NotRequired[pulumi.Input[int]]
1153
+ """
1154
+ The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
1155
+ """
1156
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
1157
+ """
1158
+ Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
1159
+ """
1160
+ strategy: NotRequired[pulumi.Input['DeploymentStrategyPatchArgsDict']]
1161
+ """
1162
+ The deployment strategy to use to replace existing pods with new ones.
1163
+ """
1164
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
1165
+ """
1166
+ Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
1167
+ """
1168
+ elif False:
1169
+ DeploymentSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1170
+
835
1171
  @pulumi.input_type
836
1172
  class DeploymentSpecPatchArgs:
837
1173
  def __init__(__self__, *,
@@ -968,6 +1304,46 @@ class DeploymentSpecPatchArgs:
968
1304
  pulumi.set(self, "template", value)
969
1305
 
970
1306
 
1307
+ if not MYPY:
1308
+ class DeploymentSpecArgsDict(TypedDict):
1309
+ """
1310
+ DeploymentSpec is the specification of the desired behavior of the Deployment.
1311
+ """
1312
+ selector: pulumi.Input['_meta.v1.LabelSelectorArgsDict']
1313
+ """
1314
+ Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
1315
+ """
1316
+ template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
1317
+ """
1318
+ Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
1319
+ """
1320
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
1321
+ """
1322
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
1323
+ """
1324
+ paused: NotRequired[pulumi.Input[bool]]
1325
+ """
1326
+ Indicates that the deployment is paused.
1327
+ """
1328
+ progress_deadline_seconds: NotRequired[pulumi.Input[int]]
1329
+ """
1330
+ The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
1331
+ """
1332
+ replicas: NotRequired[pulumi.Input[int]]
1333
+ """
1334
+ Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
1335
+ """
1336
+ revision_history_limit: NotRequired[pulumi.Input[int]]
1337
+ """
1338
+ The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
1339
+ """
1340
+ strategy: NotRequired[pulumi.Input['DeploymentStrategyArgsDict']]
1341
+ """
1342
+ The deployment strategy to use to replace existing pods with new ones.
1343
+ """
1344
+ elif False:
1345
+ DeploymentSpecArgsDict: TypeAlias = Mapping[str, Any]
1346
+
971
1347
  @pulumi.input_type
972
1348
  class DeploymentSpecArgs:
973
1349
  def __init__(__self__, *,
@@ -1102,6 +1478,46 @@ class DeploymentSpecArgs:
1102
1478
  pulumi.set(self, "strategy", value)
1103
1479
 
1104
1480
 
1481
+ if not MYPY:
1482
+ class DeploymentStatusArgsDict(TypedDict):
1483
+ """
1484
+ DeploymentStatus is the most recently observed status of the Deployment.
1485
+ """
1486
+ available_replicas: NotRequired[pulumi.Input[int]]
1487
+ """
1488
+ Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
1489
+ """
1490
+ collision_count: NotRequired[pulumi.Input[int]]
1491
+ """
1492
+ Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
1493
+ """
1494
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgsDict']]]]
1495
+ """
1496
+ Represents the latest available observations of a deployment's current state.
1497
+ """
1498
+ observed_generation: NotRequired[pulumi.Input[int]]
1499
+ """
1500
+ The generation observed by the deployment controller.
1501
+ """
1502
+ ready_replicas: NotRequired[pulumi.Input[int]]
1503
+ """
1504
+ readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
1505
+ """
1506
+ replicas: NotRequired[pulumi.Input[int]]
1507
+ """
1508
+ Total number of non-terminated pods targeted by this deployment (their labels match the selector).
1509
+ """
1510
+ unavailable_replicas: NotRequired[pulumi.Input[int]]
1511
+ """
1512
+ Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
1513
+ """
1514
+ updated_replicas: NotRequired[pulumi.Input[int]]
1515
+ """
1516
+ Total number of non-terminated pods targeted by this deployment that have the desired template spec.
1517
+ """
1518
+ elif False:
1519
+ DeploymentStatusArgsDict: TypeAlias = Mapping[str, Any]
1520
+
1105
1521
  @pulumi.input_type
1106
1522
  class DeploymentStatusArgs:
1107
1523
  def __init__(__self__, *,
@@ -1238,6 +1654,22 @@ class DeploymentStatusArgs:
1238
1654
  pulumi.set(self, "updated_replicas", value)
1239
1655
 
1240
1656
 
1657
+ if not MYPY:
1658
+ class DeploymentStrategyPatchArgsDict(TypedDict):
1659
+ """
1660
+ DeploymentStrategy describes how to replace existing pods with new ones.
1661
+ """
1662
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateDeploymentPatchArgsDict']]
1663
+ """
1664
+ Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
1665
+ """
1666
+ type: NotRequired[pulumi.Input[str]]
1667
+ """
1668
+ Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
1669
+ """
1670
+ elif False:
1671
+ DeploymentStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
1672
+
1241
1673
  @pulumi.input_type
1242
1674
  class DeploymentStrategyPatchArgs:
1243
1675
  def __init__(__self__, *,
@@ -1278,6 +1710,22 @@ class DeploymentStrategyPatchArgs:
1278
1710
  pulumi.set(self, "type", value)
1279
1711
 
1280
1712
 
1713
+ if not MYPY:
1714
+ class DeploymentStrategyArgsDict(TypedDict):
1715
+ """
1716
+ DeploymentStrategy describes how to replace existing pods with new ones.
1717
+ """
1718
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateDeploymentArgsDict']]
1719
+ """
1720
+ Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
1721
+ """
1722
+ type: NotRequired[pulumi.Input[str]]
1723
+ """
1724
+ Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
1725
+ """
1726
+ elif False:
1727
+ DeploymentStrategyArgsDict: TypeAlias = Mapping[str, Any]
1728
+
1281
1729
  @pulumi.input_type
1282
1730
  class DeploymentStrategyArgs:
1283
1731
  def __init__(__self__, *,
@@ -1318,6 +1766,56 @@ class DeploymentStrategyArgs:
1318
1766
  pulumi.set(self, "type", value)
1319
1767
 
1320
1768
 
1769
+ if not MYPY:
1770
+ class DeploymentArgsDict(TypedDict):
1771
+ """
1772
+ Deployment enables declarative updates for Pods and ReplicaSets.
1773
+
1774
+ This resource waits until its status is ready before registering success
1775
+ for create/update, and populating output properties from the current state of the resource.
1776
+ The following conditions are used to determine whether the resource creation has
1777
+ succeeded or failed:
1778
+
1779
+ 1. The Deployment has begun to be updated by the Deployment controller. If the current
1780
+ generation of the Deployment is > 1, then this means that the current generation must
1781
+ be different from the generation reported by the last outputs.
1782
+ 2. There exists a ReplicaSet whose revision is equal to the current revision of the
1783
+ Deployment.
1784
+ 3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'
1785
+ member is set to 'True'.
1786
+ 4. If the Deployment has generation > 1, then '.status.conditions' has a status of type
1787
+ 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is
1788
+ 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,
1789
+ because it doesn't do a rollout (i.e., it simply creates the Deployment and
1790
+ corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.
1791
+
1792
+ If the Deployment has not reached a Ready state after 10 minutes, it will
1793
+ time out and mark the resource update as Failed. You can override the default timeout value
1794
+ by setting the 'customTimeouts' option on the resource.
1795
+ """
1796
+ api_version: NotRequired[pulumi.Input[str]]
1797
+ """
1798
+ 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
1799
+ """
1800
+ kind: NotRequired[pulumi.Input[str]]
1801
+ """
1802
+ 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
1803
+ """
1804
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1805
+ """
1806
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1807
+ """
1808
+ spec: NotRequired[pulumi.Input['DeploymentSpecArgsDict']]
1809
+ """
1810
+ Specification of the desired behavior of the Deployment.
1811
+ """
1812
+ status: NotRequired[pulumi.Input['DeploymentStatusArgsDict']]
1813
+ """
1814
+ Most recently observed status of the Deployment.
1815
+ """
1816
+ elif False:
1817
+ DeploymentArgsDict: TypeAlias = Mapping[str, Any]
1818
+
1321
1819
  @pulumi.input_type
1322
1820
  class DeploymentArgs:
1323
1821
  def __init__(__self__, *,
@@ -1428,6 +1926,34 @@ class DeploymentArgs:
1428
1926
  pulumi.set(self, "status", value)
1429
1927
 
1430
1928
 
1929
+ if not MYPY:
1930
+ class ReplicaSetConditionArgsDict(TypedDict):
1931
+ """
1932
+ ReplicaSetCondition describes the state of a replica set at a certain point.
1933
+ """
1934
+ status: pulumi.Input[str]
1935
+ """
1936
+ Status of the condition, one of True, False, Unknown.
1937
+ """
1938
+ type: pulumi.Input[str]
1939
+ """
1940
+ Type of replica set condition.
1941
+ """
1942
+ last_transition_time: NotRequired[pulumi.Input[str]]
1943
+ """
1944
+ The last time the condition transitioned from one status to another.
1945
+ """
1946
+ message: NotRequired[pulumi.Input[str]]
1947
+ """
1948
+ A human readable message indicating details about the transition.
1949
+ """
1950
+ reason: NotRequired[pulumi.Input[str]]
1951
+ """
1952
+ The reason for the condition's last transition.
1953
+ """
1954
+ elif False:
1955
+ ReplicaSetConditionArgsDict: TypeAlias = Mapping[str, Any]
1956
+
1431
1957
  @pulumi.input_type
1432
1958
  class ReplicaSetConditionArgs:
1433
1959
  def __init__(__self__, *,
@@ -1514,6 +2040,30 @@ class ReplicaSetConditionArgs:
1514
2040
  pulumi.set(self, "reason", value)
1515
2041
 
1516
2042
 
2043
+ if not MYPY:
2044
+ class ReplicaSetSpecPatchArgsDict(TypedDict):
2045
+ """
2046
+ ReplicaSetSpec is the specification of a ReplicaSet.
2047
+ """
2048
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
2049
+ """
2050
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
2051
+ """
2052
+ replicas: NotRequired[pulumi.Input[int]]
2053
+ """
2054
+ Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2055
+ """
2056
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
2057
+ """
2058
+ Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
2059
+ """
2060
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
2061
+ """
2062
+ Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
2063
+ """
2064
+ elif False:
2065
+ ReplicaSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
2066
+
1517
2067
  @pulumi.input_type
1518
2068
  class ReplicaSetSpecPatchArgs:
1519
2069
  def __init__(__self__, *,
@@ -1586,6 +2136,30 @@ class ReplicaSetSpecPatchArgs:
1586
2136
  pulumi.set(self, "template", value)
1587
2137
 
1588
2138
 
2139
+ if not MYPY:
2140
+ class ReplicaSetSpecArgsDict(TypedDict):
2141
+ """
2142
+ ReplicaSetSpec is the specification of a ReplicaSet.
2143
+ """
2144
+ selector: pulumi.Input['_meta.v1.LabelSelectorArgsDict']
2145
+ """
2146
+ Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
2147
+ """
2148
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
2149
+ """
2150
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
2151
+ """
2152
+ replicas: NotRequired[pulumi.Input[int]]
2153
+ """
2154
+ Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2155
+ """
2156
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecArgsDict']]
2157
+ """
2158
+ Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
2159
+ """
2160
+ elif False:
2161
+ ReplicaSetSpecArgsDict: TypeAlias = Mapping[str, Any]
2162
+
1589
2163
  @pulumi.input_type
1590
2164
  class ReplicaSetSpecArgs:
1591
2165
  def __init__(__self__, *,
@@ -1657,6 +2231,38 @@ class ReplicaSetSpecArgs:
1657
2231
  pulumi.set(self, "template", value)
1658
2232
 
1659
2233
 
2234
+ if not MYPY:
2235
+ class ReplicaSetStatusArgsDict(TypedDict):
2236
+ """
2237
+ ReplicaSetStatus represents the current status of a ReplicaSet.
2238
+ """
2239
+ replicas: pulumi.Input[int]
2240
+ """
2241
+ Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2242
+ """
2243
+ available_replicas: NotRequired[pulumi.Input[int]]
2244
+ """
2245
+ The number of available replicas (ready for at least minReadySeconds) for this replica set.
2246
+ """
2247
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgsDict']]]]
2248
+ """
2249
+ Represents the latest available observations of a replica set's current state.
2250
+ """
2251
+ fully_labeled_replicas: NotRequired[pulumi.Input[int]]
2252
+ """
2253
+ The number of pods that have labels matching the labels of the pod template of the replicaset.
2254
+ """
2255
+ observed_generation: NotRequired[pulumi.Input[int]]
2256
+ """
2257
+ ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
2258
+ """
2259
+ ready_replicas: NotRequired[pulumi.Input[int]]
2260
+ """
2261
+ readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
2262
+ """
2263
+ elif False:
2264
+ ReplicaSetStatusArgsDict: TypeAlias = Mapping[str, Any]
2265
+
1660
2266
  @pulumi.input_type
1661
2267
  class ReplicaSetStatusArgs:
1662
2268
  def __init__(__self__, *,
@@ -1760,6 +2366,34 @@ class ReplicaSetStatusArgs:
1760
2366
  pulumi.set(self, "ready_replicas", value)
1761
2367
 
1762
2368
 
2369
+ if not MYPY:
2370
+ class ReplicaSetArgsDict(TypedDict):
2371
+ """
2372
+ ReplicaSet ensures that a specified number of pod replicas are running at any given time.
2373
+ """
2374
+ api_version: NotRequired[pulumi.Input[str]]
2375
+ """
2376
+ 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
2377
+ """
2378
+ kind: NotRequired[pulumi.Input[str]]
2379
+ """
2380
+ 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
2381
+ """
2382
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
2383
+ """
2384
+ If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2385
+ """
2386
+ spec: NotRequired[pulumi.Input['ReplicaSetSpecArgsDict']]
2387
+ """
2388
+ Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
2389
+ """
2390
+ status: NotRequired[pulumi.Input['ReplicaSetStatusArgsDict']]
2391
+ """
2392
+ Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
2393
+ """
2394
+ elif False:
2395
+ ReplicaSetArgsDict: TypeAlias = Mapping[str, Any]
2396
+
1763
2397
  @pulumi.input_type
1764
2398
  class ReplicaSetArgs:
1765
2399
  def __init__(__self__, *,
@@ -1848,6 +2482,22 @@ class ReplicaSetArgs:
1848
2482
  pulumi.set(self, "status", value)
1849
2483
 
1850
2484
 
2485
+ if not MYPY:
2486
+ class RollingUpdateDaemonSetPatchArgsDict(TypedDict):
2487
+ """
2488
+ Spec to control the desired behavior of daemon set rolling update.
2489
+ """
2490
+ max_surge: NotRequired[pulumi.Input[Union[int, str]]]
2491
+ """
2492
+ The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
2493
+ """
2494
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2495
+ """
2496
+ The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
2497
+ """
2498
+ elif False:
2499
+ RollingUpdateDaemonSetPatchArgsDict: TypeAlias = Mapping[str, Any]
2500
+
1851
2501
  @pulumi.input_type
1852
2502
  class RollingUpdateDaemonSetPatchArgs:
1853
2503
  def __init__(__self__, *,
@@ -1888,6 +2538,22 @@ class RollingUpdateDaemonSetPatchArgs:
1888
2538
  pulumi.set(self, "max_unavailable", value)
1889
2539
 
1890
2540
 
2541
+ if not MYPY:
2542
+ class RollingUpdateDaemonSetArgsDict(TypedDict):
2543
+ """
2544
+ Spec to control the desired behavior of daemon set rolling update.
2545
+ """
2546
+ max_surge: NotRequired[pulumi.Input[Union[int, str]]]
2547
+ """
2548
+ The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
2549
+ """
2550
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2551
+ """
2552
+ The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
2553
+ """
2554
+ elif False:
2555
+ RollingUpdateDaemonSetArgsDict: TypeAlias = Mapping[str, Any]
2556
+
1891
2557
  @pulumi.input_type
1892
2558
  class RollingUpdateDaemonSetArgs:
1893
2559
  def __init__(__self__, *,
@@ -1928,6 +2594,22 @@ class RollingUpdateDaemonSetArgs:
1928
2594
  pulumi.set(self, "max_unavailable", value)
1929
2595
 
1930
2596
 
2597
+ if not MYPY:
2598
+ class RollingUpdateDeploymentPatchArgsDict(TypedDict):
2599
+ """
2600
+ Spec to control the desired behavior of rolling update.
2601
+ """
2602
+ max_surge: NotRequired[pulumi.Input[Union[int, str]]]
2603
+ """
2604
+ The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
2605
+ """
2606
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2607
+ """
2608
+ The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
2609
+ """
2610
+ elif False:
2611
+ RollingUpdateDeploymentPatchArgsDict: TypeAlias = Mapping[str, Any]
2612
+
1931
2613
  @pulumi.input_type
1932
2614
  class RollingUpdateDeploymentPatchArgs:
1933
2615
  def __init__(__self__, *,
@@ -1968,6 +2650,22 @@ class RollingUpdateDeploymentPatchArgs:
1968
2650
  pulumi.set(self, "max_unavailable", value)
1969
2651
 
1970
2652
 
2653
+ if not MYPY:
2654
+ class RollingUpdateDeploymentArgsDict(TypedDict):
2655
+ """
2656
+ Spec to control the desired behavior of rolling update.
2657
+ """
2658
+ max_surge: NotRequired[pulumi.Input[Union[int, str]]]
2659
+ """
2660
+ The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
2661
+ """
2662
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2663
+ """
2664
+ The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
2665
+ """
2666
+ elif False:
2667
+ RollingUpdateDeploymentArgsDict: TypeAlias = Mapping[str, Any]
2668
+
1971
2669
  @pulumi.input_type
1972
2670
  class RollingUpdateDeploymentArgs:
1973
2671
  def __init__(__self__, *,
@@ -2008,6 +2706,22 @@ class RollingUpdateDeploymentArgs:
2008
2706
  pulumi.set(self, "max_unavailable", value)
2009
2707
 
2010
2708
 
2709
+ if not MYPY:
2710
+ class RollingUpdateStatefulSetStrategyPatchArgsDict(TypedDict):
2711
+ """
2712
+ RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
2713
+ """
2714
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2715
+ """
2716
+ The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
2717
+ """
2718
+ partition: NotRequired[pulumi.Input[int]]
2719
+ """
2720
+ Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
2721
+ """
2722
+ elif False:
2723
+ RollingUpdateStatefulSetStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
2724
+
2011
2725
  @pulumi.input_type
2012
2726
  class RollingUpdateStatefulSetStrategyPatchArgs:
2013
2727
  def __init__(__self__, *,
@@ -2048,6 +2762,22 @@ class RollingUpdateStatefulSetStrategyPatchArgs:
2048
2762
  pulumi.set(self, "partition", value)
2049
2763
 
2050
2764
 
2765
+ if not MYPY:
2766
+ class RollingUpdateStatefulSetStrategyArgsDict(TypedDict):
2767
+ """
2768
+ RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
2769
+ """
2770
+ max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
2771
+ """
2772
+ The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
2773
+ """
2774
+ partition: NotRequired[pulumi.Input[int]]
2775
+ """
2776
+ Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
2777
+ """
2778
+ elif False:
2779
+ RollingUpdateStatefulSetStrategyArgsDict: TypeAlias = Mapping[str, Any]
2780
+
2051
2781
  @pulumi.input_type
2052
2782
  class RollingUpdateStatefulSetStrategyArgs:
2053
2783
  def __init__(__self__, *,
@@ -2088,6 +2818,34 @@ class RollingUpdateStatefulSetStrategyArgs:
2088
2818
  pulumi.set(self, "partition", value)
2089
2819
 
2090
2820
 
2821
+ if not MYPY:
2822
+ class StatefulSetConditionArgsDict(TypedDict):
2823
+ """
2824
+ StatefulSetCondition describes the state of a statefulset at a certain point.
2825
+ """
2826
+ status: pulumi.Input[str]
2827
+ """
2828
+ Status of the condition, one of True, False, Unknown.
2829
+ """
2830
+ type: pulumi.Input[str]
2831
+ """
2832
+ Type of statefulset condition.
2833
+ """
2834
+ last_transition_time: NotRequired[pulumi.Input[str]]
2835
+ """
2836
+ Last time the condition transitioned from one status to another.
2837
+ """
2838
+ message: NotRequired[pulumi.Input[str]]
2839
+ """
2840
+ A human readable message indicating details about the transition.
2841
+ """
2842
+ reason: NotRequired[pulumi.Input[str]]
2843
+ """
2844
+ The reason for the condition's last transition.
2845
+ """
2846
+ elif False:
2847
+ StatefulSetConditionArgsDict: TypeAlias = Mapping[str, Any]
2848
+
2091
2849
  @pulumi.input_type
2092
2850
  class StatefulSetConditionArgs:
2093
2851
  def __init__(__self__, *,
@@ -2174,6 +2932,21 @@ class StatefulSetConditionArgs:
2174
2932
  pulumi.set(self, "reason", value)
2175
2933
 
2176
2934
 
2935
+ if not MYPY:
2936
+ class StatefulSetOrdinalsPatchArgsDict(TypedDict):
2937
+ """
2938
+ StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
2939
+ """
2940
+ start: NotRequired[pulumi.Input[int]]
2941
+ """
2942
+ start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
2943
+ [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
2944
+ If unset, defaults to 0. Replica indices will be in the range:
2945
+ [0, .spec.replicas).
2946
+ """
2947
+ elif False:
2948
+ StatefulSetOrdinalsPatchArgsDict: TypeAlias = Mapping[str, Any]
2949
+
2177
2950
  @pulumi.input_type
2178
2951
  class StatefulSetOrdinalsPatchArgs:
2179
2952
  def __init__(__self__, *,
@@ -2204,6 +2977,21 @@ class StatefulSetOrdinalsPatchArgs:
2204
2977
  pulumi.set(self, "start", value)
2205
2978
 
2206
2979
 
2980
+ if not MYPY:
2981
+ class StatefulSetOrdinalsArgsDict(TypedDict):
2982
+ """
2983
+ StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
2984
+ """
2985
+ start: NotRequired[pulumi.Input[int]]
2986
+ """
2987
+ start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
2988
+ [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
2989
+ If unset, defaults to 0. Replica indices will be in the range:
2990
+ [0, .spec.replicas).
2991
+ """
2992
+ elif False:
2993
+ StatefulSetOrdinalsArgsDict: TypeAlias = Mapping[str, Any]
2994
+
2207
2995
  @pulumi.input_type
2208
2996
  class StatefulSetOrdinalsArgs:
2209
2997
  def __init__(__self__, *,
@@ -2234,6 +3022,22 @@ class StatefulSetOrdinalsArgs:
2234
3022
  pulumi.set(self, "start", value)
2235
3023
 
2236
3024
 
3025
+ if not MYPY:
3026
+ class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgsDict(TypedDict):
3027
+ """
3028
+ StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
3029
+ """
3030
+ when_deleted: NotRequired[pulumi.Input[str]]
3031
+ """
3032
+ WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
3033
+ """
3034
+ when_scaled: NotRequired[pulumi.Input[str]]
3035
+ """
3036
+ WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
3037
+ """
3038
+ elif False:
3039
+ StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgsDict: TypeAlias = Mapping[str, Any]
3040
+
2237
3041
  @pulumi.input_type
2238
3042
  class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs:
2239
3043
  def __init__(__self__, *,
@@ -2274,6 +3078,22 @@ class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs:
2274
3078
  pulumi.set(self, "when_scaled", value)
2275
3079
 
2276
3080
 
3081
+ if not MYPY:
3082
+ class StatefulSetPersistentVolumeClaimRetentionPolicyArgsDict(TypedDict):
3083
+ """
3084
+ StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
3085
+ """
3086
+ when_deleted: NotRequired[pulumi.Input[str]]
3087
+ """
3088
+ WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
3089
+ """
3090
+ when_scaled: NotRequired[pulumi.Input[str]]
3091
+ """
3092
+ WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
3093
+ """
3094
+ elif False:
3095
+ StatefulSetPersistentVolumeClaimRetentionPolicyArgsDict: TypeAlias = Mapping[str, Any]
3096
+
2277
3097
  @pulumi.input_type
2278
3098
  class StatefulSetPersistentVolumeClaimRetentionPolicyArgs:
2279
3099
  def __init__(__self__, *,
@@ -2314,6 +3134,58 @@ class StatefulSetPersistentVolumeClaimRetentionPolicyArgs:
2314
3134
  pulumi.set(self, "when_scaled", value)
2315
3135
 
2316
3136
 
3137
+ if not MYPY:
3138
+ class StatefulSetSpecPatchArgsDict(TypedDict):
3139
+ """
3140
+ A StatefulSetSpec is the specification of a StatefulSet.
3141
+ """
3142
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
3143
+ """
3144
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
3145
+ """
3146
+ ordinals: NotRequired[pulumi.Input['StatefulSetOrdinalsPatchArgsDict']]
3147
+ """
3148
+ ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
3149
+ """
3150
+ persistent_volume_claim_retention_policy: NotRequired[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgsDict']]
3151
+ """
3152
+ persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
3153
+ """
3154
+ pod_management_policy: NotRequired[pulumi.Input[str]]
3155
+ """
3156
+ podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
3157
+ """
3158
+ replicas: NotRequired[pulumi.Input[int]]
3159
+ """
3160
+ replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
3161
+ """
3162
+ revision_history_limit: NotRequired[pulumi.Input[int]]
3163
+ """
3164
+ revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
3165
+ """
3166
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
3167
+ """
3168
+ selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
3169
+ """
3170
+ service_name: NotRequired[pulumi.Input[str]]
3171
+ """
3172
+ serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
3173
+ """
3174
+ template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
3175
+ """
3176
+ template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
3177
+ """
3178
+ update_strategy: NotRequired[pulumi.Input['StatefulSetUpdateStrategyPatchArgsDict']]
3179
+ """
3180
+ updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
3181
+ """
3182
+ volume_claim_templates: NotRequired[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimPatchArgsDict']]]]
3183
+ """
3184
+ volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
3185
+ """
3186
+ elif False:
3187
+ StatefulSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
3188
+
2317
3189
  @pulumi.input_type
2318
3190
  class StatefulSetSpecPatchArgs:
2319
3191
  def __init__(__self__, *,
@@ -2331,8 +3203,8 @@ class StatefulSetSpecPatchArgs:
2331
3203
  """
2332
3204
  A StatefulSetSpec is the specification of a StatefulSet.
2333
3205
  :param pulumi.Input[int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
2334
- :param pulumi.Input['StatefulSetOrdinalsPatchArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.
2335
- :param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional
3206
+ :param pulumi.Input['StatefulSetOrdinalsPatchArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
3207
+ :param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
2336
3208
  :param pulumi.Input[str] pod_management_policy: podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
2337
3209
  :param pulumi.Input[int] replicas: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
2338
3210
  :param pulumi.Input[int] revision_history_limit: revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
@@ -2381,7 +3253,7 @@ class StatefulSetSpecPatchArgs:
2381
3253
  @pulumi.getter
2382
3254
  def ordinals(self) -> Optional[pulumi.Input['StatefulSetOrdinalsPatchArgs']]:
2383
3255
  """
2384
- ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.
3256
+ ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
2385
3257
  """
2386
3258
  return pulumi.get(self, "ordinals")
2387
3259
 
@@ -2393,7 +3265,7 @@ class StatefulSetSpecPatchArgs:
2393
3265
  @pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
2394
3266
  def persistent_volume_claim_retention_policy(self) -> Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs']]:
2395
3267
  """
2396
- persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional
3268
+ persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
2397
3269
  """
2398
3270
  return pulumi.get(self, "persistent_volume_claim_retention_policy")
2399
3271
 
@@ -2498,6 +3370,58 @@ class StatefulSetSpecPatchArgs:
2498
3370
  pulumi.set(self, "volume_claim_templates", value)
2499
3371
 
2500
3372
 
3373
+ if not MYPY:
3374
+ class StatefulSetSpecArgsDict(TypedDict):
3375
+ """
3376
+ A StatefulSetSpec is the specification of a StatefulSet.
3377
+ """
3378
+ selector: pulumi.Input['_meta.v1.LabelSelectorArgsDict']
3379
+ """
3380
+ selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
3381
+ """
3382
+ service_name: pulumi.Input[str]
3383
+ """
3384
+ serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
3385
+ """
3386
+ template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
3387
+ """
3388
+ template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
3389
+ """
3390
+ min_ready_seconds: NotRequired[pulumi.Input[int]]
3391
+ """
3392
+ Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
3393
+ """
3394
+ ordinals: NotRequired[pulumi.Input['StatefulSetOrdinalsArgsDict']]
3395
+ """
3396
+ ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
3397
+ """
3398
+ persistent_volume_claim_retention_policy: NotRequired[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgsDict']]
3399
+ """
3400
+ persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
3401
+ """
3402
+ pod_management_policy: NotRequired[pulumi.Input[str]]
3403
+ """
3404
+ podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
3405
+ """
3406
+ replicas: NotRequired[pulumi.Input[int]]
3407
+ """
3408
+ replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
3409
+ """
3410
+ revision_history_limit: NotRequired[pulumi.Input[int]]
3411
+ """
3412
+ revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
3413
+ """
3414
+ update_strategy: NotRequired[pulumi.Input['StatefulSetUpdateStrategyArgsDict']]
3415
+ """
3416
+ updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
3417
+ """
3418
+ volume_claim_templates: NotRequired[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgsDict']]]]
3419
+ """
3420
+ volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
3421
+ """
3422
+ elif False:
3423
+ StatefulSetSpecArgsDict: TypeAlias = Mapping[str, Any]
3424
+
2501
3425
  @pulumi.input_type
2502
3426
  class StatefulSetSpecArgs:
2503
3427
  def __init__(__self__, *,
@@ -2518,8 +3442,8 @@ class StatefulSetSpecArgs:
2518
3442
  :param pulumi.Input[str] service_name: serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
2519
3443
  :param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
2520
3444
  :param pulumi.Input[int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
2521
- :param pulumi.Input['StatefulSetOrdinalsArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.
2522
- :param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional
3445
+ :param pulumi.Input['StatefulSetOrdinalsArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
3446
+ :param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
2523
3447
  :param pulumi.Input[str] pod_management_policy: podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
2524
3448
  :param pulumi.Input[int] replicas: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
2525
3449
  :param pulumi.Input[int] revision_history_limit: revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
@@ -2598,7 +3522,7 @@ class StatefulSetSpecArgs:
2598
3522
  @pulumi.getter
2599
3523
  def ordinals(self) -> Optional[pulumi.Input['StatefulSetOrdinalsArgs']]:
2600
3524
  """
2601
- ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.
3525
+ ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
2602
3526
  """
2603
3527
  return pulumi.get(self, "ordinals")
2604
3528
 
@@ -2610,7 +3534,7 @@ class StatefulSetSpecArgs:
2610
3534
  @pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
2611
3535
  def persistent_volume_claim_retention_policy(self) -> Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs']]:
2612
3536
  """
2613
- persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional
3537
+ persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
2614
3538
  """
2615
3539
  return pulumi.get(self, "persistent_volume_claim_retention_policy")
2616
3540
 
@@ -2679,6 +3603,54 @@ class StatefulSetSpecArgs:
2679
3603
  pulumi.set(self, "volume_claim_templates", value)
2680
3604
 
2681
3605
 
3606
+ if not MYPY:
3607
+ class StatefulSetStatusArgsDict(TypedDict):
3608
+ """
3609
+ StatefulSetStatus represents the current state of a StatefulSet.
3610
+ """
3611
+ replicas: pulumi.Input[int]
3612
+ """
3613
+ replicas is the number of Pods created by the StatefulSet controller.
3614
+ """
3615
+ available_replicas: NotRequired[pulumi.Input[int]]
3616
+ """
3617
+ Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
3618
+ """
3619
+ collision_count: NotRequired[pulumi.Input[int]]
3620
+ """
3621
+ collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
3622
+ """
3623
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgsDict']]]]
3624
+ """
3625
+ Represents the latest available observations of a statefulset's current state.
3626
+ """
3627
+ current_replicas: NotRequired[pulumi.Input[int]]
3628
+ """
3629
+ currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
3630
+ """
3631
+ current_revision: NotRequired[pulumi.Input[str]]
3632
+ """
3633
+ currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
3634
+ """
3635
+ observed_generation: NotRequired[pulumi.Input[int]]
3636
+ """
3637
+ observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
3638
+ """
3639
+ ready_replicas: NotRequired[pulumi.Input[int]]
3640
+ """
3641
+ readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
3642
+ """
3643
+ update_revision: NotRequired[pulumi.Input[str]]
3644
+ """
3645
+ updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
3646
+ """
3647
+ updated_replicas: NotRequired[pulumi.Input[int]]
3648
+ """
3649
+ updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
3650
+ """
3651
+ elif False:
3652
+ StatefulSetStatusArgsDict: TypeAlias = Mapping[str, Any]
3653
+
2682
3654
  @pulumi.input_type
2683
3655
  class StatefulSetStatusArgs:
2684
3656
  def __init__(__self__, *,
@@ -2846,6 +3818,22 @@ class StatefulSetStatusArgs:
2846
3818
  pulumi.set(self, "updated_replicas", value)
2847
3819
 
2848
3820
 
3821
+ if not MYPY:
3822
+ class StatefulSetUpdateStrategyPatchArgsDict(TypedDict):
3823
+ """
3824
+ StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
3825
+ """
3826
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgsDict']]
3827
+ """
3828
+ RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
3829
+ """
3830
+ type: NotRequired[pulumi.Input[str]]
3831
+ """
3832
+ Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
3833
+ """
3834
+ elif False:
3835
+ StatefulSetUpdateStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
3836
+
2849
3837
  @pulumi.input_type
2850
3838
  class StatefulSetUpdateStrategyPatchArgs:
2851
3839
  def __init__(__self__, *,
@@ -2886,6 +3874,22 @@ class StatefulSetUpdateStrategyPatchArgs:
2886
3874
  pulumi.set(self, "type", value)
2887
3875
 
2888
3876
 
3877
+ if not MYPY:
3878
+ class StatefulSetUpdateStrategyArgsDict(TypedDict):
3879
+ """
3880
+ StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
3881
+ """
3882
+ rolling_update: NotRequired[pulumi.Input['RollingUpdateStatefulSetStrategyArgsDict']]
3883
+ """
3884
+ RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
3885
+ """
3886
+ type: NotRequired[pulumi.Input[str]]
3887
+ """
3888
+ Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
3889
+ """
3890
+ elif False:
3891
+ StatefulSetUpdateStrategyArgsDict: TypeAlias = Mapping[str, Any]
3892
+
2889
3893
  @pulumi.input_type
2890
3894
  class StatefulSetUpdateStrategyArgs:
2891
3895
  def __init__(__self__, *,
@@ -2926,6 +3930,51 @@ class StatefulSetUpdateStrategyArgs:
2926
3930
  pulumi.set(self, "type", value)
2927
3931
 
2928
3932
 
3933
+ if not MYPY:
3934
+ class StatefulSetArgsDict(TypedDict):
3935
+ """
3936
+ StatefulSet represents a set of pods with consistent identities. Identities are defined as:
3937
+ - Network: A single stable DNS and hostname.
3938
+ - Storage: As many VolumeClaims as requested.
3939
+
3940
+ The StatefulSet guarantees that a given network identity will always map to the same storage identity.
3941
+
3942
+ This resource waits until its status is ready before registering success
3943
+ for create/update, and populating output properties from the current state of the resource.
3944
+ The following conditions are used to determine whether the resource creation has
3945
+ succeeded or failed:
3946
+
3947
+ 1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',
3948
+ and '.status.readyReplicas'.
3949
+ 2. The value of '.status.updateRevision' matches '.status.currentRevision'.
3950
+
3951
+ If the StatefulSet has not reached a Ready state after 10 minutes, it will
3952
+ time out and mark the resource update as Failed. You can override the default timeout value
3953
+ by setting the 'customTimeouts' option on the resource.
3954
+ """
3955
+ api_version: NotRequired[pulumi.Input[str]]
3956
+ """
3957
+ 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
3958
+ """
3959
+ kind: NotRequired[pulumi.Input[str]]
3960
+ """
3961
+ 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
3962
+ """
3963
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
3964
+ """
3965
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
3966
+ """
3967
+ spec: NotRequired[pulumi.Input['StatefulSetSpecArgsDict']]
3968
+ """
3969
+ Spec defines the desired identities of pods in this set.
3970
+ """
3971
+ status: NotRequired[pulumi.Input['StatefulSetStatusArgsDict']]
3972
+ """
3973
+ Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
3974
+ """
3975
+ elif False:
3976
+ StatefulSetArgsDict: TypeAlias = Mapping[str, Any]
3977
+
2929
3978
  @pulumi.input_type
2930
3979
  class StatefulSetArgs:
2931
3980
  def __init__(__self__, *,