command:["/bin/bash"]# You need to run some task inside a
command:["/bin/bash"]# You need to run some task inside a
args:["-c","source/opt/ros_ws/devel/setup.bash&&sudoservicesshrestart&&/usr/local/bin/ros_entrypoint.sh&&whiletrue;dosleep10;done;"]# Our simple program just sleeps inside
args:["-c","source/opt/ros_ws/devel/setup.bash&&sudoservicesshrestart&&/usr/local/bin/ros_entrypoint.sh&&whiletrue;dosleep10;done;"]# Our simple program just sleeps inside
...
@@ -51,7 +66,7 @@ spec:
...
@@ -51,7 +66,7 @@ spec:
-name:ROS_HOSTNAME
-name:ROS_HOSTNAME
value:service-drone
value:service-drone
nodeSelector:
nodeSelector:
kubernetes.io/hostname:neruda
kubernetes.io/hostname:pop-os
# kubernetes.io/hostname: neruda # temp for testing purposes
# kubernetes.io/hostname: neruda # temp for testing purposes