Update lognhorn deployment
This commit is contained in:
parent
bf321f103a
commit
b231db641a
2 changed files with 6 additions and 15 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue