-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsome.yml
49 lines (49 loc) · 1.17 KB
/
some.yml
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
apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
replicas: 3
version: latest
resources:
requests:
memory: 64Gi
cpu: "8"
limits:
memory: 64Gi
cpu: "12"
listeners:
tls:
authentication:
type: tls
authorization:
type: simple
config:
auto.create.topics.enable: "false"
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
i8r-rule:
condition: SOME_PROPERTY.length() > 0
action:
key: some.property
value: SOME_PROPERTY
storage:
i8r-rules:
- condition: STORAGE_CLASS.length() > 0
action:
key: class
value: STORAGE_CLASS
- condition: |-
STORAGE_SELECTOR.equals("default")
action:
key: selector.default.name
value: STORAGE_SELECTOR
- condition: |-
!("default".equals(STORAGE_SELECTOR))
action:
key: selector.name
value: STORAGE_SELECTOR
type: persistent-claim
size: 10000Gi