Commit e46f03a1 by chenxx

v0.1 init

1 parent d6133d1f
......@@ -4,6 +4,23 @@ variable "image" {
type = string
description = "Docker image name"
}
# @label "域名名字"
# @group "ingress"
variable "domain_name" {
type = string
description = "域名"
}
# @label "Deployment Name"
# @group "Advanced"
variable "name" {
type = string
description = "Name of the deployment resource. Auto-generated if empty."
}
# @label "Ports"
# @group "Basic"
variable "port" {
......@@ -35,7 +52,7 @@ variable "request_cpu" {
default = "0.1"
}
# @group "Resources"
# @options ["128Mi","512Mi", "1Gi"]
# @options ["128Mi","512Mi", "1G"]
# @label "Memory Request"
variable "request_memory" {
type = string
......@@ -43,7 +60,7 @@ variable "request_memory" {
default = "128Mi"
}
# @group "Resources"
# @options ["0.2","0.3", "0.5","1", "2", "3", "4"]
# @options ["0.2","0.3", "0.5","1", "2"]
# @label "CPU Limit"
variable "limit_cpu" {
type = string
......@@ -56,36 +73,11 @@ variable "limit_cpu" {
variable "limit_memory" {
type = string
description = "Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi"
default = "512Mi"
}
# @label "Namespace"
# @group "Advanced"
variable "namespace" {
type = string
description = "Namespace to deploy. Auto-generated if empty."
default = "default"
}
# @label "Deployment Name"
# @group "Advanced"
variable "name" {
type = string
description = "Name of the deployment resource. Auto-generated if empty."
default = ""
}
# @hidden
variable "walrus_metadata_service_name" {
type = string
description = "Walrus metadata service name."
default = ""
}
# @hidden
variable "walrus_metadata_namespace_name" {
type = string
description = "Walrus metadata namespace name."
default = ""
default = "128Mi"
}
# @label "probe_port"
# @group "Advanced"
variable "probe_http_port" {
......@@ -104,8 +96,6 @@ variable "probe_http_path" {
}
# @label "重启策略"
# @group "Advanced"
variable "restart_policy" {
......@@ -115,12 +105,6 @@ variable "restart_policy" {
}
# @label "域名名字"
# @group "ingress"
variable "domain_name" {
type = string
description = "域名"
}
# @label "path_type"
# @options ["ImplementationSpecific","Exact","Prefix"]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!