Giter VIP home page Giter VIP logo

Comments (11)

weeco avatar weeco commented on August 15, 2024

I haven't tested it on AWS, but I don't see why it wouldn't work on EKS too.

from kube-eagle.

soufianez75 avatar soufianez75 commented on August 15, 2024

from kube-eagle.

weeco avatar weeco commented on August 15, 2024

Please provide more information. Are you talking about CPU usage, CPU limit, CPU request? Is it per node or per pod? What labels are wrong in prometheus?

What version of kube eagle are you working?

from kube-eagle.

soufianez75 avatar soufianez75 commented on August 15, 2024

I have had this in prometheus configuration :

  • job_name : 'kube-eagle-rec2'
    scrape_interval : 1m
    static_configs:
    - targets: ['https://xxxxxxxxxxxxx.fr']
    labels:
    alias: kube-eagle

my dashboard

capture d ecran 2019-03-08 a 19 08 39

from kube-eagle.

weeco avatar weeco commented on August 15, 2024

Can you please check the response of the /metrics endpoint, along with the logs of Kube Eagle?

from kube-eagle.

weeco avatar weeco commented on August 15, 2024

Since I haven't heard back from you, I'll close the issue. Just comment if this issue is still existent and you'd like to figure it out

from kube-eagle.

soufianez75 avatar soufianez75 commented on August 15, 2024

it's party of my /metrics

HELP eagle_node_resource_allocatable_cpu_cores Allocatable CPU cores on a specific node in Kubernetes

TYPE eagle_node_resource_allocatable_cpu_cores gauge

eagle_node_resource_allocatable_cpu_cores{node="ip-10-18-175-9.eu-west-1.compute.internal"} 2.0
eagle_node_resource_allocatable_cpu_cores{node="ip-10-18-255-21.eu-west-1.compute.internal"} 2.0
eagle_node_resource_allocatable_cpu_cores{node="ip-10-18-77-142.eu-west-1.compute.internal"} 2.0

HELP eagle_node_resource_allocatable_memory_bytes Allocatable memory bytes on a specific node in Kubernetes

TYPE eagle_node_resource_allocatable_memory_bytes gauge

eagle_node_resource_allocatable_memory_bytes{node="ip-10-18-175-9.eu-west-1.compute.internal"} 3.971022848e+09
eagle_node_resource_allocatable_memory_bytes{node="ip-10-18-255-21.eu-west-1.compute.internal"} 3.971022848e+09
eagle_node_resource_allocatable_memory_bytes{node="ip-10-18-77-142.eu-west-1.compute.internal"} 3.971022848e+09

HELP eagle_node_resource_limits_cpu_cores Total limit CPU cores of all specified pod resources on a node

TYPE eagle_node_resource_limits_cpu_cores gauge

eagle_node_resource_limits_cpu_cores{node="ip-10-18-175-9.eu-west-1.compute.internal"} 0.0
eagle_node_resource_limits_cpu_cores{node="ip-10-18-255-21.eu-west-1.compute.internal"} 0.0
eagle_node_resource_limits_cpu_cores{node="ip-10-18-77-142.eu-west-1.compute.internal"} 0.0

HELP eagle_node_resource_limits_memory_bytes Total limit of RAM bytes of all specified pod resources on a node

TYPE eagle_node_resource_limits_memory_bytes gauge

eagle_node_resource_limits_memory_bytes{node="ip-10-18-175-9.eu-west-1.compute.internal"} 3.5651584e+08
eagle_node_resource_limits_memory_bytes{node="ip-10-18-255-21.eu-west-1.compute.internal"} 0.0
eagle_node_resource_limits_memory_bytes{node="ip-10-18-77-142.eu-west-1.compute.internal"} 0.0

HELP eagle_node_resource_requests_cpu_cores Total request of CPU cores of all specified pod resources on a node

TYPE eagle_node_resource_requests_cpu_cores gauge

eagle_node_resource_requests_cpu_cores{node="ip-10-18-175-9.eu-west-1.compute.internal"} 0.31000000000000005
eagle_node_resource_requests_cpu_cores{node="ip-10-18-255-21.eu-west-1.compute.internal"} 0.11
eagle_node_resource_requests_cpu_cores{node="ip-10-18-77-142.eu-west-1.compute.internal"} 0.11

HELP eagle_node_resource_requests_memory_bytes Total request of RAM bytes of all specified pod resources on a node

TYPE eagle_node_resource_requests_memory_bytes gauge

eagle_node_resource_requests_memory_bytes{node="ip-10-18-175-9.eu-west-1.compute.internal"} 1.4680064e+08
eagle_node_resource_requests_memory_bytes{node="ip-10-18-255-21.eu-west-1.compute.internal"} 0.0
eagle_node_resource_requests_memory_bytes{node="ip-10-18-77-142.eu-west-1.compute.internal"} 0.0

HELP eagle_node_resource_usage_cpu_cores Total number of used CPU cores on a node

TYPE eagle_node_resource_usage_cpu_cores gauge

eagle_node_resource_usage_cpu_cores{node="ip-10-18-175-9.eu-west-1.compute.internal"} 0.056
eagle_node_resource_usage_cpu_cores{node="ip-10-18-255-21.eu-west-1.compute.internal"} 0.07
eagle_node_resource_usage_cpu_cores{node="ip-10-18-77-142.eu-west-1.compute.internal"} 0.091

HELP eagle_node_resource_usage_memory_bytes Total number of RAM bytes used on a node

TYPE eagle_node_resource_usage_memory_bytes gauge

eagle_node_resource_usage_memory_bytes{node="ip-10-18-175-9.eu-west-1.compute.internal"} 1.071296512e+09
eagle_node_resource_usage_memory_bytes{node="ip-10-18-255-21.eu-west-1.compute.internal"} 1.108758528e+09
eagle_node_resource_usage_memory_bytes{node="ip-10-18-77-142.eu-west-1.compute.internal"} 1.265700864e+09

HELP eagle_pod_container_resource_limits_cpu_cores The container's CPU limit in Kubernetes

TYPE eagle_pod_container_resource_limits_cpu_cores gauge

eagle_pod_container_resource_limits_cpu_cores{container="apigateway-neobank-service-nginx",namespace="apigateway-neobank-service",node="ip-10-18-255-21.eu-west-1.compute.internal",phase="Running",pod="apigateway-neobank-service-nginx-deployment-67c5b76658-rrbfc",qos="BestEffort"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="apigateway-neobank-service-php-fpm",namespace="apigateway-neobank-service",node="ip-10-18-77-142.eu-west-1.compute.internal",phase="Running",pod="apigateway-neobank-service-php-fpm-deployment-b6bcf8c5-vqrn4",qos="BestEffort"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="authentication-service-nginx",namespace="authentication-service",node="ip-10-18-175-9.eu-west-1.compute.internal",phase="Running",pod="authentication-service-nginx-deployment-75dbbf465c-6d8zp",qos="BestEffort"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="authentication-service-php-fpm",namespace="authentication-service",node="ip-10-18-77-142.eu-west-1.compute.internal",phase="Running",pod="authentication-service-php-fpm-deployment-86b46c5c9c-x5wxs",qos="BestEffort"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="aws-node",namespace="kube-system",node="ip-10-18-175-9.eu-west-1.compute.internal",phase="Running",pod="aws-node-64gd2",qos="Burstable"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="aws-node",namespace="kube-system",node="ip-10-18-255-21.eu-west-1.compute.internal",phase="Running",pod="aws-node-5whdq",qos="Burstable"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="aws-node",namespace="kube-system",node="ip-10-18-77-142.eu-west-1.compute.internal",phase="Running",pod="aws-node-pxrb5",qos="Burstable"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="coredns",namespace="kube-system",node="ip-10-18-175-9.eu-west-1.compute.internal",phase="Running",pod="coredns-7554568866-dkdz6",qos="Burstable"} 0.0
eagle_pod_container_resource_limits_cpu_cores{container="coredns",namespace="kube-system",node="ip-10-18-175-9.eu-west-1.compute.internal",phase="Running",pod="coredns-7554568866-ntbnj",qos="Burstable"} 0.0

from kube-eagle.

weeco avatar weeco commented on August 15, 2024

Since the metrics output seems to be ok, this doesn't look like an issue with Kube Eagle and/or AWS. Instead it might be an issue with your Prometheus (Job Configuration). It should be easy to debug by just looking at your prometheus metrics and the Grafana dashboard queries.

from kube-eagle.

sc250024 avatar sc250024 commented on August 15, 2024

I'm having the exact same problem; I'm on AWS, but the only different is that I'm using Kops, so I don't think this is an EKS specific issue. @soufianez75 Are you running Prometheus operator? If so, what version?

from kube-eagle.

sc250024 avatar sc250024 commented on August 15, 2024

@weeco Also, can we open this back up please? I would like to see what the problem is so that we can diagnose this.

from kube-eagle.

weeco avatar weeco commented on August 15, 2024

@sc250024 I am not sure if I can help at all if the response on the /metrics endpoint is correct?

from kube-eagle.

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.