This message was deleted.
# fleet
a
This message was deleted.
b
this is behaving so weirdly.. I commented out the argo/fleet.yaml content and copied in the guestbook to a new folder, it deployed the guestbook, so I commented back in the argo/fleet.yaml content, and it now added a bundle. the bundle says it has 1 resource, but the list is empty.
I also tried adding a harvester storage class, which does appear to work: https://github.com/mortenn/lab-cluster/blob/main/harvester/storage-class.yaml but when I look in bundles, it doesn't show there, but it does say 1 bundle is hidden - is this expected and correct/working as intended?
the guestbook example doesn't appear to actually work though.. I forwarded the frontend service using openlens and tried connecting to it. get this error message in the console:
Copy code
<br />
<b>Fatal error</b>:  Uncaught Predis\Connection\ConnectionException: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution [<tcp://redis-follower:6379>] in /var/www/html/vendor/predis/predis/src/Connection/AbstractConnection.php:132
Stack trace:
#0 /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php(109): Predis\Connection\AbstractConnection->onConnectionError('php_network_get...', 0)
#1 /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php(154): Predis\Connection\StreamConnection->createStreamSocket(Object(Predis\Connection\Parameters), '<tcp://redis-fol>...', 4)
#2 /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php(80): Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\Parameters))
#3 /var/www/html/vendor/predis/predis/src/Connection/AbstractConnection.php(81): Predis\Connection\StreamConnection->createResource()
#4 /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php(230): Predis\Connection\Abstrac in <b>/var/www/html/vendor/predis/predis/src/Connection/AbstractConnection.php</b> on line <b>132</b><br />
s
What does your git repo look like
b
I linked it above and it is public
s
Nah I mean in fleet
Not the git repo in GitHub
b
ah, right
s
Did you supply the path for argocd in it?
Or just guest book
b
Copy code
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  creationTimestamp: '2024-05-05T21:23:06Z'
  generation: 15
  managedFields:
    - apiVersion: fleet.cattle.io/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        f:spec:
          .: {}
          f:branch: {}
          f:correctDrift:
            .: {}
            f:enabled: {}
          f:forceSyncGeneration: {}
          f:insecureSkipTLSVerify: {}
          f:paths: {}
          f:repo: {}
          f:targets: {}
      manager: rancher
      operation: Update
      time: '2024-05-06T00:50:47Z'
    - apiVersion: fleet.cattle.io/v1alpha1
      fieldsType: FieldsV1
      manager: fleetcontroller
      operation: Update
      subresource: status
      time: '2024-05-15T20:45:16Z'
  name: lab-cluster
  namespace: fleet-default
  resourceVersion: '134139296'
  uid: bbf0cba6-4a23-4ec6-9043-8431817a7273
spec:
  branch: main
  correctDrift:
    enabled: true
  forceSyncGeneration: 15
  insecureSkipTLSVerify: false
  paths: []
  repo: <https://github.com/mortenn/lab-cluster>
  targets:
    - clusterName: lab-cluster
s
No paths defined
b
it is supposed to take everything from the root then, according to what I could gleam from the docs, and it does pick up and deploy stuff, just not my argo
if I can get fleet to do what I want it to do, I don't need argo, but I was using argo as a test
s
Yeah I have always created paths and put my fleet or resources in it
b
I tried that too, same result
it worked when the path contained the guestbook sample, but not when it contained a helm chart deployment of argo
deploying a helm chart from a registry seems like such a basic use case to me, it confuses me why it's not explicitly shown how to do just that in the docs/examples
s
This works for me
Getting the other half
Try again
These work for me out of the box
b
so why, pray tell would this not?
Copy code
defaultNamespace: argo
namespace: argo
helm:
  releaseName: argo-cd
  chart: argo/argo-cd
  repo: <https://argoproj.github.io/argo-helm>
  version: 6.7.18
s
I don’t think that is the issue
I think the fleet gitrepo is
b
it manages to pick up the guestbook just fine
s
Try defining the path
And see what happens
b
yes, I had a path and I removed it
with the path it did exactly the same
the lab cluster was powered down, so waiting for it to boot right now
s
Btw have you done the added the repo manually
b
yes, I added it using the rancher gui
or wait, which repo do you mean?
s
I mean on the cmd line
Can you see the repo on cmdline? Like helm repo add. Then helm search repo/chart
b
cmdline where?
on the rancher host?
s
On your own machine. To validate what you have is correct
b
on my desktop? no..
how would helm repos on my desktop help the lab cluster or rancher?
s
To validate that the charts exist
b
it definitely exists, I took the path straight from the helm install instructions for argo-cd
and I've installed the same chart on other clusters manually using helm before, no problem
if that was the problem I'd still expect the bundle for argo to show up in rancher, just show up as having some error, right?
hmm, my k8s cluster seems kind of dead, rancher reports all the VMs as "starting" with a message "Guest VM is not reported as running"
guess I should just wipe it and start fresh