Skip to content

Commit 5d2abe1

Browse files
authored
docs: dont reset replica if hpa is set (#5755)
no longer true after #5021 Signed-off-by: Arko Dasgupta <[email protected]>
1 parent c08cc9b commit 5d2abe1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

api/v1alpha1/envoyproxy_types.go

-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ type EnvoyProxyKubernetesProvider struct {
333333
EnvoyService *KubernetesServiceSpec `json:"envoyService,omitempty"`
334334

335335
// EnvoyHpa defines the Horizontal Pod Autoscaler settings for Envoy Proxy Deployment.
336-
// Once the HPA is being set, Replicas field from EnvoyDeployment will be ignored.
337336
//
338337
// +optional
339338
EnvoyHpa *KubernetesHorizontalPodAutoscalerSpec `json:"envoyHpa,omitempty"`

charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -9584,9 +9584,8 @@ spec:
95849584
type: object
95859585
type: object
95869586
envoyHpa:
9587-
description: |-
9588-
EnvoyHpa defines the Horizontal Pod Autoscaler settings for Envoy Proxy Deployment.
9589-
Once the HPA is being set, Replicas field from EnvoyDeployment will be ignored.
9587+
description: EnvoyHpa defines the Horizontal Pod Autoscaler
9588+
settings for Envoy Proxy Deployment.
95909589
properties:
95919590
behavior:
95929591
description: |-

site/content/en/latest/api/extension_types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ _Appears in:_
15171517
| `envoyDeployment` | _[KubernetesDeploymentSpec](#kubernetesdeploymentspec)_ | false | | EnvoyDeployment defines the desired state of the Envoy deployment resource.<br />If unspecified, default settings for the managed Envoy deployment resource<br />are applied. |
15181518
| `envoyDaemonSet` | _[KubernetesDaemonSetSpec](#kubernetesdaemonsetspec)_ | false | | EnvoyDaemonSet defines the desired state of the Envoy daemonset resource.<br />Disabled by default, a deployment resource is used instead to provision the Envoy Proxy fleet |
15191519
| `envoyService` | _[KubernetesServiceSpec](#kubernetesservicespec)_ | false | | EnvoyService defines the desired state of the Envoy service resource.<br />If unspecified, default settings for the managed Envoy service resource<br />are applied. |
1520-
| `envoyHpa` | _[KubernetesHorizontalPodAutoscalerSpec](#kuberneteshorizontalpodautoscalerspec)_ | false | | EnvoyHpa defines the Horizontal Pod Autoscaler settings for Envoy Proxy Deployment.<br />Once the HPA is being set, Replicas field from EnvoyDeployment will be ignored. |
1520+
| `envoyHpa` | _[KubernetesHorizontalPodAutoscalerSpec](#kuberneteshorizontalpodautoscalerspec)_ | false | | EnvoyHpa defines the Horizontal Pod Autoscaler settings for Envoy Proxy Deployment. |
15211521
| `useListenerPortAsContainerPort` | _boolean_ | false | | UseListenerPortAsContainerPort disables the port shifting feature in the Envoy Proxy.<br />When set to false (default value), if the service port is a privileged port (1-1023), add a constant to the value converting it into an ephemeral port.<br />This allows the container to bind to the port without needing a CAP_NET_BIND_SERVICE capability. |
15221522
| `envoyPDB` | _[KubernetesPodDisruptionBudgetSpec](#kubernetespoddisruptionbudgetspec)_ | false | | EnvoyPDB allows to control the pod disruption budget of an Envoy Proxy. |
15231523

0 commit comments

Comments
 (0)