purple-monkey-3785
01/27/2023, 6:24 PMglamorous-painting-54907
01/30/2023, 12:25 PMOut of Sync
and even a Force Sync
does not helpmammoth-postman-10874
02/02/2023, 3:18 PMmammoth-postman-10874
02/02/2023, 3:24 PMglamorous-painting-54907
02/06/2023, 7:45 AMsecretKeyRef
but seems it's not picked up by fleet.
helm:
valuesFrom:
- secretKeyRef:
name: clusterconfig
namespace: cattle-gatekeeper-system
key: values.yaml
Whereas the secret clusterconfig
is in ns cattle-gatekeeper-system
in the target (downstream) clusterbulky-lion-74983
02/07/2023, 5:28 PMambitious-plastic-3551
02/08/2023, 8:31 AMambitious-plastic-3551
02/08/2023, 8:31 AMhappy-tent-70860
02/08/2023, 9:00 AMambitious-plastic-3551
02/08/2023, 10:44 AMmammoth-postman-10874
02/08/2023, 12:07 PMvictorious-twilight-28734
02/08/2023, 4:45 PMmany-area-51777
02/10/2023, 2:27 PMfleet test
and I want to pass labels to it, but something doesn't work. I have created a fleet.yaml
and running this command:
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
?billowy-apple-60989
02/10/2023, 3:38 PMloki-stack
and rancher-monitoring
, sort of like this: https://github.com/rancher/fleet-examples/blob/master/multi-cluster/helm-external/fleet.yaml
Is it possible to combine these into one Repo that fleet can use to deploy “everything” ? Or do you need seperate “Kustomize Repo” and “Helm Chart Repo” ?
Thanksastonishing-telephone-88536
02/13/2023, 2:31 AMmany-evening-49066
02/13/2023, 4:07 PMbulky-lion-74983
02/16/2023, 8:18 PMtargetCustomizations:
- name: development
helm:
valuesFiles:
- development.yaml
clusterName: alphadev
- name: staging
helm:
valuesFiles:
- staging.yaml
clusterName: alphadev
- name: production
helm:
valuesFiles:
- values.yaml
clusterName: alphadev
From
targets:
- clusterName: alphadev
To
targets:
- name: development
clusterName: alphadev
ancient-furniture-29084
02/17/2023, 12:54 AMkind: GitRepo
apiVersion: <http://fleet.cattle.io/v1alpha1|fleet.cattle.io/v1alpha1>
metadata:
name: simple
namespace: fleet-local
spec:
repo: <https://github.com/rancher/fleet-examples>
paths:
- simple
Any suggestions on how to troubleshoot this? The UI shows no errors, and the step-git-source container in the gitrepo pod shows it successfully cloned the repository.careful-mouse-48712
02/18/2023, 4:44 PMworried-shoe-35335
02/20/2023, 4:45 PMChart requires kubeVersion: >= 1.21.0-0 which is incompatible with Kubernetes v1.20.0
Any ideas how to resolve this issue? Why does Helm (?) think that is running against K8s 1.20?!careful-mouse-48712
02/20/2023, 4:59 PMdazzling-chef-87126
02/21/2023, 10:04 AMwide-magician-63081
02/21/2023, 3:42 PMNotReady(1) [Bundle ebad]; scaledobject.keda.sh ebad-ma7/ebad-back error] Scaling is not performed because triggers are not active, Resource is Ready; scaledobject.keda.sh ebad-ma7/ebad-back modified {"spec":{"triggers":[{"metadata":{"desiredReplicas":"2","end":"35 14 * * *","start":"29 14 * * *","timezone":"Europe/Paris"},"type":"cron"}]}}; scaledobject.keda.sh ebad-ma7/ebad-front error] Scaling is not performed because triggers are not active, Resource is Ready
Is there a way to ignore this type of status? I think it's related to this issue: https://github.com/rancher/fleet/issues/937mammoth-postman-10874
02/24/2023, 4:25 PMambitious-plastic-3551
02/27/2023, 5:50 PMimportant-kitchen-32874
02/27/2023, 8:21 PMGitRepo
is mapped to clusters, as well as the ClusterGroup
concepts, and they're both using label selectors if I'm not mistaken. I'm wondering - is there a doc or proposal for how Fleet manages the case where the set of clusters matching the label selector changes? In "normal" kube, e.g. a NodeSelector
will allow for transparent selection, movement, re-scheduling, etc - is that also what happens in Fleet?ambitious-plastic-3551
02/27/2023, 9:18 PMimportant-kitchen-32874
02/27/2023, 10:20 PMGitRepo
that should select region=us-west,cloud=aws,machine-type=xxl
or whatever, will I get instant failover if a cluster in that ClusterGroup
goes down? Is there anything that balances out the usage of the group so, as an admin providing these clusters, I have less maintenance to do?salmon-train-47748
03/01/2023, 9:58 PMsteep-furniture-72588
03/03/2023, 10:58 AM