pulumi-kubernetes 4.23.0a1746131759__py3-none-any.whl → 4.23.0a1746138483__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 (116) hide show
  1. pulumi_kubernetes/__init__.py +36 -2
  2. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +30 -30
  3. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +20 -20
  4. pulumi_kubernetes/apps/v1/ReplicaSetList.py +4 -4
  5. pulumi_kubernetes/apps/v1/_inputs.py +109 -56
  6. pulumi_kubernetes/apps/v1/outputs.py +129 -56
  7. pulumi_kubernetes/autoscaling/v2/_inputs.py +92 -12
  8. pulumi_kubernetes/autoscaling/v2/outputs.py +66 -10
  9. pulumi_kubernetes/batch/v1/_inputs.py +12 -42
  10. pulumi_kubernetes/batch/v1/outputs.py +8 -32
  11. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +2 -0
  12. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +2 -0
  13. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +229 -0
  14. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +219 -0
  15. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +240 -0
  16. pulumi_kubernetes/certificates/v1beta1/__init__.py +3 -0
  17. pulumi_kubernetes/certificates/v1beta1/_inputs.py +292 -0
  18. pulumi_kubernetes/certificates/v1beta1/outputs.py +241 -0
  19. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +1 -1
  20. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +1 -1
  21. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +1 -1
  22. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +1 -1
  23. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +6 -6
  24. pulumi_kubernetes/coordination/v1alpha2/outputs.py +4 -4
  25. pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +220 -0
  26. pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +219 -0
  27. pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +232 -0
  28. pulumi_kubernetes/coordination/v1beta1/__init__.py +3 -0
  29. pulumi_kubernetes/coordination/v1beta1/_inputs.py +371 -0
  30. pulumi_kubernetes/coordination/v1beta1/outputs.py +292 -0
  31. pulumi_kubernetes/core/v1/Endpoints.py +8 -0
  32. pulumi_kubernetes/core/v1/EndpointsList.py +2 -2
  33. pulumi_kubernetes/core/v1/EndpointsPatch.py +8 -0
  34. pulumi_kubernetes/core/v1/_inputs.py +240 -66
  35. pulumi_kubernetes/core/v1/outputs.py +251 -51
  36. pulumi_kubernetes/discovery/v1/EndpointSlice.py +10 -10
  37. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +10 -10
  38. pulumi_kubernetes/discovery/v1/_inputs.py +159 -44
  39. pulumi_kubernetes/discovery/v1/outputs.py +107 -32
  40. pulumi_kubernetes/networking/v1/IPAddress.py +220 -0
  41. pulumi_kubernetes/networking/v1/IPAddressList.py +219 -0
  42. pulumi_kubernetes/networking/v1/IPAddressPatch.py +232 -0
  43. pulumi_kubernetes/networking/v1/ServiceCIDR.py +230 -0
  44. pulumi_kubernetes/networking/v1/ServiceCIDRList.py +219 -0
  45. pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +242 -0
  46. pulumi_kubernetes/networking/v1/__init__.py +6 -0
  47. pulumi_kubernetes/networking/v1/_inputs.py +599 -0
  48. pulumi_kubernetes/networking/v1/outputs.py +461 -0
  49. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +1 -1
  50. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +1 -1
  51. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +1 -1
  52. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +1 -1
  53. pulumi_kubernetes/networking/v1beta1/IPAddress.py +1 -1
  54. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +1 -1
  55. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +1 -1
  56. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +1 -1
  57. pulumi_kubernetes/policy/v1/_inputs.py +0 -12
  58. pulumi_kubernetes/policy/v1/outputs.py +0 -8
  59. pulumi_kubernetes/pulumi-plugin.json +1 -1
  60. pulumi_kubernetes/resource/__init__.py +3 -0
  61. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  62. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  63. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  64. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  65. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  66. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  67. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  68. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  69. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
  70. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
  71. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +1 -1
  72. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +1 -1
  73. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +227 -0
  74. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +219 -0
  75. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +238 -0
  76. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
  77. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
  78. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
  79. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
  80. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +1 -1
  81. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
  82. pulumi_kubernetes/resource/v1alpha3/__init__.py +3 -0
  83. pulumi_kubernetes/resource/v1alpha3/_inputs.py +2559 -213
  84. pulumi_kubernetes/resource/v1alpha3/outputs.py +2037 -256
  85. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +1 -1
  86. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +1 -1
  87. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +1 -1
  88. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +1 -1
  89. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +1 -1
  90. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +1 -1
  91. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +1 -1
  92. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +1 -1
  93. pulumi_kubernetes/resource/v1beta1/_inputs.py +2044 -176
  94. pulumi_kubernetes/resource/v1beta1/outputs.py +1536 -134
  95. pulumi_kubernetes/resource/v1beta2/DeviceClass.py +241 -0
  96. pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +219 -0
  97. pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +252 -0
  98. pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +236 -0
  99. pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +220 -0
  100. pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +247 -0
  101. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +233 -0
  102. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +219 -0
  103. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +244 -0
  104. pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +250 -0
  105. pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +220 -0
  106. pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +261 -0
  107. pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
  108. pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
  109. pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
  110. pulumi_kubernetes/storage/v1/_inputs.py +90 -0
  111. pulumi_kubernetes/storage/v1/outputs.py +110 -0
  112. pulumi_kubernetes/yaml/yaml.py +108 -0
  113. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
  114. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
  115. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
  116. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
@@ -1629,6 +1629,8 @@ class DeploymentStatus(dict):
1629
1629
  suggest = "observed_generation"
1630
1630
  elif key == "readyReplicas":
1631
1631
  suggest = "ready_replicas"
1632
+ elif key == "terminatingReplicas":
1633
+ suggest = "terminating_replicas"
1632
1634
  elif key == "unavailableReplicas":
1633
1635
  suggest = "unavailable_replicas"
1634
1636
  elif key == "updatedReplicas":
@@ -1652,18 +1654,22 @@ class DeploymentStatus(dict):
1652
1654
  observed_generation: Optional[builtins.int] = None,
1653
1655
  ready_replicas: Optional[builtins.int] = None,
1654
1656
  replicas: Optional[builtins.int] = None,
1657
+ terminating_replicas: Optional[builtins.int] = None,
1655
1658
  unavailable_replicas: Optional[builtins.int] = None,
1656
1659
  updated_replicas: Optional[builtins.int] = None):
1657
1660
  """
1658
1661
  DeploymentStatus is the most recently observed status of the Deployment.
1659
- :param builtins.int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
1662
+ :param builtins.int available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
1660
1663
  :param builtins.int collision_count: 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.
1661
1664
  :param Sequence['DeploymentConditionArgs'] conditions: Represents the latest available observations of a deployment's current state.
1662
1665
  :param builtins.int observed_generation: The generation observed by the deployment controller.
1663
- :param builtins.int ready_replicas: readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
1664
- :param builtins.int replicas: Total number of non-terminated pods targeted by this deployment (their labels match the selector).
1666
+ :param builtins.int ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
1667
+ :param builtins.int replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
1668
+ :param builtins.int terminating_replicas: Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
1669
+
1670
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
1665
1671
  :param builtins.int unavailable_replicas: 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.
1666
- :param builtins.int updated_replicas: Total number of non-terminated pods targeted by this deployment that have the desired template spec.
1672
+ :param builtins.int updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
1667
1673
  """
1668
1674
  if available_replicas is not None:
1669
1675
  pulumi.set(__self__, "available_replicas", available_replicas)
@@ -1677,6 +1683,8 @@ class DeploymentStatus(dict):
1677
1683
  pulumi.set(__self__, "ready_replicas", ready_replicas)
1678
1684
  if replicas is not None:
1679
1685
  pulumi.set(__self__, "replicas", replicas)
1686
+ if terminating_replicas is not None:
1687
+ pulumi.set(__self__, "terminating_replicas", terminating_replicas)
1680
1688
  if unavailable_replicas is not None:
1681
1689
  pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
1682
1690
  if updated_replicas is not None:
@@ -1686,7 +1694,7 @@ class DeploymentStatus(dict):
1686
1694
  @pulumi.getter(name="availableReplicas")
1687
1695
  def available_replicas(self) -> Optional[builtins.int]:
1688
1696
  """
1689
- Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
1697
+ Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
1690
1698
  """
1691
1699
  return pulumi.get(self, "available_replicas")
1692
1700
 
@@ -1718,7 +1726,7 @@ class DeploymentStatus(dict):
1718
1726
  @pulumi.getter(name="readyReplicas")
1719
1727
  def ready_replicas(self) -> Optional[builtins.int]:
1720
1728
  """
1721
- readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
1729
+ Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
1722
1730
  """
1723
1731
  return pulumi.get(self, "ready_replicas")
1724
1732
 
@@ -1726,10 +1734,20 @@ class DeploymentStatus(dict):
1726
1734
  @pulumi.getter
1727
1735
  def replicas(self) -> Optional[builtins.int]:
1728
1736
  """
1729
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
1737
+ Total number of non-terminating pods targeted by this deployment (their labels match the selector).
1730
1738
  """
1731
1739
  return pulumi.get(self, "replicas")
1732
1740
 
1741
+ @property
1742
+ @pulumi.getter(name="terminatingReplicas")
1743
+ def terminating_replicas(self) -> Optional[builtins.int]:
1744
+ """
1745
+ Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
1746
+
1747
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
1748
+ """
1749
+ return pulumi.get(self, "terminating_replicas")
1750
+
1733
1751
  @property
1734
1752
  @pulumi.getter(name="unavailableReplicas")
1735
1753
  def unavailable_replicas(self) -> Optional[builtins.int]:
@@ -1742,7 +1760,7 @@ class DeploymentStatus(dict):
1742
1760
  @pulumi.getter(name="updatedReplicas")
1743
1761
  def updated_replicas(self) -> Optional[builtins.int]:
1744
1762
  """
1745
- Total number of non-terminated pods targeted by this deployment that have the desired template spec.
1763
+ Total number of non-terminating pods targeted by this deployment that have the desired template spec.
1746
1764
  """
1747
1765
  return pulumi.get(self, "updated_replicas")
1748
1766
 
@@ -1763,6 +1781,8 @@ class DeploymentStatusPatch(dict):
1763
1781
  suggest = "observed_generation"
1764
1782
  elif key == "readyReplicas":
1765
1783
  suggest = "ready_replicas"
1784
+ elif key == "terminatingReplicas":
1785
+ suggest = "terminating_replicas"
1766
1786
  elif key == "unavailableReplicas":
1767
1787
  suggest = "unavailable_replicas"
1768
1788
  elif key == "updatedReplicas":
@@ -1786,18 +1806,22 @@ class DeploymentStatusPatch(dict):
1786
1806
  observed_generation: Optional[builtins.int] = None,
1787
1807
  ready_replicas: Optional[builtins.int] = None,
1788
1808
  replicas: Optional[builtins.int] = None,
1809
+ terminating_replicas: Optional[builtins.int] = None,
1789
1810
  unavailable_replicas: Optional[builtins.int] = None,
1790
1811
  updated_replicas: Optional[builtins.int] = None):
1791
1812
  """
1792
1813
  DeploymentStatus is the most recently observed status of the Deployment.
1793
- :param builtins.int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
1814
+ :param builtins.int available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
1794
1815
  :param builtins.int collision_count: 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.
1795
1816
  :param Sequence['DeploymentConditionPatchArgs'] conditions: Represents the latest available observations of a deployment's current state.
1796
1817
  :param builtins.int observed_generation: The generation observed by the deployment controller.
1797
- :param builtins.int ready_replicas: readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
1798
- :param builtins.int replicas: Total number of non-terminated pods targeted by this deployment (their labels match the selector).
1818
+ :param builtins.int ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
1819
+ :param builtins.int replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
1820
+ :param builtins.int terminating_replicas: Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
1821
+
1822
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
1799
1823
  :param builtins.int unavailable_replicas: 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.
1800
- :param builtins.int updated_replicas: Total number of non-terminated pods targeted by this deployment that have the desired template spec.
1824
+ :param builtins.int updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
1801
1825
  """
1802
1826
  if available_replicas is not None:
1803
1827
  pulumi.set(__self__, "available_replicas", available_replicas)
@@ -1811,6 +1835,8 @@ class DeploymentStatusPatch(dict):
1811
1835
  pulumi.set(__self__, "ready_replicas", ready_replicas)
1812
1836
  if replicas is not None:
1813
1837
  pulumi.set(__self__, "replicas", replicas)
1838
+ if terminating_replicas is not None:
1839
+ pulumi.set(__self__, "terminating_replicas", terminating_replicas)
1814
1840
  if unavailable_replicas is not None:
1815
1841
  pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
1816
1842
  if updated_replicas is not None:
@@ -1820,7 +1846,7 @@ class DeploymentStatusPatch(dict):
1820
1846
  @pulumi.getter(name="availableReplicas")
1821
1847
  def available_replicas(self) -> Optional[builtins.int]:
1822
1848
  """
1823
- Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
1849
+ Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
1824
1850
  """
1825
1851
  return pulumi.get(self, "available_replicas")
1826
1852
 
@@ -1852,7 +1878,7 @@ class DeploymentStatusPatch(dict):
1852
1878
  @pulumi.getter(name="readyReplicas")
1853
1879
  def ready_replicas(self) -> Optional[builtins.int]:
1854
1880
  """
1855
- readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
1881
+ Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
1856
1882
  """
1857
1883
  return pulumi.get(self, "ready_replicas")
1858
1884
 
@@ -1860,10 +1886,20 @@ class DeploymentStatusPatch(dict):
1860
1886
  @pulumi.getter
1861
1887
  def replicas(self) -> Optional[builtins.int]:
1862
1888
  """
1863
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
1889
+ Total number of non-terminating pods targeted by this deployment (their labels match the selector).
1864
1890
  """
1865
1891
  return pulumi.get(self, "replicas")
1866
1892
 
1893
+ @property
1894
+ @pulumi.getter(name="terminatingReplicas")
1895
+ def terminating_replicas(self) -> Optional[builtins.int]:
1896
+ """
1897
+ Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
1898
+
1899
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
1900
+ """
1901
+ return pulumi.get(self, "terminating_replicas")
1902
+
1867
1903
  @property
1868
1904
  @pulumi.getter(name="unavailableReplicas")
1869
1905
  def unavailable_replicas(self) -> Optional[builtins.int]:
@@ -1876,7 +1912,7 @@ class DeploymentStatusPatch(dict):
1876
1912
  @pulumi.getter(name="updatedReplicas")
1877
1913
  def updated_replicas(self) -> Optional[builtins.int]:
1878
1914
  """
1879
- Total number of non-terminated pods targeted by this deployment that have the desired template spec.
1915
+ Total number of non-terminating pods targeted by this deployment that have the desired template spec.
1880
1916
  """
1881
1917
  return pulumi.get(self, "updated_replicas")
1882
1918
 
@@ -2278,8 +2314,8 @@ class ReplicaSetSpec(dict):
2278
2314
  ReplicaSetSpec is the specification of a ReplicaSet.
2279
2315
  :param '_meta.v1.LabelSelectorArgs' selector: 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
2280
2316
  :param builtins.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)
2281
- :param builtins.int replicas: 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
2282
- :param '_core.v1.PodTemplateSpecArgs' template: 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
2317
+ :param builtins.int replicas: Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2318
+ :param '_core.v1.PodTemplateSpecArgs' template: 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/replicaset/#pod-template
2283
2319
  """
2284
2320
  pulumi.set(__self__, "selector", selector)
2285
2321
  if min_ready_seconds is not None:
@@ -2309,7 +2345,7 @@ class ReplicaSetSpec(dict):
2309
2345
  @pulumi.getter
2310
2346
  def replicas(self) -> Optional[builtins.int]:
2311
2347
  """
2312
- 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
2348
+ Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2313
2349
  """
2314
2350
  return pulumi.get(self, "replicas")
2315
2351
 
@@ -2317,7 +2353,7 @@ class ReplicaSetSpec(dict):
2317
2353
  @pulumi.getter
2318
2354
  def template(self) -> Optional['_core.v1.outputs.PodTemplateSpec']:
2319
2355
  """
2320
- 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
2356
+ 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/replicaset/#pod-template
2321
2357
  """
2322
2358
  return pulumi.get(self, "template")
2323
2359
 
@@ -2352,9 +2388,9 @@ class ReplicaSetSpecPatch(dict):
2352
2388
  """
2353
2389
  ReplicaSetSpec is the specification of a ReplicaSet.
2354
2390
  :param builtins.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)
2355
- :param builtins.int replicas: 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
2391
+ :param builtins.int replicas: Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2356
2392
  :param '_meta.v1.LabelSelectorPatchArgs' selector: 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
2357
- :param '_core.v1.PodTemplateSpecPatchArgs' template: 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
2393
+ :param '_core.v1.PodTemplateSpecPatchArgs' template: 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/replicaset/#pod-template
2358
2394
  """
2359
2395
  if min_ready_seconds is not None:
2360
2396
  pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
@@ -2377,7 +2413,7 @@ class ReplicaSetSpecPatch(dict):
2377
2413
  @pulumi.getter
2378
2414
  def replicas(self) -> Optional[builtins.int]:
2379
2415
  """
2380
- 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
2416
+ Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2381
2417
  """
2382
2418
  return pulumi.get(self, "replicas")
2383
2419
 
@@ -2393,7 +2429,7 @@ class ReplicaSetSpecPatch(dict):
2393
2429
  @pulumi.getter
2394
2430
  def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
2395
2431
  """
2396
- 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
2432
+ 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/replicaset/#pod-template
2397
2433
  """
2398
2434
  return pulumi.get(self, "template")
2399
2435
 
@@ -2414,6 +2450,8 @@ class ReplicaSetStatus(dict):
2414
2450
  suggest = "observed_generation"
2415
2451
  elif key == "readyReplicas":
2416
2452
  suggest = "ready_replicas"
2453
+ elif key == "terminatingReplicas":
2454
+ suggest = "terminating_replicas"
2417
2455
 
2418
2456
  if suggest:
2419
2457
  pulumi.log.warn(f"Key '{key}' not found in ReplicaSetStatus. Access the value via the '{suggest}' property getter instead.")
@@ -2432,15 +2470,19 @@ class ReplicaSetStatus(dict):
2432
2470
  conditions: Optional[Sequence['outputs.ReplicaSetCondition']] = None,
2433
2471
  fully_labeled_replicas: Optional[builtins.int] = None,
2434
2472
  observed_generation: Optional[builtins.int] = None,
2435
- ready_replicas: Optional[builtins.int] = None):
2473
+ ready_replicas: Optional[builtins.int] = None,
2474
+ terminating_replicas: Optional[builtins.int] = None):
2436
2475
  """
2437
2476
  ReplicaSetStatus represents the current status of a ReplicaSet.
2438
- :param builtins.int replicas: Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2439
- :param builtins.int available_replicas: The number of available replicas (ready for at least minReadySeconds) for this replica set.
2477
+ :param builtins.int replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2478
+ :param builtins.int available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
2440
2479
  :param Sequence['ReplicaSetConditionArgs'] conditions: Represents the latest available observations of a replica set's current state.
2441
- :param builtins.int fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
2480
+ :param builtins.int fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
2442
2481
  :param builtins.int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
2443
- :param builtins.int ready_replicas: readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
2482
+ :param builtins.int ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
2483
+ :param builtins.int terminating_replicas: The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
2484
+
2485
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
2444
2486
  """
2445
2487
  pulumi.set(__self__, "replicas", replicas)
2446
2488
  if available_replicas is not None:
@@ -2453,12 +2495,14 @@ class ReplicaSetStatus(dict):
2453
2495
  pulumi.set(__self__, "observed_generation", observed_generation)
2454
2496
  if ready_replicas is not None:
2455
2497
  pulumi.set(__self__, "ready_replicas", ready_replicas)
2498
+ if terminating_replicas is not None:
2499
+ pulumi.set(__self__, "terminating_replicas", terminating_replicas)
2456
2500
 
2457
2501
  @property
2458
2502
  @pulumi.getter
2459
2503
  def replicas(self) -> builtins.int:
2460
2504
  """
2461
- Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2505
+ Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2462
2506
  """
2463
2507
  return pulumi.get(self, "replicas")
2464
2508
 
@@ -2466,7 +2510,7 @@ class ReplicaSetStatus(dict):
2466
2510
  @pulumi.getter(name="availableReplicas")
2467
2511
  def available_replicas(self) -> Optional[builtins.int]:
2468
2512
  """
2469
- The number of available replicas (ready for at least minReadySeconds) for this replica set.
2513
+ The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
2470
2514
  """
2471
2515
  return pulumi.get(self, "available_replicas")
2472
2516
 
@@ -2482,7 +2526,7 @@ class ReplicaSetStatus(dict):
2482
2526
  @pulumi.getter(name="fullyLabeledReplicas")
2483
2527
  def fully_labeled_replicas(self) -> Optional[builtins.int]:
2484
2528
  """
2485
- The number of pods that have labels matching the labels of the pod template of the replicaset.
2529
+ The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
2486
2530
  """
2487
2531
  return pulumi.get(self, "fully_labeled_replicas")
2488
2532
 
@@ -2498,10 +2542,20 @@ class ReplicaSetStatus(dict):
2498
2542
  @pulumi.getter(name="readyReplicas")
2499
2543
  def ready_replicas(self) -> Optional[builtins.int]:
2500
2544
  """
2501
- readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
2545
+ The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
2502
2546
  """
2503
2547
  return pulumi.get(self, "ready_replicas")
2504
2548
 
2549
+ @property
2550
+ @pulumi.getter(name="terminatingReplicas")
2551
+ def terminating_replicas(self) -> Optional[builtins.int]:
2552
+ """
2553
+ The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
2554
+
2555
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
2556
+ """
2557
+ return pulumi.get(self, "terminating_replicas")
2558
+
2505
2559
 
2506
2560
  @pulumi.output_type
2507
2561
  class ReplicaSetStatusPatch(dict):
@@ -2519,6 +2573,8 @@ class ReplicaSetStatusPatch(dict):
2519
2573
  suggest = "observed_generation"
2520
2574
  elif key == "readyReplicas":
2521
2575
  suggest = "ready_replicas"
2576
+ elif key == "terminatingReplicas":
2577
+ suggest = "terminating_replicas"
2522
2578
 
2523
2579
  if suggest:
2524
2580
  pulumi.log.warn(f"Key '{key}' not found in ReplicaSetStatusPatch. Access the value via the '{suggest}' property getter instead.")
@@ -2537,15 +2593,19 @@ class ReplicaSetStatusPatch(dict):
2537
2593
  fully_labeled_replicas: Optional[builtins.int] = None,
2538
2594
  observed_generation: Optional[builtins.int] = None,
2539
2595
  ready_replicas: Optional[builtins.int] = None,
2540
- replicas: Optional[builtins.int] = None):
2596
+ replicas: Optional[builtins.int] = None,
2597
+ terminating_replicas: Optional[builtins.int] = None):
2541
2598
  """
2542
2599
  ReplicaSetStatus represents the current status of a ReplicaSet.
2543
- :param builtins.int available_replicas: The number of available replicas (ready for at least minReadySeconds) for this replica set.
2600
+ :param builtins.int available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
2544
2601
  :param Sequence['ReplicaSetConditionPatchArgs'] conditions: Represents the latest available observations of a replica set's current state.
2545
- :param builtins.int fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
2602
+ :param builtins.int fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
2546
2603
  :param builtins.int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
2547
- :param builtins.int ready_replicas: readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
2548
- :param builtins.int replicas: Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2604
+ :param builtins.int ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
2605
+ :param builtins.int replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2606
+ :param builtins.int terminating_replicas: The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
2607
+
2608
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
2549
2609
  """
2550
2610
  if available_replicas is not None:
2551
2611
  pulumi.set(__self__, "available_replicas", available_replicas)
@@ -2559,12 +2619,14 @@ class ReplicaSetStatusPatch(dict):
2559
2619
  pulumi.set(__self__, "ready_replicas", ready_replicas)
2560
2620
  if replicas is not None:
2561
2621
  pulumi.set(__self__, "replicas", replicas)
2622
+ if terminating_replicas is not None:
2623
+ pulumi.set(__self__, "terminating_replicas", terminating_replicas)
2562
2624
 
2563
2625
  @property
2564
2626
  @pulumi.getter(name="availableReplicas")
2565
2627
  def available_replicas(self) -> Optional[builtins.int]:
2566
2628
  """
2567
- The number of available replicas (ready for at least minReadySeconds) for this replica set.
2629
+ The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
2568
2630
  """
2569
2631
  return pulumi.get(self, "available_replicas")
2570
2632
 
@@ -2580,7 +2642,7 @@ class ReplicaSetStatusPatch(dict):
2580
2642
  @pulumi.getter(name="fullyLabeledReplicas")
2581
2643
  def fully_labeled_replicas(self) -> Optional[builtins.int]:
2582
2644
  """
2583
- The number of pods that have labels matching the labels of the pod template of the replicaset.
2645
+ The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
2584
2646
  """
2585
2647
  return pulumi.get(self, "fully_labeled_replicas")
2586
2648
 
@@ -2596,7 +2658,7 @@ class ReplicaSetStatusPatch(dict):
2596
2658
  @pulumi.getter(name="readyReplicas")
2597
2659
  def ready_replicas(self) -> Optional[builtins.int]:
2598
2660
  """
2599
- readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
2661
+ The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
2600
2662
  """
2601
2663
  return pulumi.get(self, "ready_replicas")
2602
2664
 
@@ -2604,10 +2666,20 @@ class ReplicaSetStatusPatch(dict):
2604
2666
  @pulumi.getter
2605
2667
  def replicas(self) -> Optional[builtins.int]:
2606
2668
  """
2607
- Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
2669
+ Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
2608
2670
  """
2609
2671
  return pulumi.get(self, "replicas")
2610
2672
 
2673
+ @property
2674
+ @pulumi.getter(name="terminatingReplicas")
2675
+ def terminating_replicas(self) -> Optional[builtins.int]:
2676
+ """
2677
+ The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
2678
+
2679
+ This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
2680
+ """
2681
+ return pulumi.get(self, "terminating_replicas")
2682
+
2611
2683
 
2612
2684
  @pulumi.output_type
2613
2685
  class RollingUpdateDaemonSet(dict):
@@ -3399,9 +3471,7 @@ class StatefulSetSpec(dict):
3399
3471
  @staticmethod
3400
3472
  def __key_warning(key: str):
3401
3473
  suggest = None
3402
- if key == "serviceName":
3403
- suggest = "service_name"
3404
- elif key == "minReadySeconds":
3474
+ if key == "minReadySeconds":
3405
3475
  suggest = "min_ready_seconds"
3406
3476
  elif key == "persistentVolumeClaimRetentionPolicy":
3407
3477
  suggest = "persistent_volume_claim_retention_policy"
@@ -3409,6 +3479,8 @@ class StatefulSetSpec(dict):
3409
3479
  suggest = "pod_management_policy"
3410
3480
  elif key == "revisionHistoryLimit":
3411
3481
  suggest = "revision_history_limit"
3482
+ elif key == "serviceName":
3483
+ suggest = "service_name"
3412
3484
  elif key == "updateStrategy":
3413
3485
  suggest = "update_strategy"
3414
3486
  elif key == "volumeClaimTemplates":
@@ -3427,7 +3499,6 @@ class StatefulSetSpec(dict):
3427
3499
 
3428
3500
  def __init__(__self__, *,
3429
3501
  selector: '_meta.v1.outputs.LabelSelector',
3430
- service_name: builtins.str,
3431
3502
  template: '_core.v1.outputs.PodTemplateSpec',
3432
3503
  min_ready_seconds: Optional[builtins.int] = None,
3433
3504
  ordinals: Optional['outputs.StatefulSetOrdinals'] = None,
@@ -3435,12 +3506,12 @@ class StatefulSetSpec(dict):
3435
3506
  pod_management_policy: Optional[builtins.str] = None,
3436
3507
  replicas: Optional[builtins.int] = None,
3437
3508
  revision_history_limit: Optional[builtins.int] = None,
3509
+ service_name: Optional[builtins.str] = None,
3438
3510
  update_strategy: Optional['outputs.StatefulSetUpdateStrategy'] = None,
3439
3511
  volume_claim_templates: Optional[Sequence['_core.v1.outputs.PersistentVolumeClaim']] = None):
3440
3512
  """
3441
3513
  A StatefulSetSpec is the specification of a StatefulSet.
3442
3514
  :param '_meta.v1.LabelSelectorArgs' selector: 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
3443
- :param builtins.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.
3444
3515
  :param '_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".
3445
3516
  :param builtins.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)
3446
3517
  :param '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.
@@ -3448,11 +3519,11 @@ class StatefulSetSpec(dict):
3448
3519
  :param builtins.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.
3449
3520
  :param builtins.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.
3450
3521
  :param builtins.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.
3522
+ :param builtins.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.
3451
3523
  :param 'StatefulSetUpdateStrategyArgs' update_strategy: updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
3452
3524
  :param Sequence['_core.v1.PersistentVolumeClaimArgs'] volume_claim_templates: 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.
3453
3525
  """
3454
3526
  pulumi.set(__self__, "selector", selector)
3455
- pulumi.set(__self__, "service_name", service_name)
3456
3527
  pulumi.set(__self__, "template", template)
3457
3528
  if min_ready_seconds is not None:
3458
3529
  pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
@@ -3466,6 +3537,8 @@ class StatefulSetSpec(dict):
3466
3537
  pulumi.set(__self__, "replicas", replicas)
3467
3538
  if revision_history_limit is not None:
3468
3539
  pulumi.set(__self__, "revision_history_limit", revision_history_limit)
3540
+ if service_name is not None:
3541
+ pulumi.set(__self__, "service_name", service_name)
3469
3542
  if update_strategy is not None:
3470
3543
  pulumi.set(__self__, "update_strategy", update_strategy)
3471
3544
  if volume_claim_templates is not None:
@@ -3479,14 +3552,6 @@ class StatefulSetSpec(dict):
3479
3552
  """
3480
3553
  return pulumi.get(self, "selector")
3481
3554
 
3482
- @property
3483
- @pulumi.getter(name="serviceName")
3484
- def service_name(self) -> builtins.str:
3485
- """
3486
- 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.
3487
- """
3488
- return pulumi.get(self, "service_name")
3489
-
3490
3555
  @property
3491
3556
  @pulumi.getter
3492
3557
  def template(self) -> '_core.v1.outputs.PodTemplateSpec':
@@ -3543,6 +3608,14 @@ class StatefulSetSpec(dict):
3543
3608
  """
3544
3609
  return pulumi.get(self, "revision_history_limit")
3545
3610
 
3611
+ @property
3612
+ @pulumi.getter(name="serviceName")
3613
+ def service_name(self) -> Optional[builtins.str]:
3614
+ """
3615
+ 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.
3616
+ """
3617
+ return pulumi.get(self, "service_name")
3618
+
3546
3619
  @property
3547
3620
  @pulumi.getter(name="updateStrategy")
3548
3621
  def update_strategy(self) -> Optional['outputs.StatefulSetUpdateStrategy']: