Comments (2)
tried updating to use servermonitors to see if that helps:
small-hack/argocd-apps@fe84341
It doesn't make a difference. The weird thing is there is no metrics pod. Should there be? The only thing listed in the metrics.yaml in the helm chart is a service:
https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/templates/argocd-repo-server/metrics.yaml
And the service seems ok? here it is:
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app.kubernetes.io/component":"repo-server","app.kubernetes.io/instance":"argo-cd","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"argocd-repo-server-metrics","app.kubernetes.io/part-of":"argocd","app.kubernetes.io/version":"v2.11.2","argocd.argoproj.io/instance":"argocd-helm","helm.sh/chart":"argo-cd-7.1.1"},"name":"argo-cd-repo-server-metrics","namespace":"argocd"},"spec":{"ports":[{"name":"http-metrics","port":8084,"protocol":"TCP","targetPort":"metrics"}],"selector":{"app.kubernetes.io/instance":"argo-cd","app.kubernetes.io/name":"argocd-repo-server"},"type":"ClusterIP"}}
creationTimestamp: "2024-04-12T15:14:40Z"
labels:
app.kubernetes.io/component: repo-server
app.kubernetes.io/instance: argo-cd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: argocd-repo-server-metrics
app.kubernetes.io/part-of: argocd
app.kubernetes.io/version: v2.11.2
argocd.argoproj.io/instance: argocd-helm
helm.sh/chart: argo-cd-7.1.1
name: argo-cd-repo-server-metrics
namespace: argocd
resourceVersion: "28300640"
uid: baa19b08-ea6f-48f3-a41e-29e1456e5479
spec:
clusterIP: 10.43.93.2
clusterIPs:
- 10.43.93.2
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http-metrics
port: 8084
protocol: TCP
targetPort: metrics
selector:
app.kubernetes.io/instance: argo-cd
app.kubernetes.io/name: argocd-repo-server
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
I'm kinda stumped, because if you do argocd app list --help
there is no --repo-server-metrics-name
. The environment variable link that we're instructed to check also doesn't have anything for the repo-server-metrics service:
https://argo-cd.readthedocs.io/en/stable/user-guide/environment-variables/
Perhaps this is related to #10200 ? It was fixed with https://github.com/argoproj/argo-cd/pull/14605/files however that fix doesn't include anything related to metrics.
I asked to be sure that there's not supposed to be a metrics pod here: argoproj/argo-helm#2738
from argo-cd.
Disabling all metrics is a work around to get the cli working again, small-hack/argocd-apps@cfca631
from argo-cd.
Related Issues (20)
- tree output with app selector permission denied
- empty strings treated as unset env var in sidecar plugin HOT 3
- Update git-lfs version in images HOT 2
- Containers in pods with native sidecars don't show as "ready" HOT 1
- ArgoCD (add repo) incompatible with Azure WAFv2 (OWASP 3.2) HOT 4
- Expose ArgoCD version in metrics HOT 1
- LKLK
- Persistent SSO login with OpenUnison not working HOT 5
- UI - Credentials Template misleading HOT 1
- Dark Mode: Collapsed sections color is white HOT 1
- [2.12-RC1] "revision not found" error when calling Application API RevisionMetadata
- applicationset-controller update to latest version after 6.17, get fatal error: Could not read from remote repository
- how to fix? HOT 1
- Fail to block share resource app when syncing app right after creating it
- [Docs] incorrect regex to get currentVersion
- ReadTheDocs all old version js file is not same with latest version. HOT 1
- After upgrading from `2.10.12` to `2.11` all applications sourced from github stopped working due to `failed to get git client for repo https://github.com/cxxx.git`
- Unable to deploy or add oci enable helm repository presented in Harbor's project(private/public) HOT 1
- error HOT 2
- Upon upgrading from EKS 1.29 to 1.30 argocd is marking assigned nodeports as out of sync HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argo-cd.