Created
February 24, 2018 22:43
-
-
Save alessandrobologna/36c9170638865aa13b0c4efed2e02c19 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{APPNAME}} | |
namespace: {{NAMESPACE}} | |
annotations: | |
service.beta.kubernetes.io/aws-load-balancer-external: 0.0.0.0/0 | |
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http | |
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: {{CERTIFICATE_ARN}} | |
dns.alpha.kubernetes.io/internal: "{{APPNAME}}.{{NAMESPACE}}.{{CLUSTER}}" | |
spec: | |
type: LoadBalancer | |
ports: | |
- name: https | |
port: 443 | |
targetPort: 8080 | |
selector: | |
name: {{APPNAME}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment