You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform-provider-decort/docs/resources/k8s.md

7.2 KiB

page_title subcategory description
decort_k8s Resource - terraform-provider-decort

decort_k8s (Resource)

Schema

Required

  • k8sci_id (Number) ID of the k8s catalog item to base this instance on.
  • name (String) Name of the cluster.
  • network_plugin (String) Network plugin to be used
  • rg_id (Number) Resource group ID that this instance belongs to.
  • wg_name (String) Name for first worker group created with cluster.

Optional

  • additional_sans (List of String) Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names
  • annotations (List of String)
  • cloud_init (String) Meta data for working group computes, format YAML 'user_data': 1111
  • cluster_config (String) is used to define global settings and configurations for the entire cluster. It includes parameters such as cluster name, DNS settings, authentication methods, and other cluster-wide configurations. insert a valid JSON string with all levels of nesting.
  • desc (String) Text description of this instance.
  • extnet_id (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
  • extnet_only (Boolean) Use only selected ExtNet for infrastructure connections
  • ha_mode (Boolean) Use Highly Available schema for LB deploy
  • init_config (String) is used to define settings and actions that should be performed before any other component in the cluster starts. It allows you to configure things like node registration, network setup, and other initialization tasks. insert a valid JSON string with all levels of nesting.
  • join_config (String) is used to configure the behavior and settings for joining a node to a cluster. It includes parameters such as the cluster's control plane endpoint, token, and certificate key. insert a valid JSON string with all levels of nesting.
  • kube_proxy_config (String) is used to configure the behavior and settings of the Kube-proxy, which is responsible for network proxying and load balancing within the cluster. It includes parameters such as proxy mode, cluster IP ranges, and other Kube-proxy specific configurations. insert a valid JSON string with all levels of nesting.
  • kubelet_config (String) is used to configure the behavior and settings of the Kubelet, which is the primary node agent that runs on each node in the cluster. It includes parameters such as node IP address, resource allocation, pod eviction policies, and other Kubelet-specific configurations. insert a valid JSON string with all levels of nesting.
  • labels (List of String)
  • lb_sysctl_params (List of Map of String) Custom sysctl values for Load Balancer instance. Applied on boot.
  • masters (Block List, Max: 1) Master node(s) configuration. (see below for nested schema)
  • oidc_cert (String) insert ssl certificate in x509 pem format
  • permanently (Boolean) Determines if cluster should be destroyed
  • start (Boolean) Start k8s cluster
  • taints (List of String)
  • timeouts (Block, Optional) (see below for nested schema)
  • vins_id (Number) ID of default vins for this instace.
  • with_lb (Boolean) Create k8s with load balancer if true.
  • workers (Block List) Worker node(s) configuration. (see below for nested schema)

Read-Only

  • account_id (Number)
  • account_name (String)
  • acl (List of Object) (see below for nested schema)
  • bservice_id (Number)
  • created_by (String)
  • created_time (Number)
  • default_wg_id (Number) ID of default workers group for this instace.
  • deleted_by (String)
  • deleted_time (Number)
  • id (String) The ID of this resource.
  • k8s_ci_name (String)
  • kubeconfig (String) Kubeconfig for cluster access.
  • lb_id (Number)
  • lb_ip (String) IP address of default load balancer.
  • rg_name (String)
  • status (String)
  • tech_status (String)
  • updated_by (String)
  • updated_time (Number)

Nested Schema for masters

Required:

  • cpu (Number) Node CPU count.
  • disk (Number) Node boot disk size in GB.
  • num (Number) Number of nodes to create. Can be either 1, 3 or 5
  • ram (Number) Node RAM in MB.

Optional:

  • sep_id (Number)
  • sep_pool (String)

Read-Only:

Nested Schema for masters.detailed_info

Read-Only:

  • compute_id (Number)
  • interfaces (List of Object) (see below for nested schema)
  • name (String)
  • natable_vins_ip (String)
  • natable_vins_network (String)
  • status (String)
  • tech_status (String)

Nested Schema for masters.detailed_info.interfaces

Read-Only:

  • def_gw (String)
  • ip_address (String)

Nested Schema for timeouts

Optional:

  • create (String)
  • default (String)
  • delete (String)
  • read (String)
  • update (String)

Nested Schema for workers

Required:

  • cpu (Number)
  • disk (Number)
  • name (String)
  • num (Number)
  • ram (Number)

Optional:

  • annotations (List of String)
  • labels (List of String)
  • sep_id (Number)
  • sep_pool (String)
  • taints (List of String)

Read-Only:

Nested Schema for workers.detailed_info

Read-Only:

  • compute_id (Number)
  • interfaces (List of Object) (see below for nested schema)
  • name (String)
  • natable_vins_ip (String)
  • natable_vins_network (String)
  • status (String)
  • tech_status (String)

Nested Schema for workers.detailed_info.interfaces

Read-Only:

  • def_gw (String)
  • ip_address (String)

Nested Schema for acl

Read-Only:

Nested Schema for acl.account_acl

Read-Only:

  • explicit (Boolean)
  • guid (String)
  • right (String)
  • status (String)
  • type (String)
  • user_group_id (String)

Nested Schema for acl.k8s_acl

Read-Only:

  • explicit (Boolean)
  • guid (String)
  • right (String)
  • status (String)
  • type (String)
  • user_group_id (String)

Nested Schema for acl.rg_acl

Read-Only:

  • explicit (Boolean)
  • guid (String)
  • right (String)
  • status (String)
  • type (String)
  • user_group_id (String)