Skip to content

Commit

Permalink
Add warning in doc for ServiceMutatorWebhook (kubernetes-sigs#3180)
Browse files Browse the repository at this point in the history
This change adds a warning in install documentation about the new Service Mutating Webhook which will set  `spec.loadBalancerClass` field of service type LoadBalancer.
  • Loading branch information
punkwalker authored Jul 26, 2023
1 parent d177c89 commit 2081cc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/deploy/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ The LBC is supported by AWS. Some clusters may be using the legacy "in-tree" fun
!!!question "Existing AWS ALB Ingress Controller users"
The AWS ALB Ingress controller must be uninstalled before installing the AWS Load Balancer Controller.
Please follow our [migration guide](upgrade/migrate_v1_v2.md) to do a migration.

!!!warning "When using AWS Load Balancer Controller v2.5+"
The AWS LBC provides a mutating webhook for service resources to set the `spec.loadBalancerClass` field for service of type LoadBalancer on create.
This makes the AWS LBC the **default controller for service** of type LoadBalancer. You can disable this feature and revert to set Cloud Controller Manager (in-tree controller) as the default by setting the helm chart value **enableServiceMutatorWebhook to false** with `--set enableServiceMutatorWebhook=false` .
You will no longer be able to provision new Classic Load Balancer (CLB) from your kubernetes service unless you disable this feature. Existing CLB will continue to work fine.

## Supported Kubernetes versions
* AWS Load Balancer Controller v2.0.0~v2.1.3 requires Kubernetes 1.15+
Expand Down

0 comments on commit 2081cc5

Please sign in to comment.