Name | Version |
---|---|
~> 6.2.0 | |
kubernetes | ~> 2.32.0 |
Name | Version |
---|---|
kubernetes | 2.32.0 |
Name | Source | Version |
---|---|---|
deployment_workload_identity | terraform-google-modules/kubernetes-engine/google//modules/workload-identity | n/a |
Name | Type |
---|---|
kubernetes_deployment.platform_deployment | resource |
kubernetes_horizontal_pod_autoscaler_v2.deployment_hpa | resource |
kubernetes_secret.kubernetes_secrets | resource |
kubernetes_service.web_servce | resource |
kubernetes_namespace.deployment_namespace | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
application_name | The name of the deployment | string |
n/a | yes |
application_version | The version of the deployment. Ideally this is an Autotagged Semver, but we could use the Github run id. | string |
n/a | yes |
autoscaler | Configuration for the autoscaler | object({ |
{ |
no |
container_image | The container image to deploy | string |
n/a | yes |
container_port | The port the container exposes | number |
8080 |
no |
deployment_service_type | The type of service to create for the deployment | string |
"ClusterIP" |
no |
env_vars | List of environment variables for the deployment | map(any) |
{} |
no |
expose_as_web_service | Indicates if the deployment should be exposed as a web service | bool |
true |
no |
gke_cluster_name | The name of the GKE cluster where the resources will be deployed | string |
n/a | yes |
labels | The labels to apply to the deployment | map(string) |
n/a | yes |
liveness_probe | Configuration for liveness probe | object({ |
{ |
no |
max_replicas | Maximum number of replicas for the deployment | number |
5 |
no |
min_replicas | Minimum number of replicas for the deployment | number |
3 |
no |
namespace | The Kubernetes namespace where the deployment will be created | string |
"internal" |
no |
project | The default project. | string |
n/a | yes |
readiness_probe | Configuration for readiness probe | object({ |
{ |
no |
resources | Resource requests and limits | object({ |
{ |
no |
roles | The roles to apply to the service account for the deployment | list(string) |
[ |
no |
secret_env_vars | List of environment that are set as secret variables for the deployment. These are stored in K8s and not in GSM | map(any) |
{} |
no |
team | The team that owns the deployment | string |
n/a | yes |
wait_for_rollout | Wait for the rollout of the deployment to complete. | bool |
true |
no |
Name | Description |
---|---|
name | The name of the deployment |
service_account | The name of the service account |