Wrong syntax with TCP healthcheck #30

Closed
opened 2022-07-20 15:36:54 +00:00 by adrian-salas · 1 comment
adrian-salas commented 2022-07-20 15:36:54 +00:00 (Migrated from github.com)

Hello,

After using the following label:
katenary.io/healthcheck: tcp://localhost:3306

The generated output is the following:

livenessProbe:
  tcp:
    port: 3306
            ...

However the syntax is: tcpSocket (https://kubernetes.io/fr/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#d%C3%A9finir-une-tcp-liveness-probe)

Hello, After using the following label: `katenary.io/healthcheck: tcp://localhost:3306` The generated output is the following: ``` livenessProbe: tcp: port: 3306 ... ``` However the syntax is: `tcpSocket` (https://kubernetes.io/fr/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#d%C3%A9finir-une-tcp-liveness-probe)
fkukus commented 2022-07-21 06:27:17 +00:00 (Migrated from github.com)

Hello,
I reproduce the issue and confirm the fix is correct.
Thanks!

Hello, I reproduce the issue and confirm the fix is correct. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Katenary/katenary#30
No description provided.