mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
21 lines
537 B
YAML
21 lines
537 B
YAML
apiVersion: "serving.kserve.io/v1alpha2"
|
|
kind: "InferenceService"
|
|
metadata:
|
|
name: "flowers-sample-hpa"
|
|
annotations:
|
|
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
|
|
autoscaling.knative.dev/metric: cpu
|
|
autoscaling.knative.dev/target: "60"
|
|
spec:
|
|
default:
|
|
predictor:
|
|
tensorflow:
|
|
storageUri: "gs://kfserving-examples/models/tensorflow/flowers"
|
|
resources:
|
|
requests:
|
|
cpu: "4"
|
|
memory: "2Gi"
|
|
limits:
|
|
cpu: "4"
|
|
memory: "2Gi"
|