diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2018-01-31 22:04:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-31 22:04:46 +0000 |
commit | 0e273720d13a63b7f749d1cf427ff8ec38463acb (patch) | |
tree | 786ed301780c1e6a575c25fab40b0b1908095698 /xci/installer/kubespray/files/ha | |
parent | f3f08ae0fd69b26cac46351599b434c3312351bd (diff) | |
parent | b1b71ac7132ff5ccebcfac8ca2bb2f7540025b13 (diff) |
Merge "deploy kubernetes in XCI"
Diffstat (limited to 'xci/installer/kubespray/files/ha')
-rw-r--r-- | xci/installer/kubespray/files/ha/inventory/group_vars/all.yml | 8 | ||||
-rw-r--r-- | xci/installer/kubespray/files/ha/inventory/inventory.cfg | 32 |
2 files changed, 40 insertions, 0 deletions
diff --git a/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml b/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml new file mode 100644 index 00000000..d1b946a7 --- /dev/null +++ b/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml @@ -0,0 +1,8 @@ +--- +loadbalancer_apiserver: + address: 192.168.122.222 + port: 8383 + +apiserver_loadbalancer_domain_name: 192.168.122.222 +supplementary_addresses_in_ssl_keys: + - 192.168.122.222 diff --git a/xci/installer/kubespray/files/ha/inventory/inventory.cfg b/xci/installer/kubespray/files/ha/inventory/inventory.cfg new file mode 100644 index 00000000..aae36329 --- /dev/null +++ b/xci/installer/kubespray/files/ha/inventory/inventory.cfg @@ -0,0 +1,32 @@ +[all] +opnfv ansible_host=192.168.122.2 ip=192.168.122.2 +master1 ansible_host=192.168.122.3 ip=192.168.122.3 +master2 ansible_host=192.168.122.4 ip=192.168.122.4 +master3 ansible_host=192.168.122.5 ip=192.168.122.5 +node1 ansible_host=192.168.122.6 ip=192.168.122.6 +node2 ansible_host=192.168.122.7 ip=192.168.122.7 + +[kube-master] +master1 +master2 +master3 + +[kube-node] +node1 +node2 + +[etcd] +master1 +master2 +master3 + +[k8s-cluster:children] +kube-node +kube-master + +[calico-rr] + +[vault] +master1 +master2 +master3 |