Skip to content

Commit

Permalink
Cluster topology: fix comment about MD replicas defaulting
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed Dec 19, 2022
1 parent 79ba44c commit 688c8b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ type MachineDeploymentTopology struct {
FailureDomain *string `json:"failureDomain,omitempty"`

// Replicas is the number of worker nodes belonging to this set.
// If the value is nil, the MachineDeployment is created without the number of Replicas (defaulting to zero)
// If the value is nil, the MachineDeployment is created without the number of Replicas (defaulting to 1)
// and it's assumed that an external entity (like cluster autoscaler) is responsible for the management
// of this value.
// +optional
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ Note: Builtin variables are defined in [Builtin variables](#builtin-variables) b
Name string `json:"name"`
// The number of worker nodes belonging to this set.
// If the value is nil, the MachineDeployment is created without the number of Replicas (defaulting to zero)
// If the value is nil, the MachineDeployment is created without the number of Replicas (defaulting to 1)
// and it's assumed that an external entity (like cluster autoscaler) is responsible for the management
// of this value.
// +optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ components:
replicas:
description: Replicas is the number of worker nodes belonging to this set.
If the value is nil, the MachineDeployment is created without the number
of Replicas (defaulting to zero) and it's assumed that an external entity
of Replicas (defaulting to 1) and it's assumed that an external entity
(like cluster autoscaler) is responsible for the management of this value.
format: int32
type: integer
Expand Down

0 comments on commit 688c8b4

Please sign in to comment.