Giter Club home page Giter Club logo

Comments (2)

jessebot avatar jessebot commented on July 2, 2024

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.

jessebot avatar jessebot commented on July 2, 2024

Disabling all metrics is a work around to get the cli working again, small-hack/argocd-apps@cfca631

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.