Skip to content

Commit

Permalink
feat: add alb
Browse files Browse the repository at this point in the history
  • Loading branch information
ptzool committed Mar 7, 2024
1 parent 646e358 commit 0f8cebb
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,34 @@ service:

ingress:
enabled: true
className: "nginx"
annotations: {}
className: alb
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/subnets: subnet-0ef754bf47ead5a45, subnet-00651fd33eba1de85, subnet-014b556e3d18c5be3
alb.ingress.kubernetes.io/tags: Environment=production,Team=dbx
# Health Check Settings
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/healthcheck-port: '8081'
alb.ingress.kubernetes.io/healthcheck-path: /actuator/health
alb.ingress.kubernetes.io/healthcheck-interval-seconds: '15'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '5'
alb.ingress.kubernetes.io/success-codes: '200'
alb.ingress.kubernetes.io/healthy-threshold-count: '2'
alb.ingress.kubernetes.io/unhealthy-threshold-count: '2'
## SSL Settings
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}, {"HTTP":80}]'
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-central-1:500286922458:certificate/19ad4ceb-8a4d-4b37-824e-3ab84dfa9b99
# SSL Redirect Setting
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
hosts:
- host: ms-demo.pc.home
- host: dbx.codefactory.hu
paths:
- path: /
pathType: ImplementationSpecific
- path: /demo/
pathType: Prefix
serviceName: ms-demo
servicePort: 8080

tls: []

resources: {}
Expand Down

0 comments on commit 0f8cebb

Please sign in to comment.