schema.yaml
5.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
openapi: 3.0.3
info:
title: OpenAPI schema for template .
components:
schemas:
variables:
type: object
required:
- image
- name
- namespace
properties:
image:
title: Image
type: string
description: Docker image name
x-walrus-ui:
order: 1
group: Basic
name:
title: Name
type: string
description: Name of the deployment resource. Auto-generated if empty.
x-walrus-ui:
order: 2
group: Basic
port:
title: Port
type: string
description: Service ports to expose
default: "7777"
nullable: true
x-walrus-ui:
order: 3
group: Advanced
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: 4
group: Advanced
replicas:
title: Replicas
type: number
description: Replicas to deploy
default: 1
nullable: true
x-walrus-ui:
order: 5
group: Advanced
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: 6
group: Resources
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: 7
group: Resources
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: 8
group: Resources
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: 9
group: Resources
probe_http_port:
title: Probe Http Port
type: string
description: (Optional)http port for probe
default: "7777"
nullable: true
x-walrus-ui:
order: 10
group: Advanced
probe_http_path:
title: Probe Http Path
type: string
description: (Optional)http path for probe
default: /
nullable: true
x-walrus-ui:
order: 11
group: Advanced
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: 12
group: Advanced
ingress_switch:
title: Ingress Switch
type: object
description: choise ingress switch
default:
domain_name: null
path: /
path_type: ImplementationSpecific
switch: "off"
nullable: true
properties:
domain_name:
nullable: true
title: Domain Name
type: string
x-walrus-ui:
order: 4
showIf: switch=on
path:
default: /
nullable: true
title: Path
type: string
x-walrus-ui:
order: 3
showIf: switch=on
path_type:
default: ImplementationSpecific
enum:
- ImplementationSpecific
- Exact
- Prefix
nullable: true
title: Path Type
type: string
x-walrus-ui:
order: 2
showIf: switch=on
switch:
enum:
- "off"
- "on"
nullable: true
title: Switch
type: string
x-walrus-ui:
order: 1
x-walrus-ui:
colSpan: 12
order: 13
group: Ingress
namespace:
title: Namespace
type: string
description: Namespace to deploy. Auto-generated if empty.
x-walrus-ui:
order: 14
group: Basic
walrus_metadata_service_name:
title: Walrus Metadata Service Name
type: string
description: Walrus metadata service name.
default: ""
nullable: true
x-walrus-ui:
group: Basic
hidden: true
order: 15
walrus_metadata_namespace_name:
title: Walrus Metadata Namespace Name
type: string
description: Walrus metadata namespace name.
default: ""
nullable: true
x-walrus-ui:
group: Basic
hidden: true
order: 16
x-walrus-ui:
groupOrder:
- Basic
- Resourced
- Advanced
- Ingress