Comments (11)
I haven't tested it on AWS, but I don't see why it wouldn't work on EKS too.
from kube-eagle.
from kube-eagle.
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.
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
from kube-eagle.
Can you please check the response of the /metrics endpoint, along with the logs of Kube Eagle?
from kube-eagle.
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.
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.
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.
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.
@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.
@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)
- Metrics for specific namespace HOT 6
- Unauthorized HOT 4
- Issue deploying Kube-Eagle HOT 2
- Lot's of pod restarts HOT 6
- Metrics resource usage CPU and RAM all zeros HOT 9
- [Feature Request] Running Pods/Max Pods per node HOT 2
- Add feature to expose pricing HOT 2
- [feature-request] support node all/allocated gpu numbers HOT 1
- grafana dashboards full of "Test data: random walk" HOT 6
- incorrect data in POD column in CPU/RAM tables on dashboard HOT 7
- Cache of old pods HOT 1
- allocatable vs. capacity HOT 4
- Pod constantly restarting HOT 4
- [feature/bug ?] Autoscaling and new node pool metrics HOT 4
- Support for k8s 1.16 HOT 1
- Bug: eagle_node_resource_allocatable_cpu_cores shows capacity, not allocatable cores HOT 1
- Add option to exclude completed pods? HOT 1
- Prometheus Scrape Config Example HOT 2
- Dashboard Fails to Import
- Add metrics sharding feature
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 kube-eagle.