many-evening-49066
04/06/2022, 3:26 PMtest
and dev
being in the same cluster and prod
in another one.
I tried adding both labels to the same cluster but it behaves strangelybland-area-30120
04/29/2022, 12:55 PMstraight-fireman-71417
04/29/2022, 8:05 PMstrong-optician-75366
05/04/2022, 5:45 AMtargets:
- clusterName: c-foo33
- clusterName: c-bar22
Assigning via a cluster group works:
targets:
- name: location-a
clusterGroup: location-a
- name: location-b
clusterGroup: location-b
fast-agency-28891
05/06/2022, 10:02 AMdefault frontend-79c77bdcc4-b688c 1/1 Running 0 71m
default frontend-79c77bdcc4-lfcnh 1/1 Running 0 71m
default frontend-79c77bdcc4-vmhdw 1/1 Running 0 71m
default redis-master-85547b7b9-mcwt5 1/1 Running 0 71m
default redis-slave-8864474db-fzmxv 0/1 CrashLoopBackOff 18 (4m49s ago) 71m
default redis-slave-8864474db-qfw9j 0/1 CrashLoopBackOff 18 (4m33s ago) 71m
fleet-local my-repo-e504b--1-z4f7v 0/2 Completed 0 72m
fleet-system fleet-agent-96f6f455c-9h47x 1/1 Running 1 (51m ago) 3h25m
fleet-system fleet-controller-5746685958-nfhzk 1/1 Running 7 (42m ago) 3h26m
fleet-system gitjob-cc9948fd7-v9sh8 1/1 Running 1 (51m ago) 3h26m
brave-afternoon-4801
05/08/2022, 10:43 PMdiff:
for a helm chart?nutritious-application-85076
05/13/2022, 9:45 AMThere are no clusters available
using rancher 2.6 and fleet ?straight-fireman-71417
05/24/2022, 6:31 PMfast-agency-28891
05/31/2022, 12:09 PMroot@k3s-04-b:~# helm -n fleet-system install --create-namespace --wait \
> --values values.yaml \
> fleet-agent <https://github.com/rancher/fleet/releases/download/v0.3.9/fleet-agent-0.3.9.tgz>
NAME: fleet-agent
LAST DEPLOYED: Tue May 31 12:51:02 2022
NAMESPACE: fleet-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
No new clusters showed up on the Fleet manager and the logs states this, I cannot understand why it is complaining or how to fix it. Anyone knows?
root@k3s-04-b:~# kubectl -n fleet-system logs -l app=fleet-agent
time="2022-05-31T10:51:19Z" level=error msg="Failed to register agent: looking up secret fleet-system/fleet-agent-bootstrap: Post \"<https://192.168.20.251:6443/apis/fleet.cattle.io/v1alpha1/namespaces/fleet-clusters-system/clusterregistrations>\": x509: certificate signed by unknown authority"
many-area-51777
06/01/2022, 11:43 AMmelodic-umbrella-19641
06/02/2022, 10:00 PM/apis/fleet.cattle.io/v1alpha1/namespaces/fleet-default/bundles/
, but it doesn't seem to be a fully fledged REST API like the main one: I can search for something in the regular Rancher APIs (e.g. ?name=abc
) but I can't seem to do that in the Fleet API. Am I doing something wrong? Any guidance would be greatly appreciatedgreen-shampoo-61471
06/03/2022, 4:53 PMgreen-shampoo-61471
06/03/2022, 4:57 PMpowerful-florist-21503
06/08/2022, 4:03 PMtime="2022-06-08T15:43:31Z" level=fatal msg="open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied"
This is the first time fleet is configured to sync these new downstream k3s clusters. Any ideas whats causing this? Rancher v2.6.3 running in EKS.prehistoric-barista-70029
06/13/2022, 8:47 PMglamorous-painting-54907
06/16/2022, 10:25 AMtime="2022-06-16T09:33:20Z" level=fatal msg="Error opening a gzip reader for /tmp/getter154967024/archive: gzip: invalid header"
rapid-jelly-9995
06/21/2022, 9:58 AMrapid-jelly-9995
06/24/2022, 12:42 PMapiVersion: <http://kustomize.config.k8s.io/v1beta1|kustomize.config.k8s.io/v1beta1>
kind: Kustomization
namespace: kubeedge
resources:
- namespace.yaml
- <https://github.com/edgefarm/edgefarm.core/manifests/kubeedge/cloudcore/?ref=v1.0.0-beta.5>
patches:
- ./patch-cloudcore-node-affinity.yaml
However, i get the error:
error while running post render on files: accumulating resources: accumulation err='accumulating resources from '../../../../edgefarm.core': 'edgefarm.core' must resolve to a file': recursed accumulation of path 'edgefarm.core': accumulating resources: accumulation err='accumulating resources from '<https://github.com/edgefarm/edgefarm.core/manifests/kubeedge/cloudcore/?ref=v1.0.0-beta.5>': yaml: line 166: mapping values are not allowed in this context': no 'git' program on path: exec: "git": executable file not found in $PATH
It seems that fleet does not understand how to handle the remote target (https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md).
Building this using kustomize works just fine:
kustomize build . --enable-helm
Does anyone has an idea to get this working?straight-magazine-63626
07/05/2022, 11:09 PMstraight-fireman-71417
07/07/2022, 4:09 PMglamorous-painting-54907
07/21/2022, 5:54 AMfleet.yaml
which are then visible to everyone.powerful-elephant-25838
07/21/2022, 3:41 PMmammoth-postman-10874
07/21/2022, 9:33 PMmammoth-postman-10874
07/21/2022, 9:33 PMmany-evening-49066
08/02/2022, 9:52 AMambitious-plastic-3551
08/05/2022, 6:39 PMambitious-plastic-3551
08/06/2022, 4:16 PMplain-whale-39460
08/08/2022, 2:47 PMsecretRef
in fleet.yaml,
secretRef:
name: docker-hub
Using registry-creds to sync the secret named docker-hub
across namespace which has the auth to pull private image.
I'm able to pull the docker image using the registry-cred's docker-hub
secret, but getting this error ImageScan develop is not ready: auth for "<http://index.docker.io|index.docker.io>" not found in secret fleet-default/docker-hub
ambitious-plastic-3551
08/09/2022, 5:19 AMorange-barista-66154
08/10/2022, 4:19 PMTimeout getting credential for cluster group
. Added a new cluster to Rancher 2.6 provisioned using the EKS driver. Cluster stuck in this state so can't apply any bundlesorange-barista-66154
08/10/2022, 4:19 PMTimeout getting credential for cluster group
. Added a new cluster to Rancher 2.6 provisioned using the EKS driver. Cluster stuck in this state so can't apply any bundleshandler import-cluster: timeout getting credential for cluster group, requeuing