Last active
May 10, 2024 08:41
-
-
Save richardmoe/a05dbb8f000bffbb5de57f0396a9092c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_gkeonprem_vmware_cluster" "gkee_onprem_cluster" { | |
admin_cluster_membership = "projects/464094393805/locations/global/memberships/gke-admin-cm676" | |
annotations = {} | |
create_time = "2024-04-19T07:04:50.326299440Z" | |
delete_time = null | |
description = "Onprem cluster deployed in VmWare by Terraform" | |
disable_bundled_ingress = true | |
effective_annotations = { | |
"onprem.cluster.gke.io/block-docker-node-pools" = "true" | |
"onprem.cluster.gke.io/error-reason" = null | |
"onprem.cluster.gke.io/gke-on-prem-last-update-start-time" = "2024-04-29T10:29:09Z" | |
"onprem.cluster.gke.io/operation" = "upgrade" | |
"onprem.cluster.gke.io/operation-id" = "f8bcfef4-b117-4e22-8e2f-c9e2e448d614" | |
"onprem.cluster.gke.io/source" = "api-vmware" | |
"onprem.cluster.gke.io/start-time" = "2024-04-29T11:26:54Z" | |
"onprem.cluster.gke.io/status" = "started" | |
"onprem.cluster.gke.io/user-cluster-resource-link" = "//gkeonprem.googleapis.com/projects/464094393805/locations/europe-west3/vmwareClusters/gkee-plattform-lab" | |
} | |
enable_control_plane_v2 = true | |
endpoint = "10.252.242.97" | |
etag = "redacted" | |
fleet = [ | |
{ | |
membership = "projects/464094393805/locations/europe-west3/memberships/gkee-plattform-lab" | |
}, | |
] | |
id = "projects/nrk-platt-gke-enterprise-test/locations/europe-west3/vmwareClusters/gkee-plattform-lab" | |
local_name = "gkee-plattform-lab" | |
location = "europe-west3" | |
name = "gkee-plattform-lab" | |
on_prem_version = "1.28.400-gke.75" | |
project = "nrk-platt-gke-enterprise-test" | |
reconciling = false | |
state = "RUNNING" | |
status = [ | |
{ | |
conditions = [ | |
{ | |
last_transition_time = "2024-04-29T10:31:40Z" | |
message = "Server side preflight checks succeeded" | |
reason = "ServerSidePreflightSucceeded" | |
state = "STATE_TRUE" | |
type = "ServerSidePreflightReady" | |
}, | |
{ | |
last_transition_time = "2024-04-29T10:55:01Z" | |
message = "Node pools are running" | |
reason = "NodePoolsRunning" | |
state = "STATE_TRUE" | |
type = "NodePoolsReady" | |
}, | |
{ | |
last_transition_time = "2024-04-29T10:58:24Z" | |
message = "Cluster is running" | |
reason = "ClusterRunning" | |
state = "STATE_TRUE" | |
type = "Ready" | |
}, | |
{ | |
last_transition_time = "2024-04-19T14:47:08Z" | |
message = "Control plane is running" | |
reason = "ControlPlaneRunning" | |
state = "STATE_TRUE" | |
type = "ControlPlaneReady" | |
}, | |
{ | |
last_transition_time = "2024-04-19T08:35:48Z" | |
message = "Control plane has CA bundle [1], certs from CA 1, CA 1 is CSR signer. Data plane has CA bundle [1], CA 1 was CSR signer at last restart. Last Leaf Certificates Rotation Version: 1.28.300-gke.123." | |
reason = "CARotationCompleted" | |
state = "STATE_TRUE" | |
type = "CAReady" | |
}, | |
{ | |
last_transition_time = "2024-04-19T08:35:48Z" | |
message = jsonencode( | |
{ | |
privateKeyVersion = 1 | |
publicKeyVersions = [ | |
1, | |
] | |
tokenVersion = 1 | |
} | |
) | |
reason = "KSASigningKeyRotationCompleted" | |
state = "STATE_TRUE" | |
type = "KSASigningKeyReady" | |
}, | |
{ | |
last_transition_time = "2024-04-19T14:46:14Z" | |
message = "Control plane node is running" | |
reason = "MasterNodeRunning" | |
state = "STATE_TRUE" | |
type = "MasterNodeReady" | |
}, | |
{ | |
last_transition_time = "2024-04-29T10:57:59Z" | |
message = "Addons are running" | |
reason = "AddonsRunning" | |
state = "STATE_TRUE" | |
type = "AddonsReady" | |
}, | |
{ | |
last_transition_time = "2024-04-19T08:38:37Z" | |
message = "Cluster registered" | |
reason = "ClusterRegistered" | |
state = "STATE_TRUE" | |
type = "RegistrationReady" | |
}, | |
] | |
error_message = null | |
}, | |
] | |
uid = "ca3b54d3-1f6a-4d5e-9571-4cbbd6155efa" | |
update_time = "2024-04-29T11:27:00.539828602Z" | |
validation_check = [ | |
{ | |
options = null | |
scenario = "UPDATE" | |
status = [] | |
}, | |
] | |
vm_tracking_enabled = false | |
anti_affinity_groups { | |
aag_config_disabled = false | |
} | |
authorization { | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
admin_users { | |
username = "redacted@nrk.no" | |
} | |
} | |
auto_repair_config { | |
enabled = true | |
} | |
control_plane_node { | |
cpus = 4 | |
memory = 8196 | |
replicas = 3 | |
vsphere_config = [ | |
{ | |
datastore = "IPLAB_NFSDATASTORE" | |
storage_policy_name = null | |
}, | |
] | |
auto_resize_config { | |
enabled = true | |
} | |
} | |
dataplane_v2 { | |
advanced_networking = true | |
dataplane_v2_enabled = true | |
windows_dataplane_v2_enabled = true | |
} | |
load_balancer { | |
metal_lb_config { | |
address_pools { | |
addresses = [ | |
"10.252.242.98-10.252.242.126", | |
] | |
avoid_buggy_ips = true | |
manual_assign = false | |
pool = "gke-usercluster1-lab-lb-pool" | |
} | |
} | |
vip_config { | |
control_plane_vip = "10.252.242.97" | |
ingress_vip = null | |
} | |
} | |
network_config { | |
pod_address_cidr_blocks = [ | |
"10.124.0.0/16", | |
] | |
service_address_cidr_blocks = [ | |
"192.168.20.0/22", | |
] | |
vcenter_network = "IP-LAB/gke-usercluster1-lab" | |
control_plane_v2_config { | |
control_plane_ip_block { | |
gateway = "10.252.242.1" | |
netmask = "255.255.255.128" | |
ips { | |
hostname = "gkee-plattform-lab-control-plane-01" | |
ip = "10.252.242.5" | |
} | |
ips { | |
hostname = "gkee-plattform-lab-control-plane-02" | |
ip = "10.252.242.6" | |
} | |
ips { | |
hostname = "gkee-plattform-lab-control-plane-03" | |
ip = "10.252.242.7" | |
} | |
} | |
} | |
dhcp_ip_config { | |
enabled = true | |
} | |
host_config { | |
dns_search_domains = [] | |
dns_servers = [ | |
"10.252.243.2", | |
"10.252.243.3", | |
] | |
ntp_servers = [ | |
"ntp.uio.no", | |
] | |
} | |
} | |
storage { | |
vsphere_csi_disabled = false | |
} | |
timeouts { | |
create = "120m" | |
delete = "120m" | |
update = "120m" | |
} | |
upgrade_policy { | |
control_plane_only = false | |
} | |
vcenter { | |
address = "malabvc01.vmware.nrk.cloud" | |
ca_cert_data = <<-EOT | |
redacted | |
EOT | |
cluster = "IP-LAB" | |
datacenter = "Marienlyst" | |
datastore = "IPLAB_NFSDATASTORE" | |
folder = "/Marienlyst/vm/IP-LAB" | |
resource_pool = "IP-LAB/Resources" | |
storage_policy_name = null | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment