@@ -43,7 +43,8 @@ NB: muste be set if `service.beta.kubernetes.io/scw-loadbalancer-sticky-sessions
4343
4444# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-type`
4545This is the type of health check used.
46- The default value is `tcp` and the possible values are `tcp`, `http`, `mysql`, `pgsql`, `redis` or `ldap`.
46+ The default value is `tcp` and the possible values are `tcp`, `http`, `https`, `mysql`, `pgsql`, `redis` or `ldap`.
47+ It is possible to set the type per port, like `80:http;443,8443:https`.
4748NB : depending on the type, some other annotations are required, see below.
4849
4950# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-delay`
@@ -60,22 +61,27 @@ The default value is `10`.
6061
6162# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-uri`
6263This is the annotation to set the URI that is used by the `http` health check.
63- NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http`.
64+ It is possible to set the uri per port, like `80:/;443,8443:/healthz`.
65+ NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http` or `https`.
6466
6567# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-method`
6668This is the annotation to set the HTTP method used by the `http` health check.
67- NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http`.
69+ It is possible to set the method per port, like `80:GET;443,8443:POST`.
70+ NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http` or `https`.
6871
6972# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-code`
7073This is the annotation to set the HTTP code that the `http` health check will be matching against.
71- NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http`.
74+ It is possible to set the code per port, like `80:404;443,8443:204`.
75+ NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `http` or `https`.
7276
7377# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-mysql-user`
7478This is the annotation to set the MySQL user used to check the MySQL connection when using the `mysql` health check,
79+ It is possible to set the user per port, like `1234:root;3306,3307:mysql`.
7580NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `mysql`.
7681
7782# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-pgsql-user`
7883This is the annotation to set the PgSQL user used to check the PgSQL connection when using the `pgsql` health check.
84+ It is possible to set the user per port, like `1234:root;3306,3307:mysql`.
7985NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `pgsql`.
8086
8187# ## `service.beta.kubernetes.io/scw-loadbalancer-proxy-protocol-v1`
0 commit comments