Skip to content

Commit f2305a5

Browse files
style: unindent few lines in values.yaml
1 parent 620aff4 commit f2305a5

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

helm/blueapi/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ A Helm chart deploying a worker pod that runs Bluesky plans
3333
| podLabels | object | `{}` | |
3434
| podSecurityContext | object | `{}` | |
3535
| readinessProbe | object | `{"failureThreshold":2,"httpGet":{"path":"/healthz","port":"http"},"periodSeconds":10}` | Readiness probe, if configured kubernetes will not route traffic to this pod if failed consecutively. This could allow the service time to recover if it is being overwhelmed by traffic, but without the to ability to load balance or scale up/outwards, upstream services will need to know to back off. This is automatically disabled when in debug mode. |
36-
| resources.limits.cpu | string | `"2000m"` | |
37-
| resources.limits.memory | string | `"4000Mi"` | |
38-
| resources.requests.cpu | string | `"200m"` | |
39-
| resources.requests.memory | string | `"400Mi"` | |
36+
| resources | object | `{"limits":{"cpu":"2000m","memory":"4000Mi"},"requests":{"cpu":"200m","memory":"400Mi"}}` | Sets the compute resources available to the pod. These defaults are appropriate when using debug mode or an internal PVC and therefore running VS Code server in the pod. In the Diamond cluster, requests must be >= 0.1*limits When not using either of the above, the limits may be lowered. When idle but connected, blueapi consumes ~400MB of memory and 1% cpu and may struggle when allocated less. |
4037
| restartOnConfigChange | bool | `true` | If enabled the blueapi pod will restart on changes to `worker` |
4138
| securityContext.runAsNonRoot | bool | `true` | |
4239
| securityContext.runAsUser | int | `1000` | |

helm/blueapi/values.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
}
199199
},
200200
"resources": {
201+
"description": "Sets the compute resources available to the pod. These defaults are appropriate when using debug mode or an internal PVC and therefore running VS Code server in the pod. In the Diamond cluster, requests must be \u003e= 0.1*limits When not using either of the above, the limits may be lowered. When idle but connected, blueapi consumes ~400MB of memory and 1% cpu and may struggle when allocated less.",
201202
"type": "object",
202203
"properties": {
203204
"limits": {

helm/blueapi/values.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ securityContext:
4747
# drop:
4848
# - ALL
4949

50-
# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
50+
# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
5151
service:
5252
# This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
5353
# -- To make blueapi available on an IP outside of the cluster prior to an Ingress being created, change this to LoadBalancer
@@ -75,13 +75,13 @@ ingress:
7575
# hosts:
7676
# - chart-example.local
7777

78-
# -- Sets the compute resources available to the pod.
79-
# These defaults are appropriate when using debug mode or an internal PVC and therefore
80-
# running VS Code server in the pod.
81-
# In the Diamond cluster, requests must be >= 0.1*limits
82-
# When not using either of the above, the limits may be lowered.
83-
# When idle but connected, blueapi consumes ~400MB of memory and 1% cpu
84-
# and may struggle when allocated less.
78+
# -- Sets the compute resources available to the pod.
79+
# These defaults are appropriate when using debug mode or an internal PVC and therefore
80+
# running VS Code server in the pod.
81+
# In the Diamond cluster, requests must be >= 0.1*limits
82+
# When not using either of the above, the limits may be lowered.
83+
# When idle but connected, blueapi consumes ~400MB of memory and 1% cpu
84+
# and may struggle when allocated less.
8585
resources:
8686
# We usually recommend not to specify default resources and to leave this as a conscious
8787
# choice for the user. This also increases chances charts run on environments with little
@@ -201,7 +201,7 @@ worker:
201201
repositories: []
202202
# - name: "dodal"
203203
# remote_url: https://github.com/DiamondLightSource/dodal.git
204-
# -- Configures logging. Port 12231 is the `dodal` input on graylog which will be renamed `blueapi`
204+
# -- Configures logging. Port 12231 is the `dodal` input on graylog which will be renamed `blueapi`
205205
logging:
206206
level: "INFO"
207207
graylog:

0 commit comments

Comments
 (0)