File tree Expand file tree Collapse file tree 2 files changed +24
-14
lines changed Expand file tree Collapse file tree 2 files changed +24
-14
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,16 @@ output "orm_private_endpoint_oke_api_ip_address" {
33
33
]
34
34
}
35
35
36
+ # OKE info
37
+ output "oke_cluster_ocid" {
38
+ value = var. create_new_oke_cluster ? oci_containerengine_cluster. oke_cluster [0 ]. id : " "
39
+ description = " OKE Cluster OCID"
40
+ }
41
+ output "oke_cluster_compartment_ocid" {
42
+ value = local. oke_compartment_ocid
43
+ description = " Compartment OCID used by the OKE Cluster"
44
+ }
45
+
36
46
# OKE VCN info
37
47
output "oke_vcn_ocid" {
38
48
value = var. create_new_oke_cluster ? oci_core_virtual_network. oke_vcn [0 ]. id : " " # TODO: Include selected VCN for private endpoint or Existent VCN
@@ -81,4 +91,4 @@ output "generated_private_key_pem" {
81
91
82
92
# output "oke_debug_oke_endpoints" {
83
93
# value = oci_containerengine_cluster.oke_cluster.0.endpoints
84
- # }
94
+ # }
Original file line number Diff line number Diff line change @@ -92,18 +92,18 @@ variable "cluster_autoscaler_enabled" {
92
92
default = true
93
93
description = " Enables OKE cluster autoscaler. Node pools will auto scale based on the resources usage"
94
94
}
95
- variable "cluster_autoscaler_min_nodes" {
96
- default = 3
97
- description = " Minimum number of nodes on the node pool to be scheduled by the Kubernetes"
98
- }
99
- variable "cluster_autoscaler_max_nodes" {
100
- default = 10
101
- description = " Maximum number of nodes on the node pool to be scheduled by the Kubernetes"
102
- }
103
- variable "existent_oke_nodepool_id_for_autoscaler" {
104
- default = " "
105
- description = " Nodepool Id of the existent OKE to use with Cluster Autoscaler"
106
- }
95
+ # variable "cluster_autoscaler_min_nodes" {
96
+ # default = 3
97
+ # description = "Minimum number of nodes on the node pool to be scheduled by the Kubernetes"
98
+ # }
99
+ # variable "cluster_autoscaler_max_nodes" {
100
+ # default = 10
101
+ # description = "Maximum number of nodes on the node pool to be scheduled by the Kubernetes"
102
+ # }
103
+ # variable "existent_oke_nodepool_id_for_autoscaler" {
104
+ # default = ""
105
+ # description = "Nodepool Id of the existent OKE to use with Cluster Autoscaler"
106
+ # }
107
107
108
108
# # OKE Node Pool Details
109
109
variable "node_pool_name" {
@@ -112,7 +112,7 @@ variable "node_pool_name" {
112
112
}
113
113
variable "k8s_version" {
114
114
default = " Latest"
115
- description = " Kubernetes version installed on your master and worker nodes "
115
+ description = " Kubernetes version installed on your Control Plane "
116
116
}
117
117
variable "num_pool_workers" {
118
118
default = 3
You can’t perform that action at this time.
0 commit comments