-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactions.yaml
297 lines (297 loc) · 11.4 KB
/
actions.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
create-volume-quota:
description: |
Directory quotas in GlusterFS allows you to set limits on usage of the disk
space by volumes.
params:
volume:
type: string
description: The volume to enable this quota on
usage-limit:
type: integer
description: The byte limit of the quota for this volume.
path:
type: string
description: The path to limit the usage on. Defaults to /
default: "/"
required: [volume, usage-limit]
additionalProperties: false
delete-volume-quota:
description: |
Directory quotas in GlusterFS allows you to set limits on usage of the disk
space by volumes.
params:
volume:
type: string
description: The volume to disable this quota on
path:
type: string
description: The path to remove the limit on. Defaults to /
default: "/"
required: [volume]
additionalProperties: false
list-volume-quotas:
description: |
Directory quotas in GlusterFS allows you to set limits on usage of the disk
space by volumes.
params:
volume:
type: string
description: The volume to list quotas on
required: [volume]
additionalProperties: false
rebalance-volume:
description: |
After expanding or shrinking a volume you need to rebalance the data
among the servers. New directories created after expanding or
shrinking of the volume will be evenly distributed automatically.
For all the existing directories, the distribution can be fixed by
rebalancing the layout and/or data. This action should be run
in a maintenance window because client IO will be impacted.
params:
volume:
type: string
description: The volume to rebalance
required: [volume]
additionalProperties: false
set-volume-options:
description: |
You can tune volume options, as needed, while the cluster is online
and available.
params:
volume:
type: string
description: The volume to set the option on
auth-allow:
type: string
description: |
IP addresses of the clients which should be allowed to access the
volume. Valid IP address which includes wild card patterns including *,
such as 192.168.1.*
auth-reject:
type: string
description: |
IP addresses of the clients which should be denied to access the volume.
Valid IP address which includes wild card patterns including *,
such as 192.168.1.*
cluster-self-heal-window-size:
type: integer
description: |
Specifies the maximum number of blocks per file on which self-heal
would happen simultaneously.
minimum: 0
maximum: 1025
cluster-data-self-heal-algorithm:
description: |
Specifies the type of self-heal. If you set the option as "full",
the entire file is copied from source to destinations. If the option
is set to "diff" the file blocks that are not in sync are copied to
destinations. Reset uses a heuristic model. If the file does not exist
on one of the subvolumes, or a zero-byte file exists (created by
entry self-heal) the entire content has to be copied anyway, so there
is no benefit from using the "diff" algorithm. If the file size is
about the same as page size, the entire file can be read and written
with a few operations, which will be faster than "diff" which has to
read checksums and then read and write.
type: string
enum: [full,diff,reset]
cluster-min-free-disk:
type: integer
description: |
Specifies the percentage of disk space that must be kept free.
Might be useful for non-uniform bricks
minimum: 0
maximum: 100
cluster-stripe-block-size:
type: integer
description: |
Specifies the size of the stripe unit that will be read from or written
to.
cluster-self-heal-daemon:
type: boolean
description: |
Allows you to turn-off proactive self-heal on replicated
cluster-ensure-durability:
type: boolean
description: |
This option makes sure the data/metadata is durable across abrupt
shutdown of the brick.
diagnostics-brick-log-level:
type: string
description: |
Changes the log-level of the bricks.
enum: [debug,warning,error,none,trace,critical]
diagnostics-client-log-level:
type: string
description: |
Changes the log-level of the clients.
enum: [debug,warning,error,none,trace,critical]
diagnostics-latency-measurement:
type: boolean
description: |
Statistics related to the latency of each operation would be tracked.
diagnostics-dump-fd-stats:
type: boolean
description: |
Statistics related to file-operations would be tracked.
features-read-only:
type: boolean
description: |
Enables you to mount the entire volume as read-only for all the
clients (including NFS clients) accessing it.
features-lock-heal:
type: boolean
description: |
Enables self-healing of locks when the network disconnects.
features-quota-timeout:
type: integer
description: |
For performance reasons, quota caches the directory sizes on client.
You can set timeout indicating the maximum duration of directory sizes
in cache, from the time they are populated, during which they are
considered valid
minimum: 0
maximum: 3600
geo-replication-indexing:
type: boolean
description: |
Use this option to automatically sync the changes in the filesystem
from Master to Slave.
nfs-enable-ino32:
type: boolean
description: |
For 32-bit nfs clients or applications that do not support 64-bit
inode numbers or large files, use this option from the CLI to make
Gluster NFS return 32-bit inode numbers instead of 64-bit inode numbers.
nfs-volume-access:
type: string
description: |
Set the access type for the specified sub-volume.
enum: [read-write,read-only]
nfs-trusted-write:
type: boolean
description: |
If there is an UNSTABLE write from the client, STABLE flag will be
returned to force the client to not send a COMMIT request. In some
environments, combined with a replicated GlusterFS setup, this option
can improve write performance. This flag allows users to trust Gluster
replication logic to sync data to the disks and recover when required.
COMMIT requests if received will be handled in a default manner by
fsyncing. STABLE writes are still handled in a sync manner.
nfs-trusted-sync:
type: boolean
description: |
All writes and COMMIT requests are treated as async. This implies that
no write requests are guaranteed to be on server disks when the write
reply is received at the NFS client. Trusted sync includes
trusted-write behavior.
nfs-export-dir:
type: string
description: |
This option can be used to export specified comma separated
subdirectories in the volume. The path must be an absolute path.
Along with path allowed list of IPs/hostname can be associated with
each subdirectory. If provided connection will allowed only from these
IPs. Format: \<dir>[(hostspec[hostspec...])][,...]. Where hostspec can
be an IP address, hostname or an IP range in CIDR notation. Note: Care
must be taken while configuring this option as invalid entries and/or
unreachable DNS servers can introduce unwanted delay in all the mount
calls.
nfs-export-volumes:
type: boolean
description: |
Enable/Disable exporting entire volumes, instead if used in
conjunction with nfs3.export-dir, can allow setting up only
subdirectories as exports.
nfs-rpc-auth-unix:
type: boolean
description: |
Enable/Disable the AUTH_UNIX authentication type. This option is
enabled by default for better interoperability. However, you can
disable it if required.
nfs-rpc-auth-null:
type: boolean
description: |
Enable/Disable the AUTH_NULL authentication type. It is not recommended
to change the default value for this option.
nfs-ports-insecure:
type: boolean
description: |
Allow client connections from unprivileged ports. By default only
privileged ports are allowed. This is a global setting in case insecure
ports are to be enabled for all exports using a single option.
nfs-addr-namelookup:
type: boolean
description: |
Turn-off name lookup for incoming client connections using this option.
In some setups, the name server can take too long to reply to DNS
queries resulting in timeouts of mount requests. Use this option to
turn off name lookups during address authentication. Note, turning this
off will prevent you from using hostnames in rpc-auth.addr.* filters.
nfs-register-with-portmap:
type: boolean
description: |
For systems that need to run multiple NFS servers, you need to prevent
more than one from registering with portmap service. Use this option to
turn off portmap registration for Gluster NFS.
nfs-disable:
type: boolean
description: |
Turn-off volume being exported by NFS
performance-write-behind-window-size:
type: integer
description: |
Size of the per-file write-behind buffer.
performance-io-thread-count:
type: integer
description: |
The number of threads in IO threads translator.
minimum: 0
maximum: 65
performance-flush-behind:
type: boolean
description: |
If this option is set ON, instructs write-behind translator to perform
flush in background, by returning success (or any errors, if any of
previous writes were failed) to application even before flush is sent
to backend filesystem.
performance-cache-max-file-size:
type: integer
description: |
Sets the maximum file size cached by the io-cache translator. Can use
the normal size descriptors of KB, MB, GB,TB or PB (for example, 6GB).
Maximum size uint64.
performance-cache-min-file-size:
type: integer
description: |
Sets the minimum file size cached by the io-cache translator. Values
same as "max" above
performance-cache-refresh-timeout:
type: integer
description: |
The cached data for a file will be retained till 'cache-refresh-timeout'
seconds, after which data re-validation is performed.
minimum: 0
maximum: 61
performance-cache-size:
type: integer
description: |
Size of the read cache in bytes
server-allow-insecure:
type: boolean
description: |
Allow client connections from unprivileged ports. By default only
privileged ports are allowed. This is a global setting in case insecure
ports are to be enabled for all exports using a single option.
server-grace-timeout:
type: integer
description: |
Specifies the duration for the lock state to be maintained on the server
after a network disconnection.
minimum: 10
maximum: 1800
server-statedump-path:
type: string
description: |
Location of the state dump file.
required: [volume]
additionalProperties: false