mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-13 22:39:06 +02:00
Add oke and nlb to managed cluster
This commit is contained in:
@@ -30,3 +30,27 @@ module "snet" {
|
||||
vcn_nat_route_id = module.vcn.vcn_nat_route_table_id
|
||||
vcn_ig_route_id = module.vcn.vcn_ig_route_table_id
|
||||
}
|
||||
|
||||
module "oke" {
|
||||
source = "./oke"
|
||||
|
||||
compartment_ocid = var.compartment_ocid
|
||||
cluster_name = var.cluster_name
|
||||
environment = var.environment
|
||||
|
||||
vcn_id = module.vcn.vcn_id
|
||||
vcn_public_subnet_id = module.snet.public_subnet_id
|
||||
vcn_private_subnet_id = module.snet.private_subnet_id
|
||||
node_availability_domains = [var.availability_domain]
|
||||
node_pool_size = var.node_pool_size
|
||||
ssh_public_key = var.public_key_path
|
||||
}
|
||||
|
||||
module "nlb" {
|
||||
source = "./nlb"
|
||||
|
||||
compartment_ocid = var.compartment_ocid
|
||||
cluster_ocid = module.oke.cluster_ocid
|
||||
cluster_public_endpoint = module.oke.public_endpoint
|
||||
values_file = "traefik-values.yaml"
|
||||
}
|
||||
|
Reference in New Issue
Block a user