Description
Description:
The current Helm template located at charts/pmm/templates/service.yaml does not support the creation of multiple distinct services when specifying static IP addresses using annotations, such as networking.gke.io/load-balancer-ip-addresses, in Google Cloud Platform (GCP). This limitation hinders the deployment of services that require predefined static IPs for load balancers.
Problem Details:
When attempting to define multiple services within the Helm chart, each intended to have its own static IP address annotation, the template structure does not accommodate this configuration. Specifically, the template's logic does not allow for the differentiation and creation of separate services with individual annotations, leading to deployment conflicts or failures.
Proposed Solution:
Modify the Helm template to support the definition and deployment of multiple services, each with its own set of annotations, including static IP addresses. This could involve restructuring the template to iterate over a list of services defined in the values.yaml file, ensuring that each service can be individually configured with its respective annotations.
References:
GKE LoadBalancer Service Parameters
Creating an Internal Load Balancer in GKE