-
Notifications
You must be signed in to change notification settings - Fork 0
/
irisCluster-basic.yaml
49 lines (45 loc) · 1.44 KB
/
irisCluster-basic.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
apiVersion: intersystems.com/v1alpha1
kind: IrisCluster
metadata:
name: sample
spec:
licenseKeySecret:
name: iris-key-secret
configSource:
name: iris-cpf
storageClassName: iris-ssd-storageclass
## create external IP address(es)for the cluster
## ("type: LoadBalancer" and "externalTrafficPolicy: Local" are required)
serviceTemplate:
spec:
type: NodePort
ports:
- name: MgmtPortal
nodePort: 30080
port: 52773
# type: LoadBalancer
# externalTrafficPolicy: Local
## topology: defines node types to be deployed; only data: is required
topology:
arbiter:
image: containers.intersystems.com/intersystems/arbiter:2022.1.0.209.0
data:
image: containers.intersystems.com/intersystems/iris:2022.1.0.209.0
shards: 1
mirrored: false
compute:
image: containers.intersystems.com/intersystems/iris:2022.1.0.209.0
replicas: 1
webgateway:
image: containers.intersystems.com/intersystems/webgateway-nginx:2022.1.0.209.0
type: nginx
replicas: 1
## override default size and other attributes of predefined storage
## volumes for data nodes (additional volume names: storageWIJ,
## storageJournal1, storageJournal2); can also be included in
## "compute:" definition
# storageDB:
# resources:
# requests:
# storage: 10Gi
# storageClassName: my-storage-class