Commit Graph

11 Commits

Author SHA1 Message Date
vass fcf3202ba4 Rename install-kubernetes to ensure-kubernetes for consistency
The old role will be kept and include ensure-kubernetes for backwards compatability.

Change-Id: Ic0c18a833f4a07e123f8313673bd9c864d7d2919
2020-04-04 15:41:29 -04:00
vass c80b593fb6 Rename install-docker to ensure-docker for consistency
The old role will be kept and include ensure-docker for backwards compatability.

Change-Id: Icb76a954b04631c405b09eb54343fd852a511b83
2020-04-04 15:41:29 -04:00
Mohammed Naser 9fc0e3580a install-kubernetes: fix missing package, fix the client.key file path
The install-kubernetes role is now failing due to the fact that
minikube now requires conntrack.  This patch solves this.

Change-Id: I1e59d5e9255064646bd8e8c6b6edb2c34d45b516
2020-03-27 10:04:53 -07:00
David Shrewsbury a37c21b772 Increase minikube logging output to maximum
Per settings mentioned at: https://minikube.sigs.k8s.io/docs/tasks/debug/

The current logging level is very minimal for tracking down any
potential k8s issues.

Change-Id: I4ebd694481de936f9df790a46e195b251a803c5f
2019-10-17 20:00:01 +00:00
James E. Blair 03e42f874b install-kubernetes: add support for cri-o runtime
This adds optional support for using the cri-o rather than the
(still default) docker runtime.

Change-Id: I0f7cbb758a21cb022ceac24654183138bebf83bf
2019-10-17 11:27:31 -07:00
Zuul 6d5826844a Merge "Allow for overriding dns resolvers in install-kubernetes" 2019-10-16 19:30:17 +00:00
Clark Boylan 5c089bf032 Allow for overriding dns resolvers in install-kubernetes
By default kubernetes wants to use the local resolvers on the host
system. But in many cases the local resolver may be 127.0.0.1 which is a
different localhost on the host system then in the container network
namespaces. To address this disconnect you can supply a different
resolv.conf with a list of nameservers to use instead. Add support for
this.

Note that the test currently only uses ipv4 resolvers because by default
k8s has no support for ipv6.

Change-Id: I3c0d7d88613e2c9112e809f036aef3dfeaf7ab72
2019-08-21 09:36:27 -07:00
Jeremy Stanley b6d2616275 Don't compare to literal True/False
With the arrival of ansible-lint 4, comparisons to literal boolean
values are now forbidden. Adjust the new violations accordingly and
remove the rule 601 exclusion.

Change-Id: I18ba2d7d41fabaff35d10d520037188c7d9d1249
2019-08-01 19:01:37 +02:00
Tristan Cacqueray 3d5ee8637f install-kubernetes: fix minikube config permission
It seems like new minikube changed the default minikube config
permission. This change ensures the minikube config is owned by
the ansible_user

Change-Id: Ic1af1541fb1f32253678f989d7b62d21074514d5
2019-02-19 08:19:53 +00:00
Tristan Cacqueray a016dcba18 install-kubernetes: enable minikube version pinning
This change enables using a particular version of minikube for
debugging purpose.

Change-Id: Ide264165f12185e8313a16b6b6286ab74b32aa15
2018-11-08 07:11:30 +00:00
David Shrewsbury 230a0f6cc2 Add role to install kubernetes
Optionally, and by default, installs a Minikube cluster that runs
locally.

Change-Id: Ie6d0b73e6b3bdb77eee133a5f663133fd037aba0
2018-10-31 15:49:20 -04:00