{"id":1914,"date":"2023-08-16T08:23:41","date_gmt":"2023-08-16T13:23:41","guid":{"rendered":"https:\/\/blog.ls-al.com\/?p=1914"},"modified":"2023-08-16T08:27:17","modified_gmt":"2023-08-16T13:27:17","slug":"traefik-in-kubernetes-with-aws-alb","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/traefik-in-kubernetes-with-aws-alb\/","title":{"rendered":"traefik in kubernetes with AWS ALB"},"content":{"rendered":"

This is a quick update. In post https:\/\/blog.ls-al.com\/traefik-in-kubernetes-using-terraform-helm-and-aws-alb\/<\/a> I had a TODO to work on the AWS ALB health check. This is a fix for that.<\/p>\n

\n

NOTE: compared to my previous values file:<\/p>\n

    \n
  1. added --ping and --ping.entrypount=web<\/li>\n
  2. added ports traefik healthchecksport<\/li>\n
  3. added websecure false but not related to health check just something I did not need exposed with ssl offloading on LB<\/li>\n<\/ol>\n<\/blockquote>\n

    helm values ping entrypoint<\/h3>\n
    additionalArguments:\n- --providers.kubernetescrd.ingressclass=traefik-pub3\n- --ping\n- --ping.entrypoint=web\n\n# READ THIS: https:\/\/blog.ttauveron.com\/posts\/traefik_behind_google_l7_load_balancer\/\nports:\n  traefik:\n    healthchecksPort: 8000\n  websecure:\n    expose: false\n  ...<\/code><\/pre>\n

    annotations in helm values file<\/h3>\n
    alb.ingress.kubernetes.io\/healthcheck-path: \"\/ping\"\nalb.ingress.kubernetes.io\/healthcheck-port: \"traffic-port\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

    This is a quick update. In post https:\/\/blog.ls-al.com\/traefik-in-kubernetes-using-terraform-helm-and-aws-alb\/ I had a TODO to work on the AWS ALB health check.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119,118],"tags":[],"class_list":["post-1914","post","type-post","status-publish","format-standard","hentry","category-kubernetes","category-traefik"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1914"}],"version-history":[{"count":2,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1914\/revisions"}],"predecessor-version":[{"id":1916,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1914\/revisions\/1916"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}