Container Probes

Command probes

$probe = K8s::probe()->command(['sh', 'test.sh']);

HTTP probes

$probe = K8s::probe()->http('/health', 80, ['X-CSRF-TOKEN' => 'some-token'])

TCP probes

$probe = K8s::probe()->tcp(3306);

Last updated