kubernetes / cloud-provider-alibaba-cloud

CloudProvider for Alibaba Cloud
Apache License 2.0
360 stars 163 forks source link

Enabling support for the Load Balancer service with static Public IP addresses #385

Closed yang-wang11 closed 7 months ago

yang-wang11 commented 1 year ago

What would you like to be added:

the Ali cloud provider follows the rule designed for the Kubernetes service interface.
if the user assigns a public IP to the field LoadBalancerIP, then the CLB can use this public IP address for its endpoint address like below. https://www.alibabacloud.com/help/en/slb/classic-load-balancer/user-guide/associate-and-manage-an-eip?spm=5176.2020520104.0.0.51873f1bpDdaSp

apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.kubernetes.io/alibaba-cloud-loadbalancer-address-type: "intranet"
  name: test-lb
  namespace: default
spec:
  type: LoadBalancer
  LoadBalancerIP: {sample_ip}

Why is this needed:

It is a basic requirement for users who want to build their allow-list. this feature is already supported in AWS, Azure and GCP.

k8s-triage-robot commented 8 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten