README.md
3.17 KB
Requirements
| Name | Version |
|---|---|
| kubectl | 1.14.0 |
Providers
| Name | Version |
|---|---|
| kubernetes | n/a |
Modules
| Name | Source | Version |
|---|---|---|
| deployment | terraform-iaac/deployment/kubernetes | 1.4.2 |
| service | terraform-iaac/service/kubernetes | 1.0.4 |
Resources
| Name | Type |
|---|---|
| kubernetes_service.service | data source |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| app_path | @label "app_path" @group "Advanced" | string |
"/app/soft/java_project" |
no |
| custom_labels | (Optional) Add custom label to pods | map(string) |
null |
no |
| env | Name and value pairs to set as the environment variables | map(string) |
{} |
no |
| image | Docker image name | string |
n/a | yes |
| limit_cpu | CPU limit. e.g. 0.5, 1, 2 | string |
"" |
no |
| limit_memory | Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi | string |
"" |
no |
| name | Name of the deployment resource. Auto-generated if empty. | string |
"" |
no |
| namespace | Namespace to deploy. Auto-generated if empty. | string |
"default" |
no |
| ports | Service ports to expose | list(number) |
[ |
no |
| probe_http_port | (Optional)http port for probe | string |
"80" |
no |
| request_cpu | CPU request. e.g. 0.5, 1, 2 | string |
"0.1" |
no |
| request_memory | Memory request. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi | string |
"128Mi" |
no |
| seal_metadata_namespace_name | Seal metadata namespace name. | string |
"" |
no |
| seal_metadata_service_name | Seal metadata service name. | string |
"" |
no |
| volume_logs | @label "app_logs_path" @group "Advanced" | string |
"/data/java_log" |
no |
Outputs
| Name | Description |
|---|---|
| ports | Service Ports |
| service_ip | Service IP |