@@ -43,7 +43,8 @@ NB: muste be set if `service.beta.kubernetes.io/scw-loadbalancer-sticky-sessions
43
43
44
44
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-type`
45
45
This 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`.
47
48
NB : depending on the type, some other annotations are required, see below.
48
49
49
50
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-delay`
@@ -60,22 +61,27 @@ The default value is `10`.
60
61
61
62
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-uri`
62
63
This 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`.
64
66
65
67
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-method`
66
68
This 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`.
68
71
69
72
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-code`
70
73
This 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`.
72
76
73
77
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-mysql-user`
74
78
This 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`.
75
80
NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `mysql`.
76
81
77
82
# ## `service.beta.kubernetes.io/scw-loadbalancer-health-check-pgsql-user`
78
83
This 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`.
79
85
NB : Required when setting service.beta.kubernetes.io/scw-loadbalancer-health-check-type to `pgsql`.
80
86
81
87
# ## `service.beta.kubernetes.io/scw-loadbalancer-proxy-protocol-v1`
0 commit comments