kubernetes

dtoch56/kubernetes/yandex

Terraform Module HCL YANDEX

A terraform module to create a managed Kubernetes cluster on Yandex Cloud.

Install
module "kubernetes" {
source = "dtoch56/kubernetes/yandex"
version = "0.0.1"
}
plain text: /constructs/tfmod-dtoch56-kubernetes-yandex/install.txt
⭐ Source on GitHub 📦 Registry page
README

Yandex.Cloud Kubernetes module Creates a Kubernetes Cluster in Yandex.Cloud. Basic example To create a Kubernetes cluster named my-k8s in Yandex.Cloud with folder id xxx000xxx000xxx000xx: ``hcl module "kubernetes" { source = "dtoch56/kubernetes/yandex" folder_id = "xxx000xxx000xxx000xx" name = "my-k8s-cluster" } ` Requirements | Name | Version | |-------------------------------------------------|---------| | terraform | >= 1.2 | Providers | Name | Version | |-----------------------------------------------------------------------------------------|---------| | yandex-cloud | >= 0.75 | Modules No modules. Resources | Name | Type | |------------------------------------------------------------------------------------------------------------------------------------------------------------------

Inputs (33)
NameTypeDescriptionDefault
network_idstringThe ID of the cluster network. required
master_locationslist(object({ zone = List of locations where cluster will be created. If list contains only one locat required
folder_idstringThe ID of the folder that the Kubernetes cluster belongs to. required
master_security_group_idsset(string)List of security group IDs to which the Kubernetes cluster belongs.null
namestringName of a specific Kubernetes cluster.null
master_auto_upgradeboolBoolean flag that specifies if master can be upgraded automatically. true
local_subnet_rangeslist(string)[]
service_ipv4_rangestringCIDR block. IP range Kubernetes service Kubernetes cluster IP addresses will be null
service_account_idstringID of existing service account to be used for provisioning Compute Cloud and VPCnull
node_service_account_idstringID of service account to be used by the worker nodes of the Kubernetes cluster tnull
node_service_account_namestringName of service account to create to be used by the worker nodes of the Kubernetnull
master_regionstringName of region where cluster will be created. Required for regional cluster, notnull
node_groups_default_ssh_keysmap(list(string))Map containing SSH keys to install on all Kubernetes node servers by default. {}
node_groups_locationsmap(list(object({ subnet_iLocations of Kubernetes node groups. Use it to override default locations of cer{}
kms_rotation_periodstringInterval between automatic rotations."8760h"
cluster_ipv6_rangestringIdentical to cluster_ipv4_range but for IPv6 protocol.null
ingress_ipsmap(object({ zone List of static IPs to create for Kubernetes ingress controllers{}
master_public_ipboolBoolean flag. When true, Kubernetes master will have visible ipv4 address.true
master_maintenance_windowslist(map(string)) List of structures that specifies maintenance windows, when auto update for []
whitelist_ipslist(string)List of VPN IPs to access k8s cluster[]
cluster_ipv4_rangestringCIDR block. IP range for allocating pod addresses. It should not overlap with annull
release_channelstringCluster release channel."STABLE"
network_policy_providerstringNetwork policy provider for the cluster. Possible values: CALICO.null
Outputs (8)
ingress_ips — IPs form kubernetes ingress controllers
external_v4_endpoint — An IPv4 external network address that is assigned to the master.
internal_v4_endpoint — An IPv4 internal network address that is assigned to the master.
cluster_ca_certificate — PEM-encoded public certificate that is the root of trust for the Kubernetes cluster.
cluster_id — ID of a new Kubernetes cluster.
node_groups — Attributes of yandex_node_group resources created in cluster
service_account_id — ID of service account used for provisioning Compute Cloud and VPC resources for Kubernetes cluster
node_service_account_id — ID of service account to be used by the worker nodes of the Kubernetes cluster to access Container R
Resources (7)
yandex_iam_service_accountyandex_kms_symmetric_keyyandex_kubernetes_clusteryandex_kubernetes_node_groupyandex_resourcemanager_folder_iam_memberyandex_vpc_addressyandex_vpc_security_group
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud YANDEX
★ Stars0
Forks0
Total downloads144
Inputs33
Outputs8
Resources7
Examples2
LicenseApache-2.0
Namespacedtoch56
Updated