Comments (7)
@scottclusk The port is exposed with name aggr-metric
on pod. https://github.com/kserve/kserve/pull/3291/files
from kserve.
You can use PodMonitor
instead of using ServiceMonitor
. prometheus-operator/prometheus-operator#3119
from kserve.
@sivanantha321 thanks. This is the approach i needed up taking and it worked well
from kserve.
Hello @robertgshaw2-neuralmagic any chance you elaborate on the fix please? I'm having the same issue, and it seems to me that the podMonitor also requires a named port. targetport is deprecated and port requires a number no? thanks :)
from kserve.
Hello @robertgshaw2-neuralmagic any chance you elaborate on the fix please? I'm having the same issue, and it seems to me that the podMonitor also requires a named port. targetport is deprecated and port requires a number no? thanks :)
WIP example -> https://github.com/robertgshaw2-neuralmagic/vllm-k8s/tree/main/vllm-kserve
I ended up using the following:
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: llama-3-monitor
spec:
namespaceSelector:
any: true
selector:
matchLabels:
serving.kserve.io/inferenceservice: llama-3
podMetricsEndpoints:
- port: user-port
interval: 5s
The user-port
is 8000 ... the InferenceService seems to expose this
from kserve.
Hello @robertgshaw2-neuralmagic any chance you elaborate on the fix please? I'm having the same issue, and it seems to me that the podMonitor also requires a named port. targetport is deprecated and port requires a number no? thanks :)
WIP example -> https://github.com/robertgshaw2-neuralmagic/vllm-k8s/tree/main/vllm-kserve
I ended up using the following:
apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: llama-3-monitor spec: namespaceSelector: any: true selector: matchLabels: serving.kserve.io/inferenceservice: llama-3 podMetricsEndpoints: - port: user-port interval: 5sThe
user-port
is 8000 ... the InferenceService seems to expose this
How does it find your aggregate metrics though, aren't those being exposed on 9088?
from kserve.
It doesn't aggregate.
But you could then open up a Servicemonitor that hits the 9091 if you want to get the queue_proxy
metrics
from kserve.
Related Issues (20)
- UnicodeDecodeError for grpcurl request with Bytes column in DataFrame HOT 7
- error setting up interface service HOT 2
- mlflow model cannot be loaded HOT 8
- stop using `gcr.io/kubebuilder/kube-rbac-proxy` before `18 March 2025` (image being deleted) HOT 3
- add Xinfernece ( an inference platform which integrated transformers, vllm, and llama.cpp as engines,) runtime for LLM Serving Runtime HOT 5
- Completion fails when echo is true with vLLM backend
- protobuf version conflict while trying to integrate with kfp HOT 3
- Client fails to list clusterservingruntimes HOT 2
- Not able to access torchserve custom metrics after deploying inference service on kserve
- The request to InferenceService is sent twice
- Getting timeout failed to failed to call webhook: Post "https://kserve-webhook-server-service.default.svc:443/mutate-serving-kserve-io-v1beta1-inferenceservice?timeout=10s" HOT 7
- Multi-Lora support
- fake client returns no kind "ClusterServingRuntimeList" is registered for version "serving/v1alpha1" HOT 2
- duplicated hosts error after configuring the additional domains HOT 1
- Document missing content
- Can't find version compatibility matrix for KServe HOT 4
- Make inference to models using Istio and keycloak avoiding session cookies HOT 2
- RollingUpdate strategy is not effective for RawDeployment mode HOT 3
- Failed to start model server: integer division or modulo by zero HOT 7
- Reconciler error while creating InferenceService: failed to call webhook kserve-webhook-server-service.kserve.svc context deadline HOT 3
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 kserve.