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