From 4e34695ce6778b19592ae804efb77926fba400c3 Mon Sep 17 00:00:00 2001 From: Ankit R Gadiya Date: Tue, 4 Jun 2024 13:50:05 +0530 Subject: [PATCH] fix(explain): add livenessProbe constraints in the samples --- riocli/apply/manifests/package-nonros-device.yaml | 2 +- riocli/apply/manifests/package-ros-device-no-rosbag.yaml | 2 +- riocli/apply/manifests/package-ros-device-rosbag.yaml | 2 +- riocli/apply/manifests/package.yaml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/riocli/apply/manifests/package-nonros-device.yaml b/riocli/apply/manifests/package-nonros-device.yaml index 23ce8332..ab63e04b 100644 --- a/riocli/apply/manifests/package-nonros-device.yaml +++ b/riocli/apply/manifests/package-nonros-device.yaml @@ -28,7 +28,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimun: 10 docker: image: "busybox:latest" diff --git a/riocli/apply/manifests/package-ros-device-no-rosbag.yaml b/riocli/apply/manifests/package-ros-device-no-rosbag.yaml index c23cd55a..f0e894e2 100644 --- a/riocli/apply/manifests/package-ros-device-no-rosbag.yaml +++ b/riocli/apply/manifests/package-ros-device-no-rosbag.yaml @@ -29,7 +29,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Mininum: 10 docker: image: "busybox:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default) diff --git a/riocli/apply/manifests/package-ros-device-rosbag.yaml b/riocli/apply/manifests/package-ros-device-rosbag.yaml index 4d6fe284..8c1eec66 100644 --- a/riocli/apply/manifests/package-ros-device-rosbag.yaml +++ b/riocli/apply/manifests/package-ros-device-rosbag.yaml @@ -29,7 +29,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimum: 10 docker: image: "busybox:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default) diff --git a/riocli/apply/manifests/package.yaml b/riocli/apply/manifests/package.yaml index dfebe20d..aecaf737 100644 --- a/riocli/apply/manifests/package.yaml +++ b/riocli/apply/manifests/package.yaml @@ -161,7 +161,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimum: 10 docker: image: "busybox:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default) @@ -357,7 +357,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimum: 10 docker: image: "busybox:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default) @@ -379,7 +379,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimum: 10 docker: image: "nginx:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default) @@ -427,7 +427,7 @@ spec: periodSeconds: 10 # How often (in seconds) to perform the probe. failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded. successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed. - timeoutSeconds: 1 # Number of seconds after which the probe times out. + timeoutSeconds: 10 # Number of seconds after which the probe times out. Minimum: 10 docker: image: "busybox:latest" imagePullPolicy: "Always" # Always, Never, IfNotPresent(default)