Skip to content
Gregory Nickonov edited this page Mar 12, 2019 · 4 revisions

Quick Start

R.deployment :backend do
  container do
    liveness_probe do
      use_http '/api/status/liveness'
    end

    readiness_probe do
      use_http '/api/status/readiness'
    end
  end
end

Probe

Kubernetes Documentation

Property Kubernetes property Type
exec exec ExecAction
failure_threshold failureThreshold Integer
http_get httpGet HTTPGetAction
initial_delay_seconds initialDelaySeconds Integer
period_seconds periodSeconds Integer
success_threshold successThreshold Integer
tcp_socket tcpSocket TCPSocketAction
timeout_seconds timeoutSeconds Integer

Probe also provides all helpers defined by an ActionsOwner.

Clone this wiki locally