blob: 149d3881d6fcd895b24b2b6cb5c8a4e236621175 [file] [log] [blame]
David Garcia36c87722021-08-30 18:01:22 +02001# Copyright 2021 Canonical Ltd.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14#
15# For those usages not covered by the Apache License, Version 2.0 please
16# contact: legal@canonical.com
17#
18# To get in touch with the maintainers, please contact:
19# osm-charmers@lists.launchpad.net
20##
21
22options:
23 log_level:
24 description: |
25 Log level
26 type: string
27 default: INFO
28 image_pull_policy:
29 description: |
30 ImagePullPolicy configuration for the pod.
31 Possible values: always, ifnotpresent, never
32 type: string
33 default: always
34 min_session_timeout:
35 description: Min session timeout
36 type: int
37 default: 4000
38 max_session_timeout:
39 description: Max session timeout
40 type: int
41 default: 40000
42 purge_interval:
43 description: |
44 The time interval in hours for which the purge task has to be triggered.
45 Set to a positive integer (1 and above) to enable the auto purging.
46 type: int
47 default: 12
48 snap_retain_count:
49 description: |
50 When enabled, ZooKeeper auto purge feature retains the
51 autopurge.snapRetainCount most recent snapshots and
52 the corresponding transaction logs in the dataDir and
53 dataLogDir respectively and deletes the rest.
54 Defaults to 3. Minimum value is 3.
55 type: int
56 default: 3
57 max_client_cnxns:
58 description: |
59 Limits the number of concurrent connections (at the socket level)
60 that a single client, identified by IP address, may make to a single
61 member of the ZooKeeper ensemble.
62 type: int
63 default: 60
64 heap:
65 description: Heap memory in Mega-bytes
66 type: int
67 default: 512
68 sync_limit:
69 description: |
70 Amount of time, in ticks (see tickTime), to allow followers to sync
71 with ZooKeeper.
72 If followers fall too far behind a leader, they will be dropped.
73 type: int
74 default: 5
75 init_limit:
76 description: |
77 Amount of time, in ticks (see tickTime), to allow followers to connect
78 and sync to a leader. Increased this value as needed,
79 if the amount of data managed by ZooKeeper is large.
80 type: int
81 default: 5
82 tick_time:
83 description: |
84 The length of a single tick, which is the basic time unit used
85 by ZooKeeper, as measured in milliseconds. It is used to regulate
86 heartbeats, and timeouts.
87 For example, the minimum session timeout will be two ticks.
88 type: int
89 default: 2000
sousaedu540d9372021-09-29 01:53:30 +010090 security_context:
91 description: Enables the security context of the pods
92 type: boolean
93 default: false