Name Last Update
modules Loading commit data...
README.md Loading commit data...
icon.svg Loading commit data...
main.tf Loading commit data...
outputs.tf Loading commit data...
variables.tf Loading commit data...

Requirements

Name Version
kubectl 1.14.0

Providers

Name Version
kubernetes n/a

Modules

Name Source Version
deployment ./modules/deployment/kubernetes n/a
ingress ./modules/ingress/kubernetes n/a
service ./modules/service/kubernetes n/a

Resources

Name Type
kubernetes_service.service data source

Inputs

Name Description Type Default Required
app_log_path @label "应用日志路径" @group "Advanced" string "/data/java_log" no
app_log_path_volume_name 应用日志挂载卷名,名字只能使用-,例: abc-22 abc-cc string "app-log-path" no
args 属于那个环境,例子:dev,test,beta,release list(string)
[
"release"
]
no
domain_name 域名 string "" 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 "0.5" no
limit_memory Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi string "512Mi" no
name Name of the deployment resource. Auto-generated if empty. string "" no
namespace Namespace to deploy. Auto-generated if empty. string "default" no
path 访问路径 string "/" no
path_type Path type for ingress rule string "ImplementationSpecific" no
ports Service ports to expose list(number) n/a yes
probe_http_path (Optional)http path for probe string "/" no
probe_http_port (Optional)http port for probe string n/a yes
replicas Replicas to deploy number 1 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
restart_policy Restart policy for all containers within the pod. One of Always, OnFailure, Never string "Always" no
walrus_metadata_namespace_name Walrus metadata namespace name. string "" no
walrus_metadata_service_name Walrus metadata service name. string "" no

Outputs

Name Description
ingress 访问入口ingress
ports Service Ports
service_ip Service IP