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
enable kiwigrid/k8s-sidecar in tests and configure health port (#597)
* ci: enable kiwigrid/k8s-sidecar in tests
Signed-off-by: Tom Hayward <thayward@infoblox.com>
* override kiwigrid/k8s-sidecar health port to avoid conflict and enable probes
Signed-off-by: Tom Hayward <thayward@infoblox.com>
---------
Signed-off-by: Tom Hayward <thayward@infoblox.com>
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,16 +141,23 @@ Kubernetes: `^1.19.0-0`
141
141
| alertmanager.​sidecar.​enabled | bool |`false`| Enable sidecar that collect the configmaps with specified label and stores the included files them into the respective folders |
142
142
| alertmanager.​sidecar.​folder | string |`"/data"`| Folder where the files should be placed. |
143
143
| alertmanager.​sidecar.​folderAnnotation | string |`"k8s-sidecar-target-directory"`| The annotation the sidecar will look for in ConfigMaps and/or Secrets to override the destination folder for files. If the value is a relative path, it will be relative to FOLDER |
144
+
| alertmanager.​sidecar.​healthPort | int |`8081`| The port the kiwigrid/k8s-sidecar listens on for health checks. The image default matches the cortex default listen port (8080), so it must be overridden here. |
| alertmanager.​sidecar.​label | string |`"cortex_alertmanager"`| Label that should be used for filtering |
149
150
| alertmanager.​sidecar.​labelValue | string |`""`| The value for the label you want to filter your resources on. Don't set a value to filter by any value |
| alertmanager.​sidecar.​readinessProbe.​periodSeconds | int |`5`||
150
154
| alertmanager.​sidecar.​resource | string |`"both"`| The resource type that the operator will filter for. Can be configmap, secret or both |
| alertmanager.​sidecar.​searchNamespace | string |`""`| The Namespace(s) from which resources will be watched. For multiple namespaces, use a comma-separated string like "default,test". If not set or set to ALL, it will watch all Namespaces. |
153
157
| alertmanager.​sidecar.​skipTlsVerify | bool |`false`| Set to true to skip tls verification for kube api calls |
| alertmanager.​sidecar.​startupProbe.​periodSeconds | int |`5`||
154
161
| alertmanager.​sidecar.​watchMethod | string |`""`| Determines how kopf-k8s-sidecar will run. If WATCH it will run like a normal operator forever. If LIST it will gather the matching configmaps and secrets currently present, write those files to the destination directory and die |
155
162
| alertmanager.​startupProbe.​failureThreshold | int |`10`||
| ruler.​sidecar.​enabled | bool |`false`| Enable sidecar that collect the configmaps with specified label and stores the included files them into the respective folders |
828
835
| ruler.​sidecar.​folder | string |`"/data/rules"`| Folder where the files should be placed. |
829
836
| ruler.​sidecar.​folderAnnotation | string |`"k8s-sidecar-target-directory"`| The annotation the sidecar will look for in ConfigMaps and/or Secrets to override the destination folder for files. If the value is a relative path, it will be relative to FOLDER |
837
+
| ruler.​sidecar.​healthPort | int |`8081`| The port the kiwigrid/k8s-sidecar listens on for health checks. The image default matches the cortex default listen port (8080), so it must be overridden here. |
| ruler.​sidecar.​label | string |`"cortex_rules"`| label that the configmaps with rules are marked with |
835
843
| ruler.​sidecar.​labelValue | string |`""`| The value for the label you want to filter your resources on. Don't set a value to filter by any value |
| ruler.​sidecar.​readinessProbe.​periodSeconds | int |`5`||
836
847
| ruler.​sidecar.​resource | string |`"both"`| The resource type that the operator will filter for. Can be configmap, secret or both |
| ruler.​sidecar.​searchNamespace | string |`""`| The Namespace(s) from which resources will be watched. For multiple namespaces, use a comma-separated string like "default,test". If not set or set to ALL, it will watch all Namespaces. |
839
850
| ruler.​sidecar.​skipTlsVerify | bool |`false`| Set to true to skip tls verification for kube api calls |
| ruler.​sidecar.​startupProbe.​periodSeconds | int |`5`||
840
854
| ruler.​sidecar.​watchMethod | string |`""`| Determines how kopf-k8s-sidecar will run. If WATCH it will run like a normal operator forever. If LIST it will gather the matching configmaps and secrets currently present, write those files to the destination directory and die |
841
855
| ruler.​startupProbe.​failureThreshold | int |`10`||
Copy file name to clipboardExpand all lines: values.yaml
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -317,6 +317,18 @@ alertmanager:
317
317
containerSecurityContext:
318
318
enabled: true
319
319
readOnlyRootFilesystem: true
320
+
# -- The port the kiwigrid/k8s-sidecar listens on for health checks. The image default matches the cortex default listen port (8080), so it must be overridden here.
321
+
healthPort: 8081
322
+
startupProbe:
323
+
httpGet:
324
+
path: /healthz
325
+
port: sidecar-health
326
+
periodSeconds: 5
327
+
readinessProbe:
328
+
httpGet:
329
+
path: /healthz
330
+
port: sidecar-health
331
+
periodSeconds: 5
320
332
321
333
distributor:
322
334
enabled: true
@@ -734,6 +746,18 @@ ruler:
734
746
containerSecurityContext:
735
747
enabled: true
736
748
readOnlyRootFilesystem: true
749
+
# -- The port the kiwigrid/k8s-sidecar listens on for health checks. The image default matches the cortex default listen port (8080), so it must be overridden here.
0 commit comments