From 20779df6860dc2baf66a9cfd10c54d82e7570da2 Mon Sep 17 00:00:00 2001 From: ArchiFleKs Date: Wed, 17 Jan 2018 19:02:02 +0100 Subject: [PATCH] remove kube-node from master node by default --- contrib/terraform/openstack/modules/compute/main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/terraform/openstack/modules/compute/main.tf b/contrib/terraform/openstack/modules/compute/main.tf index d35459fce..e0a8eab4a 100644 --- a/contrib/terraform/openstack/modules/compute/main.tf +++ b/contrib/terraform/openstack/modules/compute/main.tf @@ -107,7 +107,7 @@ resource "openstack_compute_instance_v2" "k8s_master" { metadata = { ssh_user = "${var.ssh_user}" - kubespray_groups = "etcd,kube-master,kube-node,k8s-cluster,vault" + kubespray_groups = "etcd,kube-master,k8s-cluster,vault" depends_on = "${var.network_id}" } @@ -130,7 +130,7 @@ resource "openstack_compute_instance_v2" "k8s_master_no_etcd" { metadata = { ssh_user = "${var.ssh_user}" - kubespray_groups = "kube-master,kube-node,k8s-cluster,vault" + kubespray_groups = "kube-master,k8s-cluster,vault" depends_on = "${var.network_id}" } @@ -175,7 +175,7 @@ resource "openstack_compute_instance_v2" "k8s_master_no_floating_ip" { metadata = { ssh_user = "${var.ssh_user}" - kubespray_groups = "etcd,kube-master,kube-node,k8s-cluster,vault,no-floating" + kubespray_groups = "etcd,kube-master,k8s-cluster,vault,no-floating" depends_on = "${var.network_id}" } @@ -198,7 +198,7 @@ resource "openstack_compute_instance_v2" "k8s_master_no_floating_ip_no_etcd" { metadata = { ssh_user = "${var.ssh_user}" - kubespray_groups = "kube-master,kube-node,k8s-cluster,vault,no-floating" + kubespray_groups = "kube-master,k8s-cluster,vault,no-floating" depends_on = "${var.network_id}" }