alpine-overlay/kubezero/aws-iam-authenticator/aws-iam-authenticator.monit

11 lines
373 B
Plaintext

check process aws-iam-authenticator pidfile /run/aws-iam-authenticator.pid
start program = "/sbin/rc-service aws-iam-authenticator start"
stop program = "/sbin/rc-service aws-iam-authenticator stop"
restart program = "/sbin/rc-service aws-iam-authenticator restart"
if failed
port 21363
protocol http
request "/healthz"
for 2 cycles
then restart