Add k8sw1 to rook and remove k8sc3 from deployment.
This commit is contained in:
parent
5aef290639
commit
f8fc2ab777
|
@ -13,6 +13,7 @@ resource "openstack_networking_port_v2" "kubecport" {
|
|||
data.openstack_networking_secgroup_v2.sshfromjumphosts.id,
|
||||
data.openstack_networking_secgroup_v2.allegress.id,
|
||||
resource.openstack_networking_secgroup_v2.microk8s.id,
|
||||
resource.openstack_networking_secgroup_v2.microk8s-dco.id,
|
||||
resource.openstack_networking_secgroup_v2.https.id
|
||||
]
|
||||
admin_state_up = "true"
|
||||
|
@ -35,7 +36,8 @@ resource "openstack_compute_instance_v2" "controller-nodes" {
|
|||
security_groups = [
|
||||
data.openstack_networking_secgroup_v2.sshfromjumphosts.name,
|
||||
data.openstack_networking_secgroup_v2.allegress.name,
|
||||
resource.openstack_networking_secgroup_v2.microk8s.name,
|
||||
resource.openstack_networking_secgroup_v2.microk8s.id,
|
||||
resource.openstack_networking_secgroup_v2.microk8s-dco.id,
|
||||
resource.openstack_networking_secgroup_v2.https.name
|
||||
]
|
||||
block_device {
|
||||
|
|
|
@ -42,8 +42,14 @@ variable "workerdcreplicas" {
|
|||
default = "2"
|
||||
}
|
||||
|
||||
# Replicas per datacenter
|
||||
variable "controllerdcreplicas" {
|
||||
default = "2"
|
||||
}
|
||||
|
||||
|
||||
variable "controller_instance_count" {
|
||||
default = "3"
|
||||
default = "2"
|
||||
}
|
||||
|
||||
variable "controller_instance_type" {
|
||||
|
|
|
@ -239,7 +239,7 @@ spec:
|
|||
storage: # cluster level storage configuration and selection
|
||||
useAllNodes: false
|
||||
nodes:
|
||||
# - name: k8sw1
|
||||
- name: k8sw1
|
||||
- name: k8sw2
|
||||
- name: k8sw3
|
||||
- name: k8sw4
|
||||
|
|
Loading…
Reference in a new issue