Skip to content

Commit

Permalink
adding health check
Browse files Browse the repository at this point in the history
  • Loading branch information
SMANUM committed Nov 16, 2023
1 parent 8a7ced6 commit 5faca2f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions helm-chart/environments/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ ingress:
alb.ingress.kubernetes.io/group.name: "alb-controller"
alb.ingress.kubernetes.io/load-balancer-name: "pagopa-dev-atm-layer-alb-int"
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTP": 8080}]'
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
alb.ingress.kubernetes.io/healthcheck-path: /health/v1/model
alb.ingress.kubernetes.io/healthcheck-interval-seconds: '20'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '8'
alb.ingress.kubernetes.io/success-codes: '200'
alb.ingress.kubernetes.io/healthy-threshold-count: '2'
alb.ingress.kubernetes.io/unhealthy-threshold-count: '2'
hosts:
- host:
paths:
Expand Down
8 changes: 8 additions & 0 deletions helm-chart/environments/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ ingress:
alb.ingress.kubernetes.io/group.name: "alb-controller"
alb.ingress.kubernetes.io/load-balancer-name: "pagopa-prod-atm-layer-alb-int"
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTP": 8080}]'
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
alb.ingress.kubernetes.io/healthcheck-path: /health/v1/model
alb.ingress.kubernetes.io/healthcheck-interval-seconds: '20'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '8'
alb.ingress.kubernetes.io/success-codes: '200'
alb.ingress.kubernetes.io/healthy-threshold-count: '2'
alb.ingress.kubernetes.io/unhealthy-threshold-count: '2'
hosts:
- host:
paths:
Expand Down
8 changes: 8 additions & 0 deletions helm-chart/environments/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ ingress:
alb.ingress.kubernetes.io/group.name: "alb-controller"
alb.ingress.kubernetes.io/load-balancer-name: "pagopa-uat-atm-layer-alb-int"
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTP": 8080}]'
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
alb.ingress.kubernetes.io/healthcheck-path: /health/v1/model
alb.ingress.kubernetes.io/healthcheck-interval-seconds: '20'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '8'
alb.ingress.kubernetes.io/success-codes: '200'
alb.ingress.kubernetes.io/healthy-threshold-count: '2'
alb.ingress.kubernetes.io/unhealthy-threshold-count: '2'
hosts:
- host:
paths:
Expand Down

0 comments on commit 5faca2f

Please sign in to comment.