promote DeploymentReplicaSetTerminatingReplicas to Beta

This commit is contained in:
Filip Křepinský 2025-07-20 23:06:13 +02:00
parent 5b3bbd89e6
commit b0e47a88f7
6 changed files with 10 additions and 9 deletions

View file

@ -536,7 +536,7 @@ type DeploymentStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32
@ -895,7 +895,7 @@ type ReplicaSetStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32

View file

@ -1178,6 +1178,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
DeploymentReplicaSetTerminatingReplicas: {
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.35"), Default: true, PreRelease: featuregate.Beta},
},
DisableAllocatorDualWrite: {

View file

@ -512,7 +512,7 @@ type DeploymentStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,9,opt,name=terminatingReplicas"`
@ -900,7 +900,7 @@ type ReplicaSetStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,7,opt,name=terminatingReplicas"`

View file

@ -586,7 +586,7 @@ type DeploymentStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,9,opt,name=terminatingReplicas"`

View file

@ -564,7 +564,7 @@ type DeploymentStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,9,opt,name=terminatingReplicas"`
@ -966,7 +966,7 @@ type ReplicaSetStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,7,opt,name=terminatingReplicas"`

View file

@ -274,7 +274,7 @@ type DeploymentStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,9,opt,name=terminatingReplicas"`
@ -1006,7 +1006,7 @@ type ReplicaSetStatus struct {
// 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.
//
// This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
// This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).
// +optional
TerminatingReplicas *int32 `json:"terminatingReplicas,omitempty" protobuf:"varint,7,opt,name=terminatingReplicas"`