-
Notifications
You must be signed in to change notification settings - Fork 0
/
multiclusterslicerequest-crd.yaml
226 lines (226 loc) · 8.27 KB
/
multiclusterslicerequest-crd.yaml
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: multiclusterslicerequests.swn.uom.gr
spec:
# group name to use for REST API: /apis/<group>/<version>
group: swn.uom.gr
# list of versions supported by this CustomResourceDefinition
versions:
- name: v1
# Each version can be enabled/disabled by Served flag.
served: true
# One and only one version must be marked as the storage version.
storage: true
additionalPrinterColumns:
- name: Namespace
type: string
jsonPath: .spec.usernamespace
- name: Username
type: string
jsonPath: .spec.credentials.username
- name: Status
type: string
jsonPath: .spec.status
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
name:
type: string
duration:
type: string
usernamespace:
type: string
deploymentstrategy:
type: string
enum:
- ""
- firstone
- balanced
default: ""
credentials:
type: object
properties:
username:
type: string
password:
type: string
multiclustering:
type: object
properties:
approach:
type: string
enum:
- ""
- ocm
- liqo
default: ""
mastercluster:
type: string
updating:
type: boolean
default: false
clusters:
type: array
items:
type: object
properties:
name:
type: string
deploymentdomain:
type: string
default: ""
infrastructure:
type: object
properties:
nodes:
type: object
properties:
count:
type: integer
osimage:
type: string
osaccount:
type: string
default: user
nodetype:
type: string
masters:
type: object
properties:
count:
type: integer
osimage:
type: string
osaccount:
type: string
default: user
mastertype:
type: string
workers:
type: object
properties:
count:
type: integer
osimage:
type: string
osaccount:
type: string
default: user
workertype:
type: string
kubernetes:
type: object
properties:
kubernetestype:
type: string
enum:
- ""
- vanilla
- k3s
- k0s
- microk8s
kubernetesversion:
type: string
containerdversion:
type: string
critoolsversion:
type: string
networkfabric:
type: string
enum:
- ""
- flannel
- multus
- calico
- cilium
- kuberouter
- weavenet
- kubeovn
- antrea
networkfabricparameters:
type: string
networkcidr:
type: string
default: "10.244.0.0/16"
servicecidr:
type: string
default: "10.96.0.0/12"
applications:
type: array
nullable: true
items:
type: object
properties:
name:
type: string
enum:
- argo
- dashboard
- docker
- helm
- kubeview
- metrics-server
- ocm-hub-init
- ocm-hub-approve
- ocm-managed
- liqo-master
- liqo-peer
- karmada-init
- karmada-join
- remotenode-master
- remotenode-worker
- submariner-broker
- submariner
- teaching-examples
- kubernetes_base
- edgenet
- edgenet-nodes
- l2s-m
- benchmarks
- updates
version:
type: string
parameters:
type: string
sharefile:
type: string
waitforfile:
type: string
scope:
type: string
enum:
- cluster
- masters
- workers
- all
default: cluster
deployed:
type: boolean
default: false
status:
type: string
enum:
- defined
- accepted
- failed
- declined
default: defined
# either Namespaced or Cluster
scope: Namespaced
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: multiclusterslicerequests
# singular name to be used as an alias on the CLI and for display
singular: multiclusterslicerequest
# kind is normally the CamelCased singular type. Your resource manifests use this.
kind: MultiClusterSliceRequest
# shortNames allow shorter string to match your resource on the CLI
shortNames:
- mcslr