Skip to content

Instantly share code, notes, and snippets.

@maazghani
Forked from mgoodness/k8s-svc-annotations.md
Last active November 16, 2020 10:39
Show Gist options
  • Save maazghani/edb43d7093de39a505cf39e560b397c2 to your computer and use it in GitHub Desktop.
Save maazghani/edb43d7093de39a505cf39e560b397c2 to your computer and use it in GitHub Desktop.
AWS ELB-related annotations for Kubernetes Services (as of v1.12.0)
[AWS Service annotations](https://github.com/kubernetes/kubernetes/blob/v1.12.0/pkg/cloudprovider/providers/aws/aws.go)
---
- `service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval` (in minutes)
- `service.beta.kubernetes.io/aws-load-balancer-access-log-enabled` (true|false)
- `service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name`
- `service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix`
- `service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags` (comma-separated list of key=value)
- `service.beta.kubernetes.io/aws-load-balancer-backend-protocol` (http|https|ssl|tcp)
- `service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled` (true|false)
- `service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout` (in seconds)
- `service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout` (in seconds, default 60)
- `service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled` (true|false)
- `service.beta.kubernetes.io/aws-load-balancer-extra-security-groups` (comma-separated list)
- `service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold`
- `service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval`
- `service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout`
- `service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold`
- `service.beta.kubernetes.io/aws-load-balancer-internal` (true|false)
- `service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'`
- `service.beta.kubernetes.io/aws-load-balancer-ssl-cert` (IAM or ACM ARN)
- `service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy`
- `service.beta.kubernetes.io/aws-load-balancer-ssl-ports` (default '*')
- `service.beta.kubernetes.io/aws-load-balancer-type: nlb`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment