Don't fail Kubespray scenario if swap is enabled

We have swap enabled in CI, by default Kubespray refuses to run with
swap, and so does Kubelet. Make this behavior configurable and allow
swap in the Kubespray scenario env file. It should be fine to run with
swap for development/testing [1].

[1] https://github.com/kubernetes-incubator/kubespray/issues/1787#issuecomment-336159788

Depends-On: I7a02134970c1b1754d42c4e85ed0a2188a5ecdb6
Change-Id: I023824a31f1278b01c33ce81d4af81247dd5f672
This commit is contained in:
Jiri Stransky
2017-11-29 11:04:01 +01:00
parent 904cc3dd6d
commit cb17631829
2 changed files with 22 additions and 3 deletions

View File

@@ -31,6 +31,10 @@ resource_registry:
parameter_defaults:
# NOTE: CI envs have swap, which by default blocks Kubespray and Kubelet.
# https://github.com/kubernetes-incubator/kubespray/issues/1787#issuecomment-336155007
KubesprayIgnoreAssertErrors: true
ControllerServices:
- OS::TripleO::Services::Docker
- OS::TripleO::Services::Kernel