apenkop hat die Gist bearbeitet . Zu Änderung gehen
1 file changed, 1 insertion, 16 deletions
fleet.yaml
@@ -1,23 +1,8 @@ | |||
1 | 1 | --- | |
2 | - | # https://fleet.rancher.io/ref-fleet-yaml | |
3 | - | ||
4 | - | # The default namespace to be applied to resources. This field is not used to | |
5 | - | # enforce or lock down the deployment to a specific namespace, but instead | |
6 | - | # provide the default value of the namespace field if one is not specified | |
7 | - | # in the manifests. | |
8 | - | # Default: default | |
9 | 2 | defaultNamespace: trillium | |
10 | 3 | ||
11 | - | # All resources will be assigned to this namespace and if any cluster scoped | |
12 | - | # resource exists the deployment will fail. | |
13 | - | # Default: "" | |
14 | - | #namespace: trillium | |
15 | - | ||
16 | 4 | helm: | |
17 | - | # A https URL to a Helm repo to download the chart from. It's typically easier | |
18 | - | # to just use `chart` field and refer to a tgz file. If repo is used the | |
19 | - | # value of `chart` will be used as the chart name to lookup in the Helm repository. | |
20 | - | repo: https://charts.oecis.io | |
5 | + | repo: https://charts.example.com | |
21 | 6 | ||
22 | 7 | # Name of the chart within the repo | |
23 | 8 | chart: trilium |
apenkop hat die Gist bearbeitet . Zu Änderung gehen
1 file changed, 57 insertions
fleet.yaml(Datei erstellt)
@@ -0,0 +1,57 @@ | |||
1 | + | --- | |
2 | + | # https://fleet.rancher.io/ref-fleet-yaml | |
3 | + | ||
4 | + | # The default namespace to be applied to resources. This field is not used to | |
5 | + | # enforce or lock down the deployment to a specific namespace, but instead | |
6 | + | # provide the default value of the namespace field if one is not specified | |
7 | + | # in the manifests. | |
8 | + | # Default: default | |
9 | + | defaultNamespace: trillium | |
10 | + | ||
11 | + | # All resources will be assigned to this namespace and if any cluster scoped | |
12 | + | # resource exists the deployment will fail. | |
13 | + | # Default: "" | |
14 | + | #namespace: trillium | |
15 | + | ||
16 | + | helm: | |
17 | + | # A https URL to a Helm repo to download the chart from. It's typically easier | |
18 | + | # to just use `chart` field and refer to a tgz file. If repo is used the | |
19 | + | # value of `chart` will be used as the chart name to lookup in the Helm repository. | |
20 | + | repo: https://charts.oecis.io | |
21 | + | ||
22 | + | # Name of the chart within the repo | |
23 | + | chart: trilium | |
24 | + | # A custom release name to deploy the chart as. If not specified a release name | |
25 | + | # will be generated by combining the invoking GitRepo.name + GitRepo.path. | |
26 | + | releaseName: trillium | |
27 | + | ||
28 | + | # The version of the chart or semver constraint of the chart to find. If a constraint | |
29 | + | # is specified it is evaluated each time git changes. | |
30 | + | # The version also determines which chart to download from OCI registries. | |
31 | + | version: 0.1.0 | |
32 | + | ||
33 | + | # Makes helm skip the check for its own annotations | |
34 | + | takeOwnership: false | |
35 | + | ||
36 | + | # Any values that should be placed in the `values.yaml` and passed to helm during | |
37 | + | # install. | |
38 | + | values: | |
39 | + | persistentVolume: | |
40 | + | enabled: true | |
41 | + | ingress: | |
42 | + | enabled: true | |
43 | + | annotations: | |
44 | + | cert-manager.io/cluster-issuer: letsencrypt-prod | |
45 | + | tls: | |
46 | + | - secretName: notes-tls | |
47 | + | hosts: | |
48 | + | - notes.example.com | |
49 | + | hosts: | |
50 | + | - host: notes.example.com | |
51 | + | paths: | |
52 | + | - path: / | |
53 | + | pathType: ImplementationSpecific | |
54 | + | ||
55 | + | ||
56 | + | kustomize: | |
57 | + | dir: overlays/ |
apenkop hat die Gist bearbeitet . Zu Änderung gehen
2 files changed, 23 insertions
overlays-kustomization.yaml(Datei erstellt)
@@ -0,0 +1,10 @@ | |||
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(Datei erstellt)
@@ -0,0 +1,13 @@ | |||
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% |