This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
operator.yaml
141 lines (140 loc) · 3.14 KB
/
operator.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
apiVersion: kudo.dev/v1beta1
name: "cassandra"
operatorVersion: "1.0.3"
kudoVersion: "0.17.4"
kubernetesVersion: "1.16.0"
appVersion: "3.11.7"
maintainers:
- name: Zain Malik
email: [email protected]
- name: Jan Schlicht
email: [email protected]
- name: Andreas Neumann
email: [email protected]
- name: Marcin Owsiany
email: [email protected]
- name: Murilo Pereira
email: [email protected]
url: http://cassandra.apache.org/
tasks:
- name: node
kind: Apply
spec:
resources:
- service.yaml
- tls-store-credentials.yaml
- generate-cassandra-yaml.yaml
- cassandra-topology.yaml
- cassandra-role-sa.yaml
- cassandra-env-sh.yaml
- jvm-options.yaml
- node-scripts.yaml
- generate-tls-artifacts-sh.yaml
- generate-cqlshrc-sh.yaml
- pdb.yaml
- generate-nodetool-ssl-properties.yaml
- stateful-set.yaml
- name: ext-service
kind: Toggle
spec:
parameter: EXTERNAL_SERVICE
resources:
- external-service.yaml
- name: monitor-deploy
kind: Toggle
spec:
parameter: PROMETHEUS_EXPORTER_ENABLED
resources:
- service-monitor.yaml
- cassandra-exporter-config-yml.yaml
- name: backup-deploy
kind: Toggle
spec:
parameter: BACKUP_RESTORE_ENABLED
resources:
- medusa-config-ini.yaml
- name: backup-cleanup
kind: Delete
spec:
resources:
- backup-job.yaml
- name: backup-node
kind: Apply
spec:
resources:
- backup-job.yaml
- name: recovery-controller
kind: Toggle
spec:
parameter: RECOVERY_CONTROLLER
resources:
- recovery-controller-rbac.yaml
- recovery-controller.yaml
- name: node-resolver-rbac
kind: Toggle
spec:
parameter: SERVICE_ACCOUNT_INSTALL
resources:
- node-resolver-rbac.yaml
- name: node-rbac
kind: Apply
spec:
resources:
- node-rbac.yaml
- name: repair-cleanup
kind: Delete
spec:
resources:
- repair-job.yaml
- name: repair-node
kind: Apply
spec:
resources:
- repair-job.yaml
plans:
deploy:
strategy: serial
phases:
- name: rbac
strategy: parallel
steps:
- name: rbac-deploy
tasks:
- node-rbac
- node-resolver-rbac
- name: nodes
strategy: serial
steps:
- name: pre-node
tasks:
- ext-service
- recovery-controller
- backup-deploy
- monitor-deploy
- name: node
tasks:
- node
repair:
strategy: serial
phases:
- name: repair
strategy: serial
steps:
- name: cleanup
tasks:
- repair-cleanup
- name: repair
tasks:
- repair-node
backup:
strategy: serial
phases:
- name: backup
strategy: serial
steps:
- name: cleanup
tasks:
- backup-cleanup
- name: backup
tasks:
- backup-node