Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argo Rollout extension functionality is not seeing in the dashboard #3

Open
sree-warrier opened this issue Nov 19, 2021 · 10 comments
Open

Comments

@sree-warrier
Copy link

Followup with the issue which was closed.

#1

We have tried to configure the Argo rollout extension with version 2.1.5, but still we are unable to see the UI feature for rollouts.

@sree-warrier
Copy link
Author

Guys any update or suggestion on this

@DanOfir
Copy link

DanOfir commented Feb 8, 2022

also not working for me, installed on argocd version 2.2.3
this is what is see in logs:

ERROR controller.argocdextension Reconciler error {"reconciler group": "argoproj.io", "reconciler kind": "ArgoCDExtension", "name": "argo-rollouts", "namespace": "argocd", "error": "remove /tmp/extensions/.argo-rollouts.snapshot: no such file or directory"}

@royeectu
Copy link

I'm getting the following error with Argo CD: v2.2.5+8f981cc

2022-02-15T17:54:24.100Z        ERROR   controller.argocdextension      Reconciler error        {"reconciler group": "argoproj.io", "reconciler kind": "ArgoCDExtension", "name": "argo-rollouts", "namespace": "royeet", "error": "remove /tmp/extensions/.argo-rollouts.snapshot: no such file or directory"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227

@yq314
Copy link

yq314 commented Feb 25, 2022

For me, I noticed that one of my CRD (ArgoCDExtension) has a deletionTimestamp in its metadata which means it's trying to delete it and blocked by the finalizer. Probably because I was playing with my installation and initialised a deletion some time earlier.

These steps helped me to resolve the issue:

  • remove the finalizer from the CRD, it will then be deleted automatically
  • create the CRD manually
  • restart the argocd-server pod (including the extension container)

@renilthomas
Copy link

Does it work with v2.2.5 argocd? Everything loaded fine but cannot see the UI.

@alexef
Copy link
Contributor

alexef commented Sep 9, 2022

thank you @yq314

@pc-tzimmerman
Copy link

pc-tzimmerman commented Apr 6, 2023

I just set this up today and thought it was pretty straightforward. Thought I would post my process here for posterity.

I use the ArgoCD Helm Chart to install ArgoCD presently. To use Argo Rollouts, you need to enable the Extensions controller for ArgoCD. This effectively runs as a second container within the Server pod. To accomplish this, add the following to the server section of Argo CD's values.yaml file.

server:
  extensions:
    enabled: true

After this, you need to deploy Argo Rollouts. I also use Helm for this. Rollouts' Helm Chart supports an extraObjects field in the values.yaml file. To which you should add the following:

extraObjects:
  - apiVersion: argoproj.io/v1alpha1
    kind: ArgoCDExtension
    metadata:
      name: argo-rollouts
      finalizers:
        - extensions-finalizer.argocd.argoproj.io
    spec:
      sources:
      - web:
          url: https://github.com/argoproj-labs/rollout-extension/releases/download/v0.30/extension.tar

Make sure to grab the latest release from: https://github.com/argoproj-labs/rollout-extension/releases/download/

This isn't necessary. You could, of course, just deploy this manifest to your cluster after deploying Rollouts. However, make sure you add a namespace: argocd-system or whatever to the metadata. Argo Server will only detect the CRD if it is in the same namespace.

To validate that this is working, you can check the contents of /tmp/extensions/ in the new argo-extensions container. Something like this:

$> kubectl exec -it -n argo-system argocd-server-7f56db796f-mj8d9 -c argocd-extensions -- ls /tmp/extensions/resources/argoproj.io/Rollout/ui
1.extensions.js  extensions.js

This may not be the recommended solution in the future. See this other issue as well: #24

@northonheld
Copy link

northonheld commented Apr 27, 2023

For me nothing appears on Argocd's web ui

Log from argocd-server:

argocd-server-79479f6789-xkwhd argocd-extensions 2023-04-27T19:18:03.278Z	INFO	controller.argocdextension	Sources has not been downloaded yet, redownloading...	{"reconciler group": "argoproj.io", "reconciler kind": "ArgoCDExtension", "name": "argo-rollouts", "namespace": "argocd"}
argocd-server-79479f6789-xkwhd argocd-extensions 2023-04-27T19:18:04.179Z	INFO	controller.argocdextension	Successfully downloaded all sources.	{"reconciler group": "argoproj.io", "reconciler kind": "ArgoCDExtension", "name": "argo-rollouts", "namespace": "argocd"}

The files are in the right place:

❯ kubectl exec -it -n argocd argocd-server-79479f6789-xkwhd -c argocd-extensions -- ls /tmp/extensions/resources/argoproj.io/Rollout/ui
1.extensions.js  extensions.js

The argo-rollouts dashboard is working and I can access it:
Captura de Tela 2023-04-27 às 16 55 42

But in the application area of my argocd there is nothing related to rollouts:
Captura de Tela 2023-04-27 às 16 56 04

Argo CD: v2.6.5
Argo rollouts: v1.4.1
Argo Extensions: v0.2.1
Argo rollout extension: v0.3.0.

Please, can you help with this problem? @alexef @zachaller

@pc-tzimmerman
Copy link

pc-tzimmerman commented Apr 28, 2023

The extension isn't depicted on the Dashboard. Click on an application, then click on a rollout resource. From there, at the top of the resource summary, you'll see an extra tab. In addition to SUMMARY, EVENTS, and LOGS, you'll see MORE.

MORE was added by the UI extension.

Screen Shot 2023-04-28 at 12 48 19 PM

@rjanovski
Copy link

in our case we use rollout with ref to a deployment. this is the result:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants