Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
terraform_module
/
no_probe_standard_template
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 853507b1
authored
May 22, 2024
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add
1 parent
345346c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
213 additions
and
0 deletions
schema.yaml
variables.tf
schema.yaml
0 → 100644
View file @
853507b
openapi
:
3.0.3
info
:
title
:
OpenAPI schema for template .
components
:
schemas
:
variables
:
type
:
object
required
:
-
image
-
ports
properties
:
image
:
title
:
Image
type
:
string
description
:
Docker image name
x-walrus-ui
:
order
:
1
ports
:
title
:
Ports
type
:
array
description
:
Service ports to expose
items
:
type
:
number
x-walrus-ui
:
colSpan
:
12
order
:
2
env
:
title
:
Env
type
:
object
description
:
Name and value pairs to set as the environment variables
default
:
{}
nullable
:
true
additionalProperties
:
type
:
string
x-walrus-ui
:
colSpan
:
12
order
:
3
replicas
:
title
:
Replicas
type
:
number
description
:
Replicas to deploy
default
:
1
nullable
:
true
x-walrus-ui
:
order
:
4
request_cpu
:
title
:
Request Cpu
type
:
string
description
:
CPU request. e.g. 0.5, 1, 2
default
:
"
0.1"
nullable
:
true
x-walrus-ui
:
order
:
5
request_memory
:
title
:
Request Memory
type
:
string
description
:
Memory request. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi
default
:
128Mi
nullable
:
true
x-walrus-ui
:
order
:
6
limit_cpu
:
title
:
Limit Cpu
type
:
string
description
:
CPU limit. e.g. 0.5, 1, 2
default
:
"
0.5"
nullable
:
true
x-walrus-ui
:
order
:
7
limit_memory
:
title
:
Limit Memory
type
:
string
description
:
Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi
default
:
512Mi
nullable
:
true
x-walrus-ui
:
order
:
8
namespace
:
title
:
Namespace
type
:
string
description
:
Namespace to deploy. Auto-generated if empty.
default
:
default
nullable
:
true
x-walrus-ui
:
order
:
9
name
:
title
:
Name
type
:
string
description
:
Name of the deployment resource. Auto-generated if empty.
default
:
"
"
nullable
:
true
x-walrus-ui
:
order
:
10
walrus_metadata_service_name
:
title
:
Walrus Metadata Service Name
type
:
string
description
:
Walrus metadata service name.
default
:
"
"
nullable
:
true
x-walrus-ui
:
order
:
11
walrus_metadata_namespace_name
:
title
:
Walrus Metadata Namespace Name
type
:
string
description
:
Walrus metadata namespace name.
default
:
"
"
nullable
:
true
x-walrus-ui
:
order
:
12
app_log_path_volume_name
:
title
:
App Log Path Volume Name
type
:
string
description
:
'
应用日志挂载卷名,名字只能使用-,例:
abc-22
abc-cc'
default
:
app-log-path
nullable
:
true
x-walrus-ui
:
order
:
13
app_log_path
:
title
:
App Log Path
type
:
string
default
:
/data/java_log
nullable
:
true
x-walrus-ui
:
order
:
14
restart_policy
:
title
:
Restart Policy
type
:
string
description
:
Restart policy for all containers within the pod. One of Always,
OnFailure, Never
default
:
Always
nullable
:
true
x-walrus-ui
:
order
:
15
args
:
title
:
Args
type
:
array
description
:
属于那个环境,例子:dev,test,beta,release
default
:
-
release
items
:
type
:
string
nullable
:
true
x-walrus-ui
:
colSpan
:
12
order
:
16
domain_name
:
title
:
Domain Name
type
:
string
description
:
域名
default
:
"
"
nullable
:
true
x-walrus-ui
:
order
:
17
path_type
:
title
:
Path Type
type
:
string
description
:
Path type for ingress rule
default
:
ImplementationSpecific
nullable
:
true
x-walrus-ui
:
order
:
18
path
:
title
:
Path
type
:
string
description
:
访问路径
default
:
/
nullable
:
true
x-walrus-ui
:
order
:
19
hosts
:
title
:
Hosts
type
:
array
description
:
(Optional) Add /etc/hosts records to pods
default
:
[]
items
:
properties
:
hostname
:
items
:
type
:
string
title
:
Hostname
type
:
array
x-walrus-ui
:
colSpan
:
12
order
:
1
ip
:
title
:
Ip
type
:
string
x-walrus-ui
:
order
:
2
required
:
-
hostname
-
ip
type
:
object
x-walrus-ui
:
colSpan
:
12
nullable
:
true
x-walrus-ui
:
colSpan
:
12
order
:
20
annotations
:
title
:
Annotations
type
:
object
description
:
(Optional) Custom Annotations
default
:
{}
nullable
:
true
additionalProperties
:
type
:
object
x-walrus-ui
:
colSpan
:
12
x-walrus-ui
:
colSpan
:
12
order
:
21
variables.tf
View file @
853507b
...
...
@@ -153,6 +153,7 @@ variable "hosts" {
# @label "annotations"
# @group "advance"
variable "annotations" {
type = map(any)
description = "(Optional) Custom Annotations"
default = {}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment