Skip to content

terraform-navercloudplatform-modules/terraform-ncloud-kubernetes-cluster-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
ncloud n/a

Modules

No modules.

Resources

Name Type
ncloud_nks_cluster.nks_cluster resource

Inputs

Name Description Type Default Required
cluster_type (Required) Cluster type. Maximum number of nodes
XEN / RHV
10 ea : SVR.VNKS.STAND.C002.M008.NET.SSD.B050.G002
50 ea : SVR.VNKS.STAND.C004.M016.NET.SSD.B050.G002
string n/a yes
hypervisor_code (Optional) Hypervisor code. XEN(Default), RHV string "RHV" no
ip_acl (Optional) IP ACL. Supported on public, gov site
list(object({
action = string
address = string
comment = optional(string)
}))
null no
ip_acl_default_action (Optional) IP ACL default action. allow, deny string "deny" no
k8s_version (Optional) Kubenretes version. Only upgrade is supported. string null no
kube_network_plugin (Optional) Specifies the network plugin. Only Cilium is supported. string "Cilium" no
lb_private_subnet_no (Required) Subnet No. for private loadbalancer only. string n/a yes
lb_public_subnet_no (Optional) Subnet No. for public loadbalancer only. (Required in KR, SG, JP regions in public site) string null no
log (Optional) Log configuration.
object({
audit = bool
})
null no
login_key_name (Required) Login key name. string n/a yes
name (Required) Cluster name. string n/a yes
oidc (Optional) OIDC configuration.
- issuer_url - (Required) Issuer URL.
- client_id - (Required) Client ID.
- username_prefix - (Optional) Username prefix.
- username_claim - (Optional) Username claim.
- groups_prefix - (Optional) Groups prefix.
- groups_claim - (Optional) Groups claim.
- required_claim - (Optional) Required claim.
object({
issuer_url = string
client_id = string
username_prefix = optional(string)
username_claim = optional(string)
groups_prefix = optional(string)
groups_claim = optional(string)
required_claim = optional(string)
})
null no
public_network (Optional) Public Subnet Network (boolean) bool false no
subnet_no_list (Required) Subnet No. list. list(string) n/a yes
vpc_no (Required) VPC No. string n/a yes
zone (Required) zone Code. string n/a yes

Outputs

Name Description
acg_no The ID of cluster ACG.
endpoint Control Plane API address.
id Cluster id.
uuid Cluster uuid. (It is the same result as id)