overlays-kustomization.yaml
· 190 B · YAML
Ham
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patches:
- target:
group: apps
version: v1
kind: StatefulSet
name: trillium-trilium
path: statefulset.yaml
1 | apiVersion: kustomize.config.k8s.io/v1beta1 |
2 | kind: Kustomization |
3 | |
4 | patches: |
5 | - target: |
6 | group: apps |
7 | version: v1 |
8 | kind: StatefulSet |
9 | name: trillium-trilium |
10 | path: statefulset.yaml |
overlays-statefulset.yaml
· 260 B · YAML
Ham
---
- op: add
path: /spec/template/spec/containers/0/startupProbe
value:
failureThreshold: 300
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 1
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 1%
1 | --- |
2 | - op: add |
3 | path: /spec/template/spec/containers/0/startupProbe |
4 | value: |
5 | failureThreshold: 300 |
6 | httpGet: |
7 | path: / |
8 | port: 8080 |
9 | scheme: HTTP |
10 | initialDelaySeconds: 1 |
11 | periodSeconds: 1 |
12 | successThreshold: 1 |
13 | timeoutSeconds: 1% |