Open tppalani opened 6 months ago
Hey , you need to install rollout crd first kubectl create namespace argo-rollouts kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml Argo CICD and rollouts are different projects
Hi @rajendar38
Thanks for the reply.
Please find the below installation steps.
kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml
customresourcedefinition.apiextensions.k8s.io/analysisruns.argoproj.io configured
customresourcedefinition.apiextensions.k8s.io/analysistemplates.argoproj.io configured
customresourcedefinition.apiextensions.k8s.io/clusteranalysistemplates.argoproj.io configured
customresourcedefinition.apiextensions.k8s.io/experiments.argoproj.io configured
customresourcedefinition.apiextensions.k8s.io/rollouts.argoproj.io configured
serviceaccount/argo-rollouts unchanged
clusterrole.rbac.authorization.k8s.io/argo-rollouts unchanged
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-admin unchanged
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-edit unchanged
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-view unchanged
clusterrolebinding.rbac.authorization.k8s.io/argo-rollouts unchanged
configmap/argo-rollouts-config unchanged
secret/argo-rollouts-notification-secret unchanged
service/argo-rollouts-metrics unchanged
deployment.apps/argo-rollouts unchanged
Create argo-rollouts extension in argocd namespace
kubectl apply -n argocd \
-f https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml
error: error parsing https://github.com/argoproj-labs/rollout-extension/blob/master/manifests/install.yaml: error converting YAML to JSON: yaml: line 211: mapping values are not allowed in this context
deploy it to argo-rollouts name space not argocd
Hi @rajendar38
$ kubectl apply -n argo-rollouts \
-f https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml
error: resource mapping not found for name: "argo-rollouts" namespace: "" from "https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml": no matches for kind "ArgoCDExtension" in version "argoproj.io/v1alpha1"
ensure CRDs are installed first
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml
I have already argocd up and running past 8 days, please refer the below output
$ k get ns argocd
NAME STATUS AGE
argocd Active 8d
AL44469@LDD4C6G3 MINGW64 ~/AWSCLI
$ helm list -n argocd --output json | jq -r '.[].chart'
argo-cd-5.23.1
$ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml
error: resource mapping not found for name: "argo-rollouts" namespace: "" from "https://raw.githubusercontent.com/argoproj-labs/rollout-extension/v0.2.1/manifests/install.yaml": no matches for kind "ArgoCDExtension" in version "argoproj.io/v1alpha1"
ensure CRDs are installed first
Hi @rajendar38 can you please give me insights on this that would be really helpful.
I have the same issue. In all honesty, the install instructions here seem significantly out of date with respect to the ArgoCD project's current state. In particular the ArgoCD extensions installer is no longer a maintained thing (see deprecation notice in the Repo Readme here: https://github.com/argoproj-labs/argocd-extensions) unfortunately, the docs for that seem to have fallen into the trap that ArgoCD mostly avoids among DevOps tools -- of documenting a piece of bark without saying anything about the tree to which it belongs, let alone the forest so it's not real obvious how to get from running ArgoCD + ArgoRollouts to running argoCD + ArgoRollouts + desired extensions.
Thanks @pvogel1967 for your feedback
@rajendar38 will you able to help me.
@tppalani I found this helpful and was able to get it working with the patch contained therein.
https://github.com/argoproj-labs/rollout-extension/issues/68
@rajendar38 maybe the above should be approved and merged?
@rajendar38 our app team always depending on Argo product only please consider this issue as high priority and help us to complete the installation in our actual environment.
@tppalani can you please help me with environment details, I am unable to reproduce it
Create argo-rollouts extension in argocd namespace
Argo CD should be in AgoCD namespace and ArgoRolluts should be in ArgoRollouts namespace why you are trying to install ArfoRollout into ArgoCD namespace ? https://argo-rollouts.readthedocs.io/en/stable/#quick-start
it should be something like this rajendar@Dell-7490:~/vagrant-k8s-cilium$ k get ns NAME STATUS AGE argo-rollouts Active 10d argocd Active 5d19h cilium-test Active 10d default Active 10d hotel Active 9d
Hi @rajendar38 Thanks for the help
here the argo details
$ k get ns | grep argo
argo-rollouts Active 13d
argocd Active 13d
Hi @rajendar38 let me know if any other details needed from my side
I am able to replicate the Issue , Argo Rollout Extension is deprricated notice I can see https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file The current alternative for installing Argo CD extensions is by defining an init-container in the Argo CD API server using the argocd-extension-installer image provided by the following repo I havent done this in my local < I need some time to check this
Hi @rajendar38 Thanks for the update.
I will do research on the same let me know if you have done this extension analysis in your local machine before completing me.
I have see argocd-extension-installer image and deployment details here https://edu.chainguard.dev/chainguard/chainguard-images/reference/argocd-extension-installer/
@rajendar38 I've followed the steps mentioned here but I got this in the UI:
I'm not sure what I'm missing. Have you seen this before?
Hi Team,
I have taken the yaml file from this path https://github.com/argoproj-labs/rollout-extension/blob/master/manifests/install.yaml when I'm trying to install yaml its showing install CRD can you please what are CRD need to be install before installing extension can you please share the document pls ?