Merge pull request #3068 from riverzhang/swap

Enable swap
This commit is contained in:
Rong Zhang
2018-08-07 21:29:41 +08:00
committed by GitHub
2 changed files with 1 additions and 7 deletions

View File

@@ -86,12 +86,6 @@
when: access_ip is defined
ignore_errors: "{{ ignore_assert_errors }}"
- name: Stop if swap enabled
assert:
that: ansible_swaptotal_mb == 0
when: kubelet_fail_swap_on|default(true)
ignore_errors: "{{ ignore_assert_errors }}"
- name: Stop if RBAC is not enabled when dashboard is enabled
assert:
that: rbac_enabled