File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
content/en/docs/reference/labels-annotations-taints Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1820,6 +1820,26 @@ uses this annotation.
1820
1820
See [annotations](https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/service/annotations/)
1821
1821
in the AWS load balancer controller documentation.
1822
1822
1823
+ # ## service.beta.kubernetes.io/aws-load-balancer-security-groups (deprecated) {#service-beta-kubernetes-io-aws-load-balancer-security-groups}
1824
+
1825
+ Example : ` service.beta.kubernetes.io/aws-load-balancer-security-groups: "sg-53fae93f,sg-8725gr62r"`
1826
+
1827
+ Used on : Service
1828
+
1829
+ The AWS load balancer controller uses this annotation to specify a comma seperated list
1830
+ of security groups you want to attach to an AWS load balancer. Both name and ID of security
1831
+ are supported where name matches a `Name` tag, not the `groupName` attribute.
1832
+
1833
+ When this annotation is added to a Service, the load-balancer controller attaches the security groups
1834
+ referenced by the annotation to the load balancer. If you omit this annotation, the AWS load balancer
1835
+ controller automatically creates a new security group and attaches it to the load balancer.
1836
+
1837
+ {{< note >}}
1838
+ Kubernetes v1.27 and later do not directly set or read this annotation. However, the AWS
1839
+ load balancer controller (part of the Kubernetes project) does still use the
1840
+ ` service.beta.kubernetes.io/aws-load-balancer-security-groups` annotation.
1841
+ {{< /note >}}
1842
+
1823
1843
# ## service.beta.kubernetes.io/load-balancer-source-ranges (deprecated) {#service-beta-kubernetes-io-load-balancer-source-ranges}
1824
1844
1825
1845
Example : ` service.beta.kubernetes.io/load-balancer-source-ranges: "192.0.2.0/25"`
You can’t perform that action at this time.
0 commit comments