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
...
...
@@ -51,7 +66,7 @@ spec:
-name:ROS_HOSTNAME
value:service-drone
nodeSelector:
kubernetes.io/hostname:neruda
kubernetes.io/hostname:pop-os
# kubernetes.io/hostname: neruda # temp for testing purposes