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.
- pulumi_kubernetes/__init__.py +36 -2
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +30 -30
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +20 -20
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +4 -4
- pulumi_kubernetes/apps/v1/_inputs.py +109 -56
- pulumi_kubernetes/apps/v1/outputs.py +129 -56
- pulumi_kubernetes/autoscaling/v2/_inputs.py +92 -12
- pulumi_kubernetes/autoscaling/v2/outputs.py +66 -10
- pulumi_kubernetes/batch/v1/_inputs.py +12 -42
- pulumi_kubernetes/batch/v1/outputs.py +8 -32
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +2 -0
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +2 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +229 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +219 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +240 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +292 -0
- pulumi_kubernetes/certificates/v1beta1/outputs.py +241 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +6 -6
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +4 -4
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +220 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +219 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +232 -0
- pulumi_kubernetes/coordination/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +371 -0
- pulumi_kubernetes/coordination/v1beta1/outputs.py +292 -0
- pulumi_kubernetes/core/v1/Endpoints.py +8 -0
- pulumi_kubernetes/core/v1/EndpointsList.py +2 -2
- pulumi_kubernetes/core/v1/EndpointsPatch.py +8 -0
- pulumi_kubernetes/core/v1/_inputs.py +240 -66
- pulumi_kubernetes/core/v1/outputs.py +251 -51
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +10 -10
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +10 -10
- pulumi_kubernetes/discovery/v1/_inputs.py +159 -44
- pulumi_kubernetes/discovery/v1/outputs.py +107 -32
- pulumi_kubernetes/networking/v1/IPAddress.py +220 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +219 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +232 -0
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +230 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +219 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +242 -0
- pulumi_kubernetes/networking/v1/__init__.py +6 -0
- pulumi_kubernetes/networking/v1/_inputs.py +599 -0
- pulumi_kubernetes/networking/v1/outputs.py +461 -0
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +1 -1
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +1 -1
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +1 -1
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +1 -1
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +0 -12
- pulumi_kubernetes/policy/v1/outputs.py +0 -8
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/resource/__init__.py +3 -0
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +227 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +219 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +238 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/__init__.py +3 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2559 -213
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2037 -256
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +1 -1
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2044 -176
- pulumi_kubernetes/resource/v1beta1/outputs.py +1536 -134
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +241 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +219 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +252 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +236 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +220 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +247 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +233 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +219 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +244 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +220 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +261 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/storage/v1/_inputs.py +90 -0
- pulumi_kubernetes/storage/v1/outputs.py +110 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
|
@@ -1486,7 +1486,7 @@ if not MYPY:
|
|
|
1486
1486
|
"""
|
|
1487
1487
|
available_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1488
1488
|
"""
|
|
1489
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1489
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1490
1490
|
"""
|
|
1491
1491
|
collision_count: NotRequired[pulumi.Input[builtins.int]]
|
|
1492
1492
|
"""
|
|
@@ -1502,11 +1502,17 @@ if not MYPY:
|
|
|
1502
1502
|
"""
|
|
1503
1503
|
ready_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1504
1504
|
"""
|
|
1505
|
-
|
|
1505
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1506
1506
|
"""
|
|
1507
1507
|
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1508
1508
|
"""
|
|
1509
|
-
Total number of non-
|
|
1509
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1510
|
+
"""
|
|
1511
|
+
terminating_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1512
|
+
"""
|
|
1513
|
+
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.
|
|
1514
|
+
|
|
1515
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1510
1516
|
"""
|
|
1511
1517
|
unavailable_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1512
1518
|
"""
|
|
@@ -1514,7 +1520,7 @@ if not MYPY:
|
|
|
1514
1520
|
"""
|
|
1515
1521
|
updated_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1516
1522
|
"""
|
|
1517
|
-
Total number of non-
|
|
1523
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1518
1524
|
"""
|
|
1519
1525
|
elif False:
|
|
1520
1526
|
DeploymentStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1528,18 +1534,22 @@ class DeploymentStatusArgs:
|
|
|
1528
1534
|
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
1529
1535
|
ready_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1530
1536
|
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1537
|
+
terminating_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1531
1538
|
unavailable_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1532
1539
|
updated_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
1533
1540
|
"""
|
|
1534
1541
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1535
|
-
:param pulumi.Input[builtins.int] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1542
|
+
:param pulumi.Input[builtins.int] available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1536
1543
|
:param pulumi.Input[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.
|
|
1537
1544
|
:param pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]] conditions: Represents the latest available observations of a deployment's current state.
|
|
1538
1545
|
:param pulumi.Input[builtins.int] observed_generation: The generation observed by the deployment controller.
|
|
1539
|
-
:param pulumi.Input[builtins.int] ready_replicas:
|
|
1540
|
-
:param pulumi.Input[builtins.int] replicas: Total number of non-
|
|
1546
|
+
:param pulumi.Input[builtins.int] ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1547
|
+
:param pulumi.Input[builtins.int] replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1548
|
+
:param pulumi.Input[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.
|
|
1549
|
+
|
|
1550
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1541
1551
|
:param pulumi.Input[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.
|
|
1542
|
-
:param pulumi.Input[builtins.int] updated_replicas: Total number of non-
|
|
1552
|
+
:param pulumi.Input[builtins.int] updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1543
1553
|
"""
|
|
1544
1554
|
if available_replicas is not None:
|
|
1545
1555
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -1553,6 +1563,8 @@ class DeploymentStatusArgs:
|
|
|
1553
1563
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
1554
1564
|
if replicas is not None:
|
|
1555
1565
|
pulumi.set(__self__, "replicas", replicas)
|
|
1566
|
+
if terminating_replicas is not None:
|
|
1567
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
1556
1568
|
if unavailable_replicas is not None:
|
|
1557
1569
|
pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
|
|
1558
1570
|
if updated_replicas is not None:
|
|
@@ -1562,7 +1574,7 @@ class DeploymentStatusArgs:
|
|
|
1562
1574
|
@pulumi.getter(name="availableReplicas")
|
|
1563
1575
|
def available_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1564
1576
|
"""
|
|
1565
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1577
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1566
1578
|
"""
|
|
1567
1579
|
return pulumi.get(self, "available_replicas")
|
|
1568
1580
|
|
|
@@ -1610,7 +1622,7 @@ class DeploymentStatusArgs:
|
|
|
1610
1622
|
@pulumi.getter(name="readyReplicas")
|
|
1611
1623
|
def ready_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1612
1624
|
"""
|
|
1613
|
-
|
|
1625
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1614
1626
|
"""
|
|
1615
1627
|
return pulumi.get(self, "ready_replicas")
|
|
1616
1628
|
|
|
@@ -1622,7 +1634,7 @@ class DeploymentStatusArgs:
|
|
|
1622
1634
|
@pulumi.getter
|
|
1623
1635
|
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1624
1636
|
"""
|
|
1625
|
-
Total number of non-
|
|
1637
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1626
1638
|
"""
|
|
1627
1639
|
return pulumi.get(self, "replicas")
|
|
1628
1640
|
|
|
@@ -1630,6 +1642,20 @@ class DeploymentStatusArgs:
|
|
|
1630
1642
|
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1631
1643
|
pulumi.set(self, "replicas", value)
|
|
1632
1644
|
|
|
1645
|
+
@property
|
|
1646
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
1647
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1648
|
+
"""
|
|
1649
|
+
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.
|
|
1650
|
+
|
|
1651
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1652
|
+
"""
|
|
1653
|
+
return pulumi.get(self, "terminating_replicas")
|
|
1654
|
+
|
|
1655
|
+
@terminating_replicas.setter
|
|
1656
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1657
|
+
pulumi.set(self, "terminating_replicas", value)
|
|
1658
|
+
|
|
1633
1659
|
@property
|
|
1634
1660
|
@pulumi.getter(name="unavailableReplicas")
|
|
1635
1661
|
def unavailable_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
@@ -1646,7 +1672,7 @@ class DeploymentStatusArgs:
|
|
|
1646
1672
|
@pulumi.getter(name="updatedReplicas")
|
|
1647
1673
|
def updated_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1648
1674
|
"""
|
|
1649
|
-
Total number of non-
|
|
1675
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1650
1676
|
"""
|
|
1651
1677
|
return pulumi.get(self, "updated_replicas")
|
|
1652
1678
|
|
|
@@ -2052,7 +2078,7 @@ if not MYPY:
|
|
|
2052
2078
|
"""
|
|
2053
2079
|
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2054
2080
|
"""
|
|
2055
|
-
Replicas is the number of desired
|
|
2081
|
+
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
|
|
2056
2082
|
"""
|
|
2057
2083
|
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
2058
2084
|
"""
|
|
@@ -2060,7 +2086,7 @@ if not MYPY:
|
|
|
2060
2086
|
"""
|
|
2061
2087
|
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
|
|
2062
2088
|
"""
|
|
2063
|
-
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/
|
|
2089
|
+
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
|
|
2064
2090
|
"""
|
|
2065
2091
|
elif False:
|
|
2066
2092
|
ReplicaSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2075,9 +2101,9 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2075
2101
|
"""
|
|
2076
2102
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2077
2103
|
:param pulumi.Input[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)
|
|
2078
|
-
:param pulumi.Input[builtins.int] replicas: Replicas is the number of desired
|
|
2104
|
+
:param pulumi.Input[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
|
|
2079
2105
|
:param pulumi.Input['_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
|
|
2080
|
-
:param pulumi.Input['_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/
|
|
2106
|
+
:param pulumi.Input['_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
|
|
2081
2107
|
"""
|
|
2082
2108
|
if min_ready_seconds is not None:
|
|
2083
2109
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -2104,7 +2130,7 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2104
2130
|
@pulumi.getter
|
|
2105
2131
|
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2106
2132
|
"""
|
|
2107
|
-
Replicas is the number of desired
|
|
2133
|
+
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
|
|
2108
2134
|
"""
|
|
2109
2135
|
return pulumi.get(self, "replicas")
|
|
2110
2136
|
|
|
@@ -2128,7 +2154,7 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2128
2154
|
@pulumi.getter
|
|
2129
2155
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
2130
2156
|
"""
|
|
2131
|
-
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/
|
|
2157
|
+
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
|
|
2132
2158
|
"""
|
|
2133
2159
|
return pulumi.get(self, "template")
|
|
2134
2160
|
|
|
@@ -2152,11 +2178,11 @@ if not MYPY:
|
|
|
2152
2178
|
"""
|
|
2153
2179
|
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2154
2180
|
"""
|
|
2155
|
-
Replicas is the number of desired
|
|
2181
|
+
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
|
|
2156
2182
|
"""
|
|
2157
2183
|
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecArgsDict']]
|
|
2158
2184
|
"""
|
|
2159
|
-
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/
|
|
2185
|
+
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
|
|
2160
2186
|
"""
|
|
2161
2187
|
elif False:
|
|
2162
2188
|
ReplicaSetSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2172,8 +2198,8 @@ class ReplicaSetSpecArgs:
|
|
|
2172
2198
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2173
2199
|
:param pulumi.Input['_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
|
|
2174
2200
|
:param pulumi.Input[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)
|
|
2175
|
-
:param pulumi.Input[builtins.int] replicas: Replicas is the number of desired
|
|
2176
|
-
:param pulumi.Input['_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/
|
|
2201
|
+
:param pulumi.Input[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
|
|
2202
|
+
:param pulumi.Input['_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
|
|
2177
2203
|
"""
|
|
2178
2204
|
pulumi.set(__self__, "selector", selector)
|
|
2179
2205
|
if min_ready_seconds is not None:
|
|
@@ -2211,7 +2237,7 @@ class ReplicaSetSpecArgs:
|
|
|
2211
2237
|
@pulumi.getter
|
|
2212
2238
|
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2213
2239
|
"""
|
|
2214
|
-
Replicas is the number of desired
|
|
2240
|
+
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
|
|
2215
2241
|
"""
|
|
2216
2242
|
return pulumi.get(self, "replicas")
|
|
2217
2243
|
|
|
@@ -2223,7 +2249,7 @@ class ReplicaSetSpecArgs:
|
|
|
2223
2249
|
@pulumi.getter
|
|
2224
2250
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecArgs']]:
|
|
2225
2251
|
"""
|
|
2226
|
-
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/
|
|
2252
|
+
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
|
|
2227
2253
|
"""
|
|
2228
2254
|
return pulumi.get(self, "template")
|
|
2229
2255
|
|
|
@@ -2239,11 +2265,11 @@ if not MYPY:
|
|
|
2239
2265
|
"""
|
|
2240
2266
|
replicas: pulumi.Input[builtins.int]
|
|
2241
2267
|
"""
|
|
2242
|
-
Replicas is the most recently observed number of
|
|
2268
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2243
2269
|
"""
|
|
2244
2270
|
available_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2245
2271
|
"""
|
|
2246
|
-
The number of available
|
|
2272
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2247
2273
|
"""
|
|
2248
2274
|
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgsDict']]]]
|
|
2249
2275
|
"""
|
|
@@ -2251,7 +2277,7 @@ if not MYPY:
|
|
|
2251
2277
|
"""
|
|
2252
2278
|
fully_labeled_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2253
2279
|
"""
|
|
2254
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2280
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2255
2281
|
"""
|
|
2256
2282
|
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
2257
2283
|
"""
|
|
@@ -2259,7 +2285,13 @@ if not MYPY:
|
|
|
2259
2285
|
"""
|
|
2260
2286
|
ready_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2261
2287
|
"""
|
|
2262
|
-
|
|
2288
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2289
|
+
"""
|
|
2290
|
+
terminating_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2291
|
+
"""
|
|
2292
|
+
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.
|
|
2293
|
+
|
|
2294
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2263
2295
|
"""
|
|
2264
2296
|
elif False:
|
|
2265
2297
|
ReplicaSetStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2272,15 +2304,19 @@ class ReplicaSetStatusArgs:
|
|
|
2272
2304
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]]] = None,
|
|
2273
2305
|
fully_labeled_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2274
2306
|
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
2275
|
-
ready_replicas: Optional[pulumi.Input[builtins.int]] = None
|
|
2307
|
+
ready_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2308
|
+
terminating_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
2276
2309
|
"""
|
|
2277
2310
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2278
|
-
:param pulumi.Input[builtins.int] replicas: Replicas is the most recently observed number of
|
|
2279
|
-
:param pulumi.Input[builtins.int] available_replicas: The number of available
|
|
2311
|
+
:param pulumi.Input[builtins.int] replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2312
|
+
:param pulumi.Input[builtins.int] available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2280
2313
|
:param pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]] conditions: Represents the latest available observations of a replica set's current state.
|
|
2281
|
-
:param pulumi.Input[builtins.int] fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2314
|
+
:param pulumi.Input[builtins.int] fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2282
2315
|
:param pulumi.Input[builtins.int] observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2283
|
-
:param pulumi.Input[builtins.int] ready_replicas:
|
|
2316
|
+
:param pulumi.Input[builtins.int] ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2317
|
+
:param pulumi.Input[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.
|
|
2318
|
+
|
|
2319
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2284
2320
|
"""
|
|
2285
2321
|
pulumi.set(__self__, "replicas", replicas)
|
|
2286
2322
|
if available_replicas is not None:
|
|
@@ -2293,12 +2329,14 @@ class ReplicaSetStatusArgs:
|
|
|
2293
2329
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
2294
2330
|
if ready_replicas is not None:
|
|
2295
2331
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
2332
|
+
if terminating_replicas is not None:
|
|
2333
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
2296
2334
|
|
|
2297
2335
|
@property
|
|
2298
2336
|
@pulumi.getter
|
|
2299
2337
|
def replicas(self) -> pulumi.Input[builtins.int]:
|
|
2300
2338
|
"""
|
|
2301
|
-
Replicas is the most recently observed number of
|
|
2339
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2302
2340
|
"""
|
|
2303
2341
|
return pulumi.get(self, "replicas")
|
|
2304
2342
|
|
|
@@ -2310,7 +2348,7 @@ class ReplicaSetStatusArgs:
|
|
|
2310
2348
|
@pulumi.getter(name="availableReplicas")
|
|
2311
2349
|
def available_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2312
2350
|
"""
|
|
2313
|
-
The number of available
|
|
2351
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2314
2352
|
"""
|
|
2315
2353
|
return pulumi.get(self, "available_replicas")
|
|
2316
2354
|
|
|
@@ -2334,7 +2372,7 @@ class ReplicaSetStatusArgs:
|
|
|
2334
2372
|
@pulumi.getter(name="fullyLabeledReplicas")
|
|
2335
2373
|
def fully_labeled_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2336
2374
|
"""
|
|
2337
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2375
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2338
2376
|
"""
|
|
2339
2377
|
return pulumi.get(self, "fully_labeled_replicas")
|
|
2340
2378
|
|
|
@@ -2358,7 +2396,7 @@ class ReplicaSetStatusArgs:
|
|
|
2358
2396
|
@pulumi.getter(name="readyReplicas")
|
|
2359
2397
|
def ready_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2360
2398
|
"""
|
|
2361
|
-
|
|
2399
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2362
2400
|
"""
|
|
2363
2401
|
return pulumi.get(self, "ready_replicas")
|
|
2364
2402
|
|
|
@@ -2366,6 +2404,20 @@ class ReplicaSetStatusArgs:
|
|
|
2366
2404
|
def ready_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2367
2405
|
pulumi.set(self, "ready_replicas", value)
|
|
2368
2406
|
|
|
2407
|
+
@property
|
|
2408
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
2409
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2410
|
+
"""
|
|
2411
|
+
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.
|
|
2412
|
+
|
|
2413
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2414
|
+
"""
|
|
2415
|
+
return pulumi.get(self, "terminating_replicas")
|
|
2416
|
+
|
|
2417
|
+
@terminating_replicas.setter
|
|
2418
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2419
|
+
pulumi.set(self, "terminating_replicas", value)
|
|
2420
|
+
|
|
2369
2421
|
|
|
2370
2422
|
if not MYPY:
|
|
2371
2423
|
class ReplicaSetArgsDict(TypedDict):
|
|
@@ -3380,10 +3432,6 @@ if not MYPY:
|
|
|
3380
3432
|
"""
|
|
3381
3433
|
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
|
|
3382
3434
|
"""
|
|
3383
|
-
service_name: pulumi.Input[builtins.str]
|
|
3384
|
-
"""
|
|
3385
|
-
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.
|
|
3386
|
-
"""
|
|
3387
3435
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
|
|
3388
3436
|
"""
|
|
3389
3437
|
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".
|
|
@@ -3412,6 +3460,10 @@ if not MYPY:
|
|
|
3412
3460
|
"""
|
|
3413
3461
|
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.
|
|
3414
3462
|
"""
|
|
3463
|
+
service_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3464
|
+
"""
|
|
3465
|
+
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.
|
|
3466
|
+
"""
|
|
3415
3467
|
update_strategy: NotRequired[pulumi.Input['StatefulSetUpdateStrategyArgsDict']]
|
|
3416
3468
|
"""
|
|
3417
3469
|
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
|
@@ -3427,7 +3479,6 @@ elif False:
|
|
|
3427
3479
|
class StatefulSetSpecArgs:
|
|
3428
3480
|
def __init__(__self__, *,
|
|
3429
3481
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
3430
|
-
service_name: pulumi.Input[builtins.str],
|
|
3431
3482
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
3432
3483
|
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
3433
3484
|
ordinals: Optional[pulumi.Input['StatefulSetOrdinalsArgs']] = None,
|
|
@@ -3435,12 +3486,12 @@ class StatefulSetSpecArgs:
|
|
|
3435
3486
|
pod_management_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3436
3487
|
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3437
3488
|
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
3489
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3438
3490
|
update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']] = None,
|
|
3439
3491
|
volume_claim_templates: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]] = None):
|
|
3440
3492
|
"""
|
|
3441
3493
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3442
3494
|
:param pulumi.Input['_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 pulumi.Input[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
3495
|
: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".
|
|
3445
3496
|
:param pulumi.Input[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
3497
|
: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.
|
|
@@ -3448,11 +3499,11 @@ class StatefulSetSpecArgs:
|
|
|
3448
3499
|
:param pulumi.Input[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
3500
|
:param pulumi.Input[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
3501
|
:param pulumi.Input[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.
|
|
3502
|
+
:param pulumi.Input[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
3503
|
:param pulumi.Input['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
3504
|
:param pulumi.Input[Sequence[pulumi.Input['_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
3505
|
"""
|
|
3454
3506
|
pulumi.set(__self__, "selector", selector)
|
|
3455
|
-
pulumi.set(__self__, "service_name", service_name)
|
|
3456
3507
|
pulumi.set(__self__, "template", template)
|
|
3457
3508
|
if min_ready_seconds is not None:
|
|
3458
3509
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -3466,6 +3517,8 @@ class StatefulSetSpecArgs:
|
|
|
3466
3517
|
pulumi.set(__self__, "replicas", replicas)
|
|
3467
3518
|
if revision_history_limit is not None:
|
|
3468
3519
|
pulumi.set(__self__, "revision_history_limit", revision_history_limit)
|
|
3520
|
+
if service_name is not None:
|
|
3521
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
3469
3522
|
if update_strategy is not None:
|
|
3470
3523
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
3471
3524
|
if volume_claim_templates is not None:
|
|
@@ -3483,18 +3536,6 @@ class StatefulSetSpecArgs:
|
|
|
3483
3536
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
3484
3537
|
pulumi.set(self, "selector", value)
|
|
3485
3538
|
|
|
3486
|
-
@property
|
|
3487
|
-
@pulumi.getter(name="serviceName")
|
|
3488
|
-
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
3489
|
-
"""
|
|
3490
|
-
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.
|
|
3491
|
-
"""
|
|
3492
|
-
return pulumi.get(self, "service_name")
|
|
3493
|
-
|
|
3494
|
-
@service_name.setter
|
|
3495
|
-
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
3496
|
-
pulumi.set(self, "service_name", value)
|
|
3497
|
-
|
|
3498
3539
|
@property
|
|
3499
3540
|
@pulumi.getter
|
|
3500
3541
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
@@ -3579,6 +3620,18 @@ class StatefulSetSpecArgs:
|
|
|
3579
3620
|
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3580
3621
|
pulumi.set(self, "revision_history_limit", value)
|
|
3581
3622
|
|
|
3623
|
+
@property
|
|
3624
|
+
@pulumi.getter(name="serviceName")
|
|
3625
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3626
|
+
"""
|
|
3627
|
+
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.
|
|
3628
|
+
"""
|
|
3629
|
+
return pulumi.get(self, "service_name")
|
|
3630
|
+
|
|
3631
|
+
@service_name.setter
|
|
3632
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3633
|
+
pulumi.set(self, "service_name", value)
|
|
3634
|
+
|
|
3582
3635
|
@property
|
|
3583
3636
|
@pulumi.getter(name="updateStrategy")
|
|
3584
3637
|
def update_strategy(self) -> Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]:
|