Skip to content
Snippets Groups Projects
Unverified Commit e71f2619 authored by Rong Zhang's avatar Rong Zhang Committed by GitHub
Browse files

Merge pull request #3068 from riverzhang/swap

Enable swap
parents b1ef336f b902602d
No related branches found
No related tags found
No related merge requests found
...@@ -86,12 +86,6 @@ ...@@ -86,12 +86,6 @@
when: access_ip is defined when: access_ip is defined
ignore_errors: "{{ ignore_assert_errors }}" 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 - name: Stop if RBAC is not enabled when dashboard is enabled
assert: assert:
that: rbac_enabled that: rbac_enabled
......
...@@ -13,7 +13,7 @@ kube_api_anonymous_auth: false ...@@ -13,7 +13,7 @@ kube_api_anonymous_auth: false
is_atomic: false is_atomic: false
# optional disable the swap # optional disable the swap
disable_swap: false disable_swap: true
## Change this to use another Kubernetes version, e.g. a current beta release ## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.10.4 kube_version: v1.10.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment