Liveness Probes Control With Sctp

97 Views Asked by At

Kubernetes use tcp, http and command for liveness probes but i want to use sctp. How can i use sctp with liveness probes for control my page?

1

There are 1 best solutions below

0
derkoe On

For not supported protocols you can use the exec probe. You just have to provide a shell script, that can check if the application is running. The script has to exit with code 0 to be considered successful.

...
          livenessProbe: 
            exec:
              command:
                - /scripts/check-sctp-up.sh
...