-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Proposal
This field was under-specified, and its meaning varied across different implementations. It also did not support dual-stack networking, which led to its deprecation and potential removal in future API versions.
To address this deprecation in a Helm chart, you should consider the following steps:
-
Remove the loadBalancerIP field: If your Helm chart includes the loadBalancerIP field, remove it from the service definition. This field is no longer recommended for use.
-
Use Provider-Specific Annotations: Instead of using loadBalancerIP, you should use provider-specific annotations to specify the load balancer IP address. Different cloud providers may have their own annotations for setting the load balancer IP.
-
Consider Using loadBalancerClass: If applicable, you can specify a custom load balancer implementation using the .spec.loadBalancerClass field. This allows you to use a load balancer other than the default provided by the cloud provider.
By following these steps, you can ensure your Helm chart is compatible with Kubernetes v1.24 and future versions.