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...
schema.yaml 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 string "test" no
env Name and value pairs to set as the environment variables map(string) {} no
hosts (Optional) host aliases 手动配置域名到hosts list(object({ hostname = list(string), ip = string })) [] no
image Docker image name string n/a yes
ingress_switch choise ingress switch
object({
switch = optional(string)
path_type = optional(string)
path = optional(string)
domain_name = optional(string)
})
{
"domain_name": null,
"path": "/",
"path_type": "ImplementationSpecific",
"switch": "off"
}
no
limit_cpu CPU limit. e.g. 0.5, 1, 2 string "1" no
limit_memory Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi string "1G" no
name Name of the deployment resource. Auto-generated if empty. string n/a yes
namespace Namespace to deploy. Auto-generated if empty. string n/a yes
ports Service ports to expose list(number)
[
6666
]
no
replicas Replicas to deploy number 1 no
request_cpu CPU request. e.g. 0.5, 1, 2 string "0.2" no
request_memory Memory request. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi string "512Mi" 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