|
42 | 42 | "defaultImageVersion": "latest" |
43 | 43 | } |
44 | 44 | } |
| 45 | + # ====================================== ISVC CONFIGURATION ====================================== |
| 46 | + # Example - setting custom annotation |
| 47 | + inferenceService: |- |
| 48 | + { |
| 49 | + "serviceAnnotationDisallowedList": [ |
| 50 | + "my.custom.annotation/1" |
| 51 | + ], |
| 52 | + "serviceLabelDisallowedList": [ |
| 53 | + "my.custom.label.1" |
| 54 | + ] |
| 55 | + } |
| 56 | + # Example - setting custom annotation |
| 57 | + inferenceService: |- |
| 58 | + { |
| 59 | + # ServiceAnnotationDisallowedList is a list of annotations that are not allowed to be propagated to Knative |
| 60 | + # revisions, which prevents the reconciliation loop to be triggered if the annotations is |
| 61 | + # configured here are used. |
| 62 | + # Default values are: |
| 63 | + # "autoscaling.knative.dev/min-scale", |
| 64 | + # "autoscaling.knative.dev/max-scale", |
| 65 | + # "internal.serving.kserve.io/storage-initializer-sourceuri", |
| 66 | + # "kubectl.kubernetes.io/last-applied-configuration" |
| 67 | + # Any new value will be appended to the list. |
| 68 | + "serviceAnnotationDisallowedList": [ |
| 69 | + "my.custom.annotation/1" |
| 70 | + ], |
| 71 | + # ServiceLabelDisallowedList is a list of labels that are not allowed to be propagated to Knative revisions |
| 72 | + # which prevents the reconciliation loop to be triggered if the labels is configured here are used. |
| 73 | + "serviceLabelDisallowedList": [ |
| 74 | + "my.custom.label.1" |
| 75 | + ] |
| 76 | + } |
| 77 | + # Example - setting custom resource |
| 78 | + inferenceService: |- |
| 79 | + { |
| 80 | + "resource": { |
| 81 | + "cpuLimit": "1", |
| 82 | + "memoryLimit": "2Gi", |
| 83 | + "cpuRequest": "1", |
| 84 | + "memoryRequest": "2Gi" |
| 85 | + } |
| 86 | + } |
| 87 | + # Example - setting custom resource |
| 88 | + inferenceService: |- |
| 89 | + { |
| 90 | + # resource contains the default resource configuration for the inference service. |
| 91 | + # you can override this configuration by specifying the resources in the inference service yaml. |
| 92 | + # If you want to unbound the resource (limits and requests), you can set the value to null or "" |
| 93 | + # or just remove the specific field from the config. |
| 94 | + "resource": { |
| 95 | + # cpuLimit is the limits.cpu to set for the inference service. |
| 96 | + "cpuLimit": "1", |
| 97 | +
|
| 98 | + # memoryLimit is the limits.memory to set for the inference service. |
| 99 | + "memoryLimit": "2Gi", |
| 100 | +
|
| 101 | + # cpuRequest is the requests.cpu to set for the inference service. |
| 102 | + "cpuRequest": "1", |
45 | 103 |
|
| 104 | + # memoryRequest is the requests.memory to set for the inference service. |
| 105 | + "memoryRequest": "2Gi" |
| 106 | + } |
| 107 | + } |
46 | 108 | # ====================================== STORAGE INITIALIZER CONFIGURATION ====================================== |
47 | 109 | # Example |
48 | 110 | storageInitializer: |- |
@@ -629,3 +691,10 @@ data: |
629 | 691 | "memoryRequest": "{{ .Values.kserve.inferenceservice.resources.requests.memory }}" |
630 | 692 | } |
631 | 693 | } |
| 694 | +
|
| 695 | + opentelemetryCollector: |- |
| 696 | + { |
| 697 | + "scrapeInterval": "5s", |
| 698 | + "metricReceiverEndpoint": "keda-otel-scaler.keda.svc:4317", |
| 699 | + "metricScalerEndpoint": "keda-otel-scaler.keda.svc:4318" |
| 700 | + } |
0 commit comments