Giter Site home page Giter Site logo

Comments (8)

mikkeloscar avatar mikkeloscar commented on May 28, 2024

Hi, could you post the full log output of the kube-metrics-adapter from when you start it till you start to see those errors?

It would also be good if you could post the deployment.yaml of the final configuration. It's hard to determine the actual configuration just by looking at the chart, since there are many configuration variables.

from kube-metrics-adapter.

veetow avatar veetow commented on May 28, 2024

Sure thing, here are the logs:
https://gist.github.com/veetow/ac91b34643f4c1678e990baa0f8f810e

Here is the deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kube-metrics-adapter
  labels:
    app: kube-metrics-adapter
    chart: kube-metrics-adapter-0.0.4
    release: "kube-metrics-adapter"
    heritage: "Tiller"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kube-metrics-adapter
      release: "kube-metrics-adapter"
  template:
    metadata:
      labels:
        app: kube-metrics-adapter
        chart: kube-metrics-adapter-0.0.4
        release: "kube-metrics-adapter"
        heritage: "Tiller"
    spec:
      serviceAccountName: kube-metrics-adapter
      securityContext:
        runAsNonRoot: true
        runAsUser: 10001
      containers:
      - name: kube-metrics-adapter
        image: "banzaicloud/kube-metrics-adapter:0.1.1"
        imagePullPolicy: IfNotPresent
        args:
        - --secure-port=8443
        - --v=9
        - --prometheus-server=http://prometheus-prometheus-oper-prometheus.monitoring.svc.cluster.local:9090
        - --cert-dir=/tmp/cert
        ports:
        - containerPort: 8443
          name: https
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop: ["all"]
          readOnlyRootFilesystem: true
        volumeMounts:
        - mountPath: /tmp
          name: tmp
      volumes:
      - name: tmp
        emptyDir: {}

from kube-metrics-adapter.

mikkeloscar avatar mikkeloscar commented on May 28, 2024

Ok, I see, you are using the image: banzaicloud/kube-metrics-adapter:0.1.1 which is from their fork (https://github.com/banzaicloud/kube-metrics-adapter/). This doesn't include the latest features like external prometheus metrics.

You can either use the latest image we have built from master:

registry.opensource.zalan.do/teapot/kube-metrics-adapter:master-35

Or build from source if you prefer: IMAGE=$YOURNAME/kube-metrics-adapter make build.push

from kube-metrics-adapter.

veetow avatar veetow commented on May 28, 2024

Ah, I couldn't find a public image published by zalando. I'll give this one a go.

from kube-metrics-adapter.

veetow avatar veetow commented on May 28, 2024

Using that image seems to have solved my issue. Any plans to push those to quay or docker hub?

from kube-metrics-adapter.

mikkeloscar avatar mikkeloscar commented on May 28, 2024

Yeah, sorry about not making this clear. We will start doing releases and include a reference to the published images.

from kube-metrics-adapter.

mikkeloscar avatar mikkeloscar commented on May 28, 2024

Will track creating releases in #16

from kube-metrics-adapter.

veetow avatar veetow commented on May 28, 2024

Thanks!

from kube-metrics-adapter.

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.