72 Commits

Author SHA1 Message Date
portdirect
3713266f4c K8s: udpate KubeADM-AIO to use K8s v1.9.3
This PS updates the version of K8s used in the gate to v1.9.3

Change-Id: I284083e0cdf828701c439c44edfd3a975dcd69c3
2018-02-17 15:21:06 -05:00
portdirect
7a322f0a08 KubeADM: Label namespaces
This PS removes the duplicate labeling of K8s namespaces everytime
the kubeadm image is run - as this action is performed by the
container itself while deploying k8s. It also updates the playbook
to label the kube-public ns.

Change-Id: Icfaabe54d263e0bbc52f2ac11835cb5d92ad32a4
2018-02-11 13:59:15 -05:00
Zuul
08a6266654 Merge "Add label to namespaces" 2018-01-19 14:50:08 +00:00
portdirect
6a150bd0f9 KubeADM: Increase pod limit for hosts
This PS increases the pod limit per hosts - useful in dev envs.

Change-Id: I3bdb933d7f5001cb91db6f7f227101e587532a54
2018-01-17 18:57:12 -05:00
Tin Lam
f6347e7d28 Add label to namespaces
This patch set adds label to "kube-system" and "default"
namespaces used for podSelector.

Change-Id: Ia67a0e4d9adf6f5575d74aebf77673aae3660c62
Signed-off-by: Tin Lam <tin@irrational.io>
2018-01-17 16:08:24 -06:00
portdirect
76d0f57e64 KubeADM-AIO: Move to upstream debian base image
This PS moves KubeADM-AIO to use the upstream debian base image
that is used to build the Kubernetes release images:
 * https://github.com/kubernetes/kubernetes/tree/master/build/debian-base

Change-Id: I153a3aee43613b429793c179b2707c916821d39a
2018-01-13 23:46:33 -05:00
portdirect
3dfcde8849 KubeADM-AIO: allow cluster domain to be customised
This PS allows the cluster domain to be customised if desired.

Change-Id: I86b9271b6248a36ce39a367b814cffa2bea6d4b3
2018-01-11 16:22:27 +00:00
portdirect
2e0b57ad93 KubeADM-AIO: Drive basic CNI configuration via values
This PS drives basic CNI options via ansible playbook in the
KubeADM-AIO container and modifies the calico chart to support
configuration via values.

Change-Id: Iaf2f9807438c3a34e797c62c2c6913edb677997c
2018-01-07 12:32:40 -05:00
portdirect
7b6b2274ab Kubernetes: Move to version 1.9.1
This PS moves the version of kubernetes used in the gates to v1.9.1

Change-Id: Ida17cb20b0a5ce11e03ccfafddb0f58fadda76f1
2018-01-05 00:56:07 -05:00
portdirect
bbf32935dc Docker: Run docker without iptables
This PS updates the docker daemon settings to run without
apply iptables rules. This simplifies host network management by
removing one of the actors interacting with iptables.

Change-Id: I335247afddf736b60212d199a3b860c3c792977f
2017-12-30 21:59:19 -05:00
Steve Wilkerson
13c4199742 Adds extra args for kube_scheduler deploy
This adds extra args for the kube-scheduler to expose metrics on
port 10251 on all interfaces. This allows for Prometheus to gather
metrics for the scheduler

Change-Id: I26d473f511f6541a14a9387be1ce56841572bfff
2017-11-28 08:15:31 -06:00
portdirect
864f554a72 KubeADM: Move shell commands to use bash and set env vars
This PS moves the shell module invocations to use bash and set the
required env vars explicity. This can seolve some issues on ubuntu
workstation hosts which uses dash for shell commands by default.

Change-Id: Ieb440e421d9d95676719d66fb4c787f88a9d8a2b
2017-11-20 15:40:30 -05:00
intlabs
80e1d68fa0 Gate: Move to k8s v1.8.3 and expose params
This PS moves to use version 1.8.3 of k8s and also exposes all the
versions as build params to the kubeadm-aio dockerfile.

Change-Id: I8e6ef8090f3fa178e950a42605a5d86e298e0c99
2017-11-13 01:17:18 +00:00
intlabs
98e2c5bde0 Kubernetes: move to 1.8.2
This PS moves the OpenStack-Infra gates to use Kubernetes v1.8.2

Change-Id: I8d1494df959ffbb94e0f76fa79d5180b53f87680
2017-11-02 23:44:55 -05:00
intlabs
fe62a25081 Helm: Move to version 2.7.0
This PS moves the OpenStack-Helm Infra gates to v2.7.0

Change-Id: I8f2067019022cfcbc81a53927c397720297fe547
2017-11-02 23:43:27 -05:00
Zuul
d4163dff03 Merge "Calico: Add basic dependency checks and rbac support" 2017-11-01 18:17:55 +00:00
Zuul
69c1bd6aa6 Merge "Chart Runner: Add NFS provisoner and Docker Registry" 2017-11-01 18:06:11 +00:00
intlabs
308f8a2121 Calico: Add basic dependency checks and rbac support
This PS update the calico chart and deployment to use
Kubernetes entrypoint, and apply appropriate RBAC rules to
the pods.

Change-Id: I9d875f50c4767b6714a4931b9ade0a6f94b533c2
2017-11-01 16:52:52 +00:00
intlabs
fd683f4241 Chart Runner: Add NFS provisoner and Docker Registry
This PS adds the NFS provisioner and Docker Registry to the OSH-Infra Repo,
these are being used as initial candidates for moving as they are simple
charts and allow the chart runner logic to be developed in the gate
playbooks.

Change-Id: Ie80b8578aafd3fe7252d3dcb603ea6af7586776e
2017-11-01 11:40:09 -05:00
intlabs
bdad21fd14 Kubernetes: widen nodeport range and serve statistics
This PS widens the range for nodeports, allowing standard OpenStack
ports to be used if desired for ingress.

Additionally the controller manager is set to serve statistics on the
standard port.

Change-Id: Id6549e90491a79c1ac6830a1324db7f13c88ea13
2017-11-01 11:32:51 -05:00
intlabs
1d3634237f KubeADM-AIO: Fix centos deployment bridge-nf-call-iptables check
This PS resolves an issue with CentOS deployment of the kubelet by
ensuring that `bridge-nf-call-iptables` is enabled.

Change-Id: Ic84f8a2a8c02b2557ea310e16b83426050f928d8
2017-10-26 19:32:49 -05:00
intlabs
bd85bad919 Zuul V3 gate
This PS sets up the V3 gate for openstack-helm-infra.

Change-Id: I07ffa591cb5e08f5e2f1f5cbc94e810c3aa1f97b
2017-10-24 20:27:34 -05:00