aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles
AgeCommit message (Collapse)AuthorFilesLines
2018-03-09Merge "add a multus with sriov interfaces installation"Justin chi12-17/+546
2018-03-08add a multus with sriov interfaces installationDi Xu12-17/+546
Support deploying multus sriov CNI plugins by setting environment "kube_network_plugin" to "sriov". Change-Id: I3672fd7b6036063bdee57450c2100f39aa5ef68b Signed-off-by: Di Xu <di.xu@arm.com>
2018-03-06Add git package for k8s deploymentYifei Xue2-1/+2
JIRA: - Ks8 deployment doesn't install git, this will cause failure in Stor4nfv scenarios. So proposing this patch to solve this. Change-Id: I98ab0b3a2a5f46eb1eebd4ea94fb60ccafe10272 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-03-02move the update cache after role of setup-k8s-networkwutianwei2-3/+1
If don't setup network, the host cannot connect to the Internet on baremetal pod. So we should update cache after setting the network. Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-27Enable CSI plugin for Stor4nfv scenarioYifei Xue1-0/+18
JIRA: - Add some configurations to enable CSI plugin in k8s v1.9 which is used by Stor4nfv scenario. Change-Id: I78e0b39f31ff666eace50921c691107154dcb249 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-02-13add a multus with 2 fannel interfaces installationDi Xu8-1/+490
Support deploying multus multiple flannel CNI plugins by setting environment "kube_network_plugin" to "2flannel". Change-Id: I23a3d42452b4a5e0858a18934f508649f5961e7a Signed-off-by: Di Xu <di.xu@arm.com>
2018-02-09change k8s version to v1.9.1hu xinhui3-0/+12
JIRA: - 1. compass4nfv can deploy v1.9.1 kubernetes 2. end user can use the kubernetes dashboard Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-27Merge "Use run_dir instead of hard coding"HU Xinhui1-1/+1
2018-01-24spport k8s apiserver HAhu xinhui15-1/+329
compass installer deploy k8s using kubespray for default, but k8s apiserver HA is not implemented by kubespray, This patch aim is to achieve the k8s apiserver HA Change-Id: I805b5eb2f4efa7ca82fcef7bfd3f4cad35ed65b5 JIRA: - Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-23Use run_dir instead of hard codingHarry Huang1-1/+1
Cluster name now can be set in DHA file which makes ansible dir changeable. Use run_dir variable to point to correct dir. Change-Id: I673b0b472b86ce505a8ea29ce4fb3666b4b991bd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-11Fetch kubernetes admin.conf for testwutianwei1-0/+16
from kube_master fetch the admin.conf to the directory /opt/admin.conf of compass-tasks docker Change-Id: I1c236414c968f721d04fb6da0dc7a9514c892f93 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-10deploy/k8s: support k8s deployment on aarch64Yibo Cai3-1/+50
Kubespray default variables are for x86_64. To support deploying AArch64 node, many variables must be redefined. This patch adds a file to override default kubespray variables, so we can track all changes in compass4nfv code. Change-Id: Ic6180ea9c50302d1a6cef1e0e7a3abea6699ef55 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-23Merge "Support the scenario for installing kubernetes in ubuntu system"Yifei Xue10-57/+225
2017-11-14Support the scenario for installing kubernetes in ubuntu systemhu xinhui10-57/+225
JIRA: - Currently we only support the the scenario for installing kubernetes in centos system. This patch is to install kubernetes in ubuntu system Change-Id: Idc5eafea5d02c28c62a31e4c29451b8c5aaf1fd5 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-11-09k8s: add package repo for aarch64Yibo Cai4-2/+52
Use architecture specific repo if available, otherwise fallback to default(x86_64) repo. Change-Id: I82f483494827564ae0e294d0c88c4080338c5634 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-10-26 k8s support the helm.hu xinhui2-0/+8
JIRA: - Change-Id: I8ee06225c32c59a5678a666c47da95f96963dec8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-30Modification for kargo to generate dynamic inventoryhu xinhui2-26/+62
JIRA: - There is some hardcode for kargo inventory.This patch is to generate dynamic inventory for kargo Change-Id: If4a7c5f973e520e4ca24c3c9e0bfa97725a5a44c Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-08Add k8s supporthu xinhui22-0/+786
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>