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:
type
:
string
description
:
Docker image name
x-walrus-ui
:
group
:
Basic
order
:
1
ports
:
title
:
Ports
...
...
@@ -23,6 +24,7 @@ components:
type
:
number
x-walrus-ui
:
colSpan
:
12
group
:
Basic
order
:
2
env
:
title
:
Env
...
...
@@ -34,6 +36,7 @@ components:
type
:
string
x-walrus-ui
:
colSpan
:
12
group
:
Basic
order
:
3
replicas
:
title
:
Replicas
...
...
@@ -42,6 +45,7 @@ components:
default
:
1
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
4
request_cpu
:
title
:
Request Cpu
...
...
@@ -50,6 +54,7 @@ components:
default
:
"
0.1"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
5
request_memory
:
title
:
Request Memory
...
...
@@ -58,6 +63,7 @@ components:
default
:
128Mi
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
6
limit_cpu
:
title
:
Limit Cpu
...
...
@@ -66,6 +72,7 @@ components:
default
:
"
0.5"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
7
limit_memory
:
title
:
Limit Memory
...
...
@@ -74,6 +81,7 @@ components:
default
:
512Mi
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
8
namespace
:
title
:
Namespace
...
...
@@ -82,6 +90,7 @@ components:
default
:
default
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
9
name
:
title
:
Name
...
...
@@ -90,6 +99,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
10
walrus_metadata_service_name
:
title
:
Walrus Metadata Service Name
...
...
@@ -98,6 +108,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
11
walrus_metadata_namespace_name
:
title
:
Walrus Metadata Namespace Name
...
...
@@ -106,6 +117,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
12
app_log_path_volume_name
:
title
:
App Log Path Volume Name
...
...
@@ -114,6 +126,7 @@ components:
default
:
app-log-path
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
13
app_log_path
:
title
:
App Log Path
...
...
@@ -121,6 +134,7 @@ components:
default
:
/data/java_log
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
14
restart_policy
:
title
:
Restart Policy
...
...
@@ -130,6 +144,7 @@ components:
default
:
Always
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
15
args
:
title
:
Args
...
...
@@ -142,6 +157,7 @@ components:
nullable
:
true
x-walrus-ui
:
colSpan
:
12
group
:
Basic
order
:
16
domain_name
:
title
:
Domain Name
...
...
@@ -150,6 +166,7 @@ components:
default
:
"
"
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
17
path_type
:
title
:
Path Type
...
...
@@ -158,6 +175,7 @@ components:
default
:
ImplementationSpecific
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
18
path
:
title
:
Path
...
...
@@ -166,6 +184,7 @@ components:
default
:
/
nullable
:
true
x-walrus-ui
:
group
:
Basic
order
:
19
hosts
:
title
:
Hosts
...
...
@@ -196,6 +215,7 @@ components:
nullable
:
true
x-walrus-ui
:
colSpan
:
12
group
:
Basic
order
:
20
annotations
:
title
:
Annotations
...
...
@@ -204,4 +224,18 @@ components:
nullable
:
true
x-walrus-ui
:
colSpan
:
12
group
:
Basic
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" {
description = "(Optional) Custom Annotations"
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