Created
January 7, 2020 11:26
-
-
Save phivid/94c6856df7f7f66d4531ac87da8284df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ kubectl -n 2048-game describe ingress/2048-ingress | |
Name: 2048-ingress | |
Namespace: 2048-game | |
Address: a261edff-2048game-2048ingr-6fa0-xxxxxxxxxxx.eu-west-1.elb.amazonaws.com | |
Default backend: default-http-backend:80 (<none>) | |
Rules: | |
Host Path Backends | |
---- ---- -------- | |
* | |
/* ssl-redirect:use-annotation (<none>) | |
/* service-2048:80 (10.0.1.219:80,10.0.2.69:80,10.0.3.62:80) | |
Annotations: | |
alb.ingress.kubernetes.io/listen-ports: [{"HTTP": 80}, {"HTTPS":443}] | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
alb.ingress.kubernetes.io/tags: Application=2048-game | |
kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"extensions/v1beta1","kind":"Ingress","metadata":{"annotations":{"alb.ingress.kubernetes.io/actions.ssl-redirect":"{\"Type\": \"redirect\", \"RedirectConfig\": { \"Protocol\": \"HTTPS\", \"Port\": \"443\", \"StatusCode\": \"HTTP_301\"}}","alb.ingress.kubernetes.io/certificate-arn":"arn:aws:acm:eu-west-1:<aws_account_id>:certificate/19dacbd3-731f-455e-be86-xxxxxxxxxxxxx","alb.ingress.kubernetes.io/listen-ports":"[{\"HTTP\": 80}, {\"HTTPS\":443}]","alb.ingress.kubernetes.io/scheme":"internet-facing","alb.ingress.kubernetes.io/tags":"Application=2048-game","kubernetes.io/ingress.class":"alb"},"labels":{"app":"2048-game"},"name":"2048-ingress","namespace":"2048-game"},"spec":{"rules":[{"http":{"paths":[{"backend":{"serviceName":"ssl-redirect","servicePort":"use-annotation"},"path":"/*"},{"backend":{"serviceName":"service-2048","servicePort":80},"path":"/*"}]}}]}} | |
kubernetes.io/ingress.class: alb | |
alb.ingress.kubernetes.io/actions.ssl-redirect: {"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}} | |
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-west-1:<aws_account_id>:certificate/19dacbd3-731f-455e-be86-xxxxxxxxxxxxx | |
Events: | |
Type Reason Age From Message | |
---- ------ ---- ---- ------- | |
Normal MODIFY 24m (x50 over 24h) alb-ingress-controller rule 2 modified with conditions [{ Field: "path-pattern", Values: ["/*"] }] | |
Normal MODIFY 24m (x100 over 24h) alb-ingress-controller rule 1 modified with conditions [{ Field: "path-pattern", Values: ["/*"] }] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment