https://rancher.com/ logo
#fleet
Title
# fleet
m

many-area-51777

02/10/2023, 2:27 PM
I am playing with fleet's test mode
fleet test
and I want to pass labels to it, but something doesn't work. I have created a
fleet.yaml
and running this command:
Copy code
docker run \
   -it \
   -v `pwd`:/manifests \
   --rm \
   --name fleet \
   --entrypoint sh rancher/fleet-agent:v0.3.9 \
   -c "cd /manifests && fleet \
   --debug test \
   -t devmode \
   -l env=dev"
but it's like
env=dev
is not being set. Also, is it possible to set it so that
global.fleet.clusterLabels.env
will turn to
dev
?
17 Views