The project introduces the ArgoCD extension to enable Metrics on Resource tab.
- Install Argo CD and Argo CD Extensions Controller: https://github.com/argoproj-labs/argocd-extensions
- Create
argocd-metrics-server
deployment inargocd
namespace
kubectl apply -n argocd \
-f https://raw.githubusercontent.com/argoproj-labs/argocd-extension-metrics/main/manifests/install.yaml
- Create
argocd-extension-metrics
extension inargocd
namespace
kubectl apply -n argocd \
-f https://raw.githubusercontent.com/argoproj-labs/argocd-extension-metrics/main/manifests/extension.yaml
ArgoCD version less than v2.5 doesn't support the Backend Proxy
. You have to configure the Ingress to deviate the API calls between ArgoCD server and ArgoCD metrics Server
spec:
rules:
- http:
paths:
- backend:
service:
name: argocd-o11y-server
port:
number: 9003
path: /api/extension/metrics
pathType: Prefix
- backend:
service:
name: argocd-server
port:
number: 80
path: /
pathType: Prefix
ArgoCD Team is working to implemented backend proxy proposal