You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see deislabs#49 (comment)
no more `osiris.xxx/enabled` annotation, it's been replaced by:
- `osiris.xxx/collectMetrics` for the pods
- `osiris.xxx/enableScaling` for the workloads (deployments/statefulsets)
- `osiris.xxx/manageEndpoints` for the services
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ metadata:
127
127
namespace: my-aoo
128
128
name: my-app
129
129
annotations:
130
-
osiris.dm.gg/enabled: "true"
130
+
osiris.dm.gg/enableScaling: "true"
131
131
spec:
132
132
replicas: 1
133
133
selector:
@@ -163,7 +163,7 @@ metadata:
163
163
namespace: my-namespace
164
164
name: my-app
165
165
annotations:
166
-
osiris.dm.gg/enabled: "true"
166
+
osiris.dm.gg/manageEndpoints: "true"
167
167
osiris.dm.gg/deployment: my-app
168
168
spec:
169
169
selector:
@@ -181,7 +181,7 @@ The following table lists the supported annotations for Kubernetes `Deployments`
181
181
182
182
| Annotation | Description | Default |
183
183
| ---------- | ----------- | ------- |
184
-
|`osiris.dm.gg/enabled`| Enable the zeroscaler component to scrape and analyze metrics from the deployment's or statefulSet's pods and scale the deployment/statefulSet to zero when idle. Allowed values: `y`, `yes`, `true`, `on`, `1`. |_no value_ (= disabled) |
184
+
|`osiris.dm.gg/enableScaling`| Enable the zeroscaler component to scrape and analyze metrics from the deployment's or statefulSet's pods and scale the deployment/statefulSet to zero when idle. Allowed values: `y`, `yes`, `true`, `on`, `1`. |_no value_ (= disabled) |
185
185
|`osiris.dm.gg/minReplicas`| The minimum number of replicas to set on the deployment/statefulSet when Osiris will scale up. If you set `2`, Osiris will scale the deployment/statefulSet from `0` to `2` replicas directly. Osiris won't collect metrics from deployments/statefulSets which have more than `minReplicas` replicas - to avoid useless collections of metrics. |`1`|
186
186
|`osiris.dm.gg/metricsCheckInterval`| The interval in which Osiris would repeatedly track the pod http request metrics. The value is the number of seconds of the interval. Note that this value override the global value defined by the `zeroscaler.metricsCheckInterval` Helm value. |_value of the `zeroscaler.metricsCheckInterval` Helm value_|
187
187
|`osiris.dm.gg/metricsCollector`| Configure the collection of metrics for a pod. The value is a JSON object with at least a `type` string, and an optional `implementation` object. See the *Metrics Scraping* section for more. |`{ "type": "osiris" }`|
@@ -201,7 +201,7 @@ The following table lists the supported annotations for Kubernetes `Services` an
201
201
202
202
| Annotation | Description | Default |
203
203
| ---------- | ----------- | ------- |
204
-
|`osiris.dm.gg/enabled`| Enable this service's endpoints to be managed by the Osiris endpoints controller. Allowed values: `y`, `yes`, `true`, `on`, `1`. |_no value_ (= disabled) |
204
+
|`osiris.dm.gg/manageEndpoints`| Enable this service's endpoints to be managed by the Osiris endpoints controller. Allowed values: `y`, `yes`, `true`, `on`, `1`. |_no value_ (= disabled) |
205
205
|`osiris.dm.gg/deployment`| Name of the deployment which is behind this service. This is _required_ to map the service with its deployment. |_no value_|
206
206
|`osiris.dm.gg/statefulset`| Name of the statefulSet which is behind this service. This is _required_ to map the service with its statefulSet. |_no value_|
207
207
|`osiris.dm.gg/loadBalancerHostname`| Map requests coming from a specific hostname to this service. Note that if you have multiple hostnames, you can set them with different annotations, using `osiris.dm.gg/loadBalancerHostname-1`, `osiris.dm.gg/loadBalancerHostname-2`, ... |_no value_|
0 commit comments