Skip to content

Instantly share code, notes, and snippets.

@nicosingh
Last active May 5, 2022 19:07
Show Gist options
  • Save nicosingh/a99d8798d95a92ecee062778300f15f4 to your computer and use it in GitHub Desktop.
Save nicosingh/a99d8798d95a92ecee062778300f15f4 to your computer and use it in GitHub Desktop.
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sample-app-ingress-rules
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/group.name: my-app-eks
alb.ingress.kubernetes.io/load-balancer-name: my-app-eks
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80},{"HTTPS":443}]'
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/security-groups: my-app-alb
external-dns.alpha.kubernetes.io/hostname: sample.eks.singh.cl
external-dns.alpha.kubernetes.io/alias: "true"
spec:
ingressClassName: alb
rules:
- host: sample.eks.singh.cl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: sample-app
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment