Skip to content

Commit

Permalink
chore: remove example
Browse files Browse the repository at this point in the history
Signed-off-by: Loc Mai <locmai0201@gmail.com>
  • Loading branch information
locmai committed Jun 26, 2023
1 parent 8a4670e commit bcd0792
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 96 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Kubernetes: `^1.19.0-0`
| distributor.&ZeroWidthSpace;annotations | object | `{}` | |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | Creates a HorizontalPodAutoscaler for the distributor pods. |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the distributor pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the distributor pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `2` | |
| distributor.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetCPUUtilizationPercentage | int | `80` | |
Expand Down Expand Up @@ -328,7 +328,7 @@ Kubernetes: `^1.19.0-0`
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior.&ZeroWidthSpace;scaleDown.&ZeroWidthSpace;stabilizationWindowSeconds | int | `3600` | uses metrics from the past 1h to make scaleDown decisions |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior.&ZeroWidthSpace;scaleUp.&ZeroWidthSpace;policies | list | `[{"periodSeconds":1800,"type":"Pods","value":1}]` | This default scaleup policy allows adding 1 pod every 30 minutes. Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the ingester pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the ingester pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `3` | |
| ingester.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetMemoryUtilizationPercentage | int | `80` | |
Expand Down Expand Up @@ -427,7 +427,7 @@ Kubernetes: `^1.19.0-0`
| nginx.&ZeroWidthSpace;annotations | object | `{}` | |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | Creates a HorizontalPodAutoscaler for the nginx pods. |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the nginx pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the nginx pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `2` | |
| nginx.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetCPUUtilizationPercentage | int | `80` | |
Expand Down Expand Up @@ -575,7 +575,7 @@ Kubernetes: `^1.19.0-0`
| querier.&ZeroWidthSpace;annotations | object | `{}` | |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | Creates a HorizontalPodAutoscaler for the querier pods. |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the querier pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the querier pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `2` | |
| querier.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetCPUUtilizationPercentage | int | `80` | |
Expand Down Expand Up @@ -718,7 +718,7 @@ Kubernetes: `^1.19.0-0`
| ruler.&ZeroWidthSpace;annotations | object | `{}` | |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | Creates a HorizontalPodAutoscaler for the ruler. |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the ruler pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the ruler pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `2` | |
| ruler.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetCPUUtilizationPercentage | int | `80` | |
Expand Down Expand Up @@ -797,7 +797,7 @@ Kubernetes: `^1.19.0-0`
| store_gateway.&ZeroWidthSpace;annotations | object | `{}` | |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;enabled | bool | `false` | |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the store gateway pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects For example: <br> <code> - type: External <br> &nbsp; external: <br> &nbsp; &nbsp; metric:<br/> &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br> &nbsp; &nbsp; &nbsp; selector:<br/> &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/> &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/> &nbsp; &nbsp; target:<br/> &nbsp; &nbsp; &nbsp; type: AverageValue<br/> &nbsp; &nbsp; &nbsp; averageValue: 30<br/> </code> |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;extraMetrics | list | `[]` | Optional custom and external metrics for the store gateway pods to scale on In order to use this option , define a list of of specific following either: - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;maxReplicas | int | `30` | |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;minReplicas | int | `3` | |
| store_gateway.&ZeroWidthSpace;autoscaling.&ZeroWidthSpace;targetMemoryUtilizationPercentage | int | `80` | |
Expand Down
90 changes: 0 additions & 90 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,21 +376,6 @@ distributor:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

persistentVolume:
Expand Down Expand Up @@ -520,21 +505,6 @@ ingester:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

lifecycle:
Expand Down Expand Up @@ -668,21 +638,6 @@ ruler:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

validation:
Expand Down Expand Up @@ -837,21 +792,6 @@ querier:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

persistentVolume:
Expand Down Expand Up @@ -1377,21 +1317,6 @@ nginx:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

store_gateway:
Expand Down Expand Up @@ -1458,21 +1383,6 @@ store_gateway:
# In order to use this option , define a list of of specific following either:
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
# - https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
#
# For example: <br>
#
# <code>
# - type: External <br>
# &nbsp; external: <br>
# &nbsp; &nbsp; metric:<br/>
# &nbsp; &nbsp; &nbsp; name: queue_messages_ready <br>
# &nbsp; &nbsp; &nbsp; selector:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; matchLabels:<br/>
# &nbsp; &nbsp; &nbsp; &nbsp; queue: "worker_tasks"<br/>
# &nbsp; &nbsp; target:<br/>
# &nbsp; &nbsp; &nbsp; type: AverageValue<br/>
# &nbsp; &nbsp; &nbsp; averageValue: 30<br/>
# </code>
extraMetrics: []

persistentVolume:
Expand Down

0 comments on commit bcd0792

Please sign in to comment.