Update lognhorn deployment
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-11-09 09:58:11 +01:00
parent bf321f103a
commit b231db641a
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
2 changed files with 6 additions and 15 deletions

View file

@ -27,18 +27,9 @@
namespace: "{{ storage_longhorn_namespace }}" namespace: "{{ storage_longhorn_namespace }}"
value: "{{ item.value }}" value: "{{ item.value }}"
with_items: with_items:
- { - { name: "guaranteed-engine-manager-cpu", value: "6" }
name: "guaranteed-engine-manager-cpu", - { name: "guaranteed-replica-manager-cpu", value: "6" }
value: "6" - { name: "default-data-locality", value: "best-effort" }
}
- {
name: "guaranteed-replica-manager-cpu",
value: "6"
}
- {
name: "default-data-locality",
value: "best-effort"
}
- name: Install longhorn Recurring Jobs - name: Install longhorn Recurring Jobs
kubernetes.core.k8s: kubernetes.core.k8s:
@ -46,7 +37,7 @@
context: "{{ my_context }}" context: "{{ my_context }}"
apply: true apply: true
namespace: "{{ storage_longhorn_namespace }}" namespace: "{{ storage_longhorn_namespace }}"
resource_definition: "{{ lookup('template', 'longhorn/longhorn/longhorn_recurringjob.yml.j2') | from_yaml }}" resource_definition: "{{ lookup('template', 'longhorn/longhorn_recurringjob.yml.j2') | from_yaml }}"
with_items: with_items:
- { - {
name: "snapshot", name: "snapshot",

View file

@ -7,11 +7,11 @@ persistence:
jobList: '[ jobList: '[
{ {
"name":"snapshot", "name":"snapshot",
"isGroup":true, "isGroup":true
}, },
{ {
"name":"backup-daily", "name":"backup-daily",
"isGroup":true, "isGroup":true
} }
]' ]'
defaultSettings: defaultSettings: