This message was deleted.
# fleet
a
This message was deleted.
s
In the git repo , on the three dots set to pause
s
So, it sounds like we can easily pause everything that uses the repo, but not a specific cluster. Good to know. Thanks!
s
you could probably set a label "mutable: yep" on all clusters and then add that to targets as
Copy code
clusterSelector:
      matchLabels:
        mutable: yep
afaik, there's no way to declare a negative match. https://fleet.rancher.io/ref-crds#gittarget
s
Thanks. That makes sense and will be useful. I really wish that there was a way to do this from the cluster, without actually killing the Fleet agent, just telling it to pause syncing for some amount of time. Often we just need this break when we are troubleshooting or testing and need to prevent Fleet and ArgoCD (in-cluster) from updating things as we are testing changes, etc.
💡 1
s
I think the disconnect is probably because the cluster is a
rancher
CRD instead of being part of
fleet
but I agree, an annotation or field on the
cluster
CR to pause updates would make sense
i suppose you could change the namespace of the
cluster
resources
I'm honestly not sure of how well rancher tolerates that