Skip to main content
Version: v1.8

Gcp-Gke-Ecommerce

Description

Google Kubernetes Engine starter kit to bootstrap an e-commerce site based on microservices

Specification

Properties

NameDescriptionTypeRequiredDefault
boot_disk_kms_keyCloudKMS key_name to use to encrypt the nodes boot disk. Default: null (encryption disabled)stringfalse
cluster_ipv4_cidr_blockIPv4 CIDR Block for Kubernetes Podsstringfalse
cluster_name_suffixA suffix to append to the default cluster namestringfalse
daily_maintenance_window_startTime window specified for daily maintenance operations in RFC3339 formatstringfalse
database_encryptionApplication-layer Secrets Encryption settings. The object format is {state = string, key_name = string}. Valid values of state are: "ENCRYPTED"; "DECRYPTED". key_name is the name of a CloudKMS key.object({ state = string, key_name = string })false
enable_hpaToggles horizontal pod autoscaling addon. Default: trueboolfalse
enable_netpolToggles network policies enforcement feature. Default: falseboolfalse
environmentThe environment namestringfalse
gke_auto_max_countThe maximum number of VMs in the pool per zone (zones) as it is a regional clusternumberfalse
gke_auto_min_countThe minimum number of VMs in the pool per group (zones) as it is a regional clusternumberfalse
gke_initial_node_countThe initial number of VMs in the pool per group (zones) as it is a regional clusternumberfalse
gke_instance_typeThe worker instance typestringfalse
gke_max_surgeThe number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater.stringfalse
gke_max_unavailableThe number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater.stringfalse
gke_preemptibleGKE Preemtible nodesboolfalse
icmp_idle_timeout_secTimeout (in seconds) for ICMP connections. Defaults to 30s if not set.stringfalse
kubelet_configNode kubelet configuration. Possible values can be found at https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-optionsobject({\n cpu_manager_policy = string,\n cpu_cfs_quota = bool,\n cpu_cfs_quota_period = string\n })false
master_ipv4_cidr_blockIPv4 CIDR Block for Master Nodesstringfalse
min_kubernetes_versionThe Kubernetes MINIMUM version of the masters. GCP can perform upgrades, there is no max_version field. If set to 'latest' it will pull latest available version in the selected region.stringfalse
min_ports_per_vmMax number of concurrent outgoing request to IP:PORT_PROTOCOL per VMstringfalse
nat_ip_countThe number of NAT IPsnumberfalse
netpol_providerSets the network policy provider. Default: CALICOstringfalse
node_auto_repairWhether the nodes will be automatically repairedboolfalse
node_auto_upgradeWhether the nodes will be automatically upgradedboolfalse
node_pool_disk_sizeDisk Size for GKE Nodesnumberfalse
node_pool_disk_typeDisk type for GKE nodes. Available values: pd-stadard, pd-ssd.Default: pd-standardstringfalse
project_idThe project ID to host the cluster in (required)stringtrue
project_name_overrideOverride project name prefix used in all the resourcesstringfalse
regionThe region to host the cluster in. Default: us-central1stringfalse
regionalWhether is a regional cluster (zonal cluster if set false. WARNING: changing this after cluster creation is destructive!)boolfalse
release_channelThe release channel of this cluster. Accepted values are UNSPECIFIED, RAPID, REGULAR and STABLE. Defaults to UNSPECIFIED.stringfalse
services_ipv4_cidr_blockIPv4 CIDR Block for Kubernetes servicesstringfalse
subnet_ip_cidr_rangeIPv4 CIDR Block for Subnetworkstringfalse
tcp_established_idle_timeout_secThe tcp established idle timeout in sec used by the nat gatewaystringfalse
tcp_transitory_idle_timeout_secThe tcp trans idle timeout in sec used by the nat gatewaystringfalse
udp_idle_timeout_secTimeout (in seconds) for UDP connections. Defaults to 30s if not set.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse
zonesThe zone to host the cluster in (required if is a zonal cluster)list(string)false

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse