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 6f622760
authored
Jun 03, 2024
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add affinity
1 parent
2cf83dbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
0 deletions
schema.yaml
variables.tf
schema.yaml
View file @
6f62276
...
@@ -14,6 +14,7 @@ components:
...
@@ -14,6 +14,7 @@ components:
type
:
string
type
:
string
description
:
Docker image name
description
:
Docker image name
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
1
order
:
1
ports
:
ports
:
title
:
Ports
title
:
Ports
...
@@ -23,6 +24,7 @@ components:
...
@@ -23,6 +24,7 @@ components:
type
:
number
type
:
number
x-walrus-ui
:
x-walrus-ui
:
colSpan
:
12
colSpan
:
12
group
:
Basic
order
:
2
order
:
2
env
:
env
:
title
:
Env
title
:
Env
...
@@ -34,6 +36,7 @@ components:
...
@@ -34,6 +36,7 @@ components:
type
:
string
type
:
string
x-walrus-ui
:
x-walrus-ui
:
colSpan
:
12
colSpan
:
12
group
:
Basic
order
:
3
order
:
3
replicas
:
replicas
:
title
:
Replicas
title
:
Replicas
...
@@ -42,6 +45,7 @@ components:
...
@@ -42,6 +45,7 @@ components:
default
:
1
default
:
1
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
4
order
:
4
request_cpu
:
request_cpu
:
title
:
Request Cpu
title
:
Request Cpu
...
@@ -50,6 +54,7 @@ components:
...
@@ -50,6 +54,7 @@ components:
default
:
"
0.1"
default
:
"
0.1"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
5
order
:
5
request_memory
:
request_memory
:
title
:
Request Memory
title
:
Request Memory
...
@@ -58,6 +63,7 @@ components:
...
@@ -58,6 +63,7 @@ components:
default
:
128Mi
default
:
128Mi
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
6
order
:
6
limit_cpu
:
limit_cpu
:
title
:
Limit Cpu
title
:
Limit Cpu
...
@@ -66,6 +72,7 @@ components:
...
@@ -66,6 +72,7 @@ components:
default
:
"
0.5"
default
:
"
0.5"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
7
order
:
7
limit_memory
:
limit_memory
:
title
:
Limit Memory
title
:
Limit Memory
...
@@ -74,6 +81,7 @@ components:
...
@@ -74,6 +81,7 @@ components:
default
:
512Mi
default
:
512Mi
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
8
order
:
8
namespace
:
namespace
:
title
:
Namespace
title
:
Namespace
...
@@ -82,6 +90,7 @@ components:
...
@@ -82,6 +90,7 @@ components:
default
:
default
default
:
default
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
9
order
:
9
name
:
name
:
title
:
Name
title
:
Name
...
@@ -90,6 +99,7 @@ components:
...
@@ -90,6 +99,7 @@ components:
default
:
"
"
default
:
"
"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
10
order
:
10
walrus_metadata_service_name
:
walrus_metadata_service_name
:
title
:
Walrus Metadata Service Name
title
:
Walrus Metadata Service Name
...
@@ -98,6 +108,7 @@ components:
...
@@ -98,6 +108,7 @@ components:
default
:
"
"
default
:
"
"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
11
order
:
11
walrus_metadata_namespace_name
:
walrus_metadata_namespace_name
:
title
:
Walrus Metadata Namespace Name
title
:
Walrus Metadata Namespace Name
...
@@ -106,6 +117,7 @@ components:
...
@@ -106,6 +117,7 @@ components:
default
:
"
"
default
:
"
"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
12
order
:
12
app_log_path_volume_name
:
app_log_path_volume_name
:
title
:
App Log Path Volume Name
title
:
App Log Path Volume Name
...
@@ -114,6 +126,7 @@ components:
...
@@ -114,6 +126,7 @@ components:
default
:
app-log-path
default
:
app-log-path
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
13
order
:
13
app_log_path
:
app_log_path
:
title
:
App Log Path
title
:
App Log Path
...
@@ -121,6 +134,7 @@ components:
...
@@ -121,6 +134,7 @@ components:
default
:
/data/java_log
default
:
/data/java_log
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
14
order
:
14
restart_policy
:
restart_policy
:
title
:
Restart Policy
title
:
Restart Policy
...
@@ -130,6 +144,7 @@ components:
...
@@ -130,6 +144,7 @@ components:
default
:
Always
default
:
Always
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
15
order
:
15
args
:
args
:
title
:
Args
title
:
Args
...
@@ -142,6 +157,7 @@ components:
...
@@ -142,6 +157,7 @@ components:
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
colSpan
:
12
colSpan
:
12
group
:
Basic
order
:
16
order
:
16
domain_name
:
domain_name
:
title
:
Domain Name
title
:
Domain Name
...
@@ -150,6 +166,7 @@ components:
...
@@ -150,6 +166,7 @@ components:
default
:
"
"
default
:
"
"
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
17
order
:
17
path_type
:
path_type
:
title
:
Path Type
title
:
Path Type
...
@@ -158,6 +175,7 @@ components:
...
@@ -158,6 +175,7 @@ components:
default
:
ImplementationSpecific
default
:
ImplementationSpecific
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
18
order
:
18
path
:
path
:
title
:
Path
title
:
Path
...
@@ -166,6 +184,7 @@ components:
...
@@ -166,6 +184,7 @@ components:
default
:
/
default
:
/
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
group
:
Basic
order
:
19
order
:
19
hosts
:
hosts
:
title
:
Hosts
title
:
Hosts
...
@@ -196,6 +215,7 @@ components:
...
@@ -196,6 +215,7 @@ components:
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
colSpan
:
12
colSpan
:
12
group
:
Basic
order
:
20
order
:
20
annotations
:
annotations
:
title
:
Annotations
title
:
Annotations
...
@@ -204,4 +224,18 @@ components:
...
@@ -204,4 +224,18 @@ components:
nullable
:
true
nullable
:
true
x-walrus-ui
:
x-walrus-ui
:
colSpan
:
12
colSpan
:
12
group
:
Basic
order
:
21
order
:
21
prevent_deploy_on_the_same_node
:
title
:
Prevent Deploy On The Same Node
type
:
boolean
description
:
Pod pod_anti_affinity rule, which prevents deploy same pod
on one node.
default
:
true
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
22
x-walrus-ui
:
groupOrder
:
-
Basic
variables.tf
View file @
6f62276
...
@@ -156,3 +156,11 @@ variable "annotations" {
...
@@ -156,3 +156,11 @@ variable "annotations" {
description = "(Optional) Custom Annotations"
description = "(Optional) Custom Annotations"
default = null
default = null
}
}
# @label "affinity"
# @group "advance"
variable "prevent_deploy_on_the_same_node" {
description = "Pod pod_anti_affinity rule, which prevents deploy same pod on one node."
type = bool
default = false
}
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