Commit Graph

15 Commits

Author SHA1 Message Date
vass ef2f2eacb1 Remove install-* roles
The install-* roles has been renamed to ensure-* but have been kept
to give users time to update their repositories.

Tuesday the 26th of may is four weeks after we announced the deprecation
of the install-* roles and the date we should remove them completely.

Depends-On: https://review.opendev.org/719323
Depends-On: https://review.opendev.org/719324
Depends-On: https://review.opendev.org/719325
Depends-On: https://review.opendev.org/719326
Depends-On: https://review.opendev.org/719333
Depends-On: https://review.opendev.org/719334
Depends-On: https://review.opendev.org/719401
Depends-On: https://review.opendev.org/719402
Depends-On: https://review.opendev.org/719404

Change-Id: I1bc87cf9ef544c06e2f1daf3177bba9d577e332e
2020-05-26 09:34:25 +02:00
Albin Vass c96f4f5a16 Fail and direct user to use ensure-* version of roles
Tuesday the 12th May is two weeks after announcing deprecation of the
install-* roles [1] and the date we should starting throwing an error
message to direct the user to use the renamed ensure-* role instead.

[1]
http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html

Change-Id: Ie2474c5c0704aa44f51bdd5d7afddb8c7e4e578b
2020-05-08 19:03:06 +00:00
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
Mohammed Naser ffe0738f60 install-kubernetes: install lz4 packages
minikube has added a new "feature" which pre-loads a blob of data
with everything it needs that we can't disable, with a fallback.

we're currently downloading ~500MB and failing to use it because
it's compressed by lz4 which we don't have in images, this change
adds that to the package list.

Change-Id: If74faf2b21d564fa23253ea2eb5378457f055735
2020-03-12 15:04:16 -04:00
Tristan Cacqueray 211e92ec40 crio: add missing registries.conf
This change fixes recent cri-o test failure because of a missing
registries.conf file.

Change-Id: Ieb2efa0e097cc76dc9b67389e86c2646dfc0c00d
2020-02-14 22:22:18 +00: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