-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
154 lines (120 loc) · 5 KB
/
config.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
# Copyright 2021 Martin Kalcok
# See LICENSE file for licensing details.
#
# Learn more about config at: https://juju.is/docs/sdk/config
options:
default-storage:
default: ceph-xfs
description: "Default storage class to use. Allowed values: 'ceph-ext4', 'ceph-xfs', 'cephfs'"
type: string
provisioner-replicas:
default: 3
description: "Number of replicas of any csi-*plugin-provisioner deployment"
type: int
enable-host-networking:
default: false
description: "Whether or not csi-*plugin-provisioner deployments use host-networking"
type: boolean
cephfs-enable:
default: false
description: |
Whether or not cephfs manifests should be installed
Only enable if ceph-fs is deployed and related to ceph-mon
type: boolean
cephfs-mounter:
default: ""
description: |
The driver can use either ceph-fuse (fuse) or ceph kernelclient (kernel).
If omitted, default volume mounter will be used - this is
determined by probing for ceph-fuse and mount.ceph
type: string
cephfs-storage-class-parameters:
default: ""
description: |
Parameters to be used when creating the cephfs storage class.
Changes are only applied to the storage class if it does not exist.
Declare additional/replacement parameters in key=value format, separated by spaces.
Declare removed parameters in the key- format, separated by spaces.
Optional parameters can be found in the ceph-csi documentation:
https://github.com/ceph/ceph-csi/blob/devel/examples/rbd/storageclass.yaml
type: string
ceph-xfs-storage-class-parameters:
default: "imageFeatures=layering"
description: |
Parameters to be used when creating the ceph-xfs storage class.
Changes are only applied to the storage class if it does not exist.
Declare additional/replacement parameters in key=value format, separated by spaces.
Declare removed parameters in the key- format, separated by spaces.
Optional parameters can be found in the ceph-csi documentation:
https://github.com/ceph/ceph-csi/blob/devel/examples/rbd/storageclass.yaml
type: string
ceph-ext4-storage-class-parameters:
default: "imageFeatures=layering"
description: |
Parameters to be used when creating the the ceph-ext4 storage class.
Changes are only applied to the storage class if it does not exist.
Declare additional/replacement parameters in key=value format, separated by spaces.
Declare removed parameters in the key- format, separated by spaces.
Optional parameters can be found in the ceph-csi documentation:
https://github.com/ceph/ceph-csi/blob/devel/examples/rbd/storageclass.yaml
type: string
image-registry:
type: string
default: "rocks.canonical.com:443/cdk"
description: |
Image registry for all Ceph CSI container images.
This value replaces the image registry in image URLs from the release
manifests. For example, an image URL like
`quay.io/cephcsi/cephcsi:v3.8.0` becomes
`rocks.canonical.com:443/cdk/cephcsi/cephcsi:v3.8.0` if set to
`rocks.canonical.com:443/cdk`.
Example:
juju config ceph-csi image-registry="rocks.canonical.com:443/cdk"
metrics-port-cephfsplugin:
default: -1
description: |
Port for csi-cephfsplugin liveness-prometheus metrics
If set to -1, the metrics service will not be created
type: int
metrics-port-cephfsplugin-provisioner:
default: -1
description: |
Port for csi-cephfsplugin-provisioner liveness-prometheus metrics
If set to -1, the metrics service will not be created
type: int
metrics-port-rbdplugin:
default: -1
description: |
Port for csi-rbdplugin liveness-prometheus metrics
If set to -1, the metrics service will not be created
type: int
metrics-port-rbdplugin-provisioner:
default: -1
description: |
Port for csi-rbdplugin-provisioner liveness-prometheus metrics
If set to -1, the metrics service will not be created
type: int
namespace:
type: string
default: ""
description: |
Kubernetes namespace in which to install the rbd and cephfs
components including deployments, daemonsets, secrets, configmaps.
if unspecified, "default" is assumed
NOTE: Can only be specified on deployment since some
attributes of kubernetes resources are non-modifiable.
The admin is responsible for creating the namespace.
release:
type: string
default: "v3.9.0"
description: |
Specify the version of ceph-csi as defined by the `release`
tags of https://github.com/ceph/ceph-csi
example)
juju config ceph-csi release='v3.7.2'
A list of supported versions is available through the action:
juju run ceph-csi/leader list-versions
To reset by to the latest supported by the charm use:
juju config ceph-csi --reset release
The current release deployed is available by viewing
juju status ceph-csi