kcc-factory

by portefaix

Helm chartv0.1.0App 1.0.0Apache-2.0

A GCP Factory using Kubernetes Config Connector

About this chart

kcc-factory

A GCP Factory using Kubernetes Config Connector

Homepage: https://github.com/portefaix/portefaix-hub/charts/kcc-factory

Maintainers

NameEmailUrl
nlamirault[email protected]https://github.com/nlamirault

Values

KeyTypeDefaultDescription
additionalAnnotationsobject{}Additional annotations to add to all resources
additionalLabelsobject{}Additional labels to add to all resources
kcc.artifactregistry[0].formatstring"DOCKER"
kcc.artifactregistry[0].locationstring"eu-west1"
kcc.artifactregistry[0].namestring"charts"
kcc.artifactregistry[1].formatstring"DOCKER"
kcc.artifactregistry[1].locationstring"eu-west1"
kcc.artifactregistry[1].namestring"containers"
kcc.buckets[0].lifecycleRule[0].action.typestring"Delete"
kcc.buckets[0].lifecycleRule[0].condition.ageint10
kcc.buckets[0].locationstring"eu-west1"
kcc.buckets[0].namestring"logs"
kcc.buckets[0].storageClassstring"standard"
kcc.buckets[0].versioningbooltrue
kcc.gke.clusterAutoscaling.autoscalingProfilestring"BALANCED"
kcc.gke.clusterAutoscaling.enabledbooltrue
kcc.gke.clusterAutoscaling.resourceLimits[0].maximumint100
kcc.gke.clusterAutoscaling.resourceLimits[0].minimumint10
kcc.gke.clusterAutoscaling.resourceLimits[0].resourceTypestring"cpu"
kcc.gke.clusterAutoscaling.resourceLimits[1].maximumint1000
kcc.gke.clusterAutoscaling.resourceLimits[1].minimumint100
kcc.gke.clusterAutoscaling.resourceLimits[1].resourceTypestring"memory"
kcc.gke.datapathProviderstring"ADVANCED_DATAPATH"
kcc.gke.defaultNodepools.defaultMaxPodsPerNodeint16
kcc.gke.defaultNodepools.initialNodeCountint0
kcc.gke.defaultNodepools.nodeLocations[0]string"eu-west1-a"
kcc.gke.defaultNodepools.nodeLocations[1]string"eu-west1-b"
kcc.gke.defaultNodepools.nodeLocations[2]string"eu-west1-c"
kcc.gke.ipAllocationPolicy.clusterSecondaryRangeNamestring"pods"
kcc.gke.ipAllocationPolicy.servicesSecondaryRangeNamestring"services"
kcc.gke.locationstring"eu-west1"
kcc.gke.maintenancePolicy.dailyMaintenanceWindow.startTimestring"03:00"
kcc.gke.masterAuthorizedNetworksConfig.cidrBlocks[0].cidrBlockstring"0.0.0.0/0"
kcc.gke.masterAuthorizedNetworksConfig.cidrBlocks[0].displayNamestring"The Internet"
kcc.gke.networkPolicy.enabledbooltrue
kcc.gke.networkingModestring"VPC_NATIVE"
kcc.gke.nodepools[0].autoscaling.maxNodeCountint3
kcc.gke.nodepools[0].autoscaling.minNodeCountint1
kcc.gke.nodepools[0].diskSizeGbint100
kcc.gke.nodepools[0].diskTypestring"pd-ssd"
kcc.gke.nodepools[0].machineTypestring"e2-standard-16"
kcc.gke.nodepools[0].namestring"core"
kcc.gke.nodepools[0].preemptibleboolfalse
kcc.gke.nodepools[1].autoscaling.maxNodeCountint3
kcc.gke.nodepools[1].autoscaling.minNodeCountint1
kcc.gke.nodepools[1].diskSizeGbint100
kcc.gke.nodepools[1].diskTypestring"pd-ssd"
kcc.gke.nodepools[1].machineTypestring"e2-standard-16"
kcc.gke.nodepools[1].namestring"ops"
kcc.gke.nodepools[1].preemptiblebooltrue
kcc.gke.notificationConfig.pubsub.enabledbooltrue
kcc.gke.notificationConfig.pubsub.topicRef.namestring"kcc-factory-gke-update"
kcc.gke.releaseChannelstring"REGULAR"
kcc.gke.verticalPodAutoscaling.enabledboolfalse
kcc.network.ipCidrRangestring"10.2.0.0/16"
kcc.network.regionstring"eu-west1"
kcc.network.routingModestring"REGIONAL"
kcc.network.secondaryIpRange[0].ipCidrRangestring"10.3.0.0/16"
kcc.network.secondaryIpRange[0].rangeNamestring"services"
kcc.network.secondaryIpRange[1].ipCidrRangestring"10.4.0.0/16"
kcc.network.secondaryIpRange[1].rangeNamestring"pods"
kcc.pubsub.topics[0].namestring"gke-update"

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy kcc-factory with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kcc-factory on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkcc-factory is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply