Home

Awesome

<!-- BEGIN_TF_DOCS -->

Kubespot (GCP)

<img src="http://assets.opszero.com/images/auditkube.png" width="200px" />

Compliance Oriented Kubernetes Setup for Google Cloud.

Tools & Setup

brew install kubectl kubernetes-helm google-cloud-sdk terraform

Terraform usage

gcloud auth activate-service-account --key-file=./account.json
terraform init && terraform get -update && terraform apply


gcloud config set account foo@opszero.com # Set account name
gcloud container clusters get-credentials <clustername> --region us-central1

Providers

NameVersion
<a name="provider_google"></a> googlen/a
<a name="provider_helm"></a> helmn/a
<a name="provider_http"></a> httpn/a
<a name="provider_null"></a> nulln/a
<a name="provider_random"></a> randomn/a

Inputs

NameDescriptionTypeDefaultRequired
<a name="input_cluster_version"></a> cluster_versionThe minimum version of the masterstring"1.27"no
<a name="input_csi_secrets_store_enabled"></a> csi_secrets_store_enabledSpecify whether the CSI driver is enabledbooltrueno
<a name="input_environment_name"></a> environment_nameThe name of the environment to create resourcesstringn/ayes
<a name="input_project"></a> projectThe Google Project that will host the clusterstringn/ayes
<a name="input_redis_enabled"></a> redis_enabledSpecify whether the redis cluster is enabledboolfalseno
<a name="input_redis_ha_enabled"></a> redis_ha_enabledSpecify whether HA is enabled for redisboolfalseno
<a name="input_redis_memory_in_gb"></a> redis_memory_in_gbRedis memory size in GiBnumber1no
<a name="input_region"></a> regionThe location (region or zone) in which the cluster master will be createdstring"us-central1"no
<a name="input_sql_enabled"></a> sql_enabledSpecify whether the sql instance is enabledboolfalseno
<a name="input_sql_engine"></a> sql_engineThe sql version to usestring"POSTGRES_15"no
<a name="input_sql_instance_class"></a> sql_instance_classThe machine type to usestring"db-f1-micro"no
<a name="input_sql_master_password"></a> sql_master_passwordThe password for the db userstring""no
<a name="input_sql_master_username"></a> sql_master_usernameThe name of the db userstring""no
<a name="input_tags"></a> tagsTerraform map to create custom tags for the Google resourcesmap{}no

Resources

NameType
google_compute_global_address.private_ip_addressresource
google_compute_network.networkresource
google_compute_subnetwork.subnetresource
google_container_cluster.clusterresource
google_kms_crypto_key.keyresource
google_kms_key_ring.keyringresource
google_redis_instance.cacheresource
google_service_networking_connection.private_vpc_connectionresource
google_sql_database_instance.defaultresource
google_sql_user.userresource
helm_release.csi_secrets_storeresource
null_resource.csi_secrets_store_aws_providerresource
null_resource.sql_vpc_lockresource
random_id.serverresource
google_client_config.currentdata source
http_http.csi_secrets_store_gcp_providerdata source

Outputs

NameDescription
<a name="output_private_vpc_network"></a> private_vpc_networkn/a
<a name="output_sql_database"></a> sql_databasen/a

🚀 Built by opsZero!

<a href="https://opszero.com"><img src="https://opszero.com/wp-content/uploads/2024/07/opsZero_logo_svg.svg" width="300px"/></a>

Since 2016 opsZero has been providing Kubernetes expertise to companies of all sizes on any Cloud. With a focus on AI and Compliance we can say we seen it all whether SOC2, HIPAA, PCI-DSS, ITAR, FedRAMP, CMMC we have you and your customers covered.

We provide support to organizations in the following ways:

We do this with a high-touch support model where you:

Please schedule a call if you need support.

<br/><br/>

<div style="display: block"> <img src="https://opszero.com/wp-content/uploads/2024/07/aws-advanced.png" width="150px" /> <img src="https://opszero.com/wp-content/uploads/2024/07/AWS-public-sector.png" width="150px" /> <img src="https://opszero.com/wp-content/uploads/2024/07/AWS-eks.png" width="150px" /> </div> <!-- END_TF_DOCS -->