forked from Altinity/clickhouse-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
01-incorrect-image-create.yaml
59 lines (56 loc) · 1.65 KB
/
01-incorrect-image-create.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
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "incorrect-image-1"
spec:
configuration:
clusters:
- name: adv
layout:
shards:
- replicas:
- templates:
podTemplate: clickhouse:19.3.5
- templates:
podTemplate: clickhouse:19.3.100
- templates:
podTemplate: clickhouse:19.3.7
templates:
podTemplates:
- name: clickhouse:19.3.5
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:19.3.5
ports:
- name: http
containerPort: 8123
- name: client
containerPort: 9000
- name: interserver
containerPort: 9009
- name: clickhouse:19.3.7
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:19.3.7
ports:
- name: http
containerPort: 8123
- name: client
containerPort: 9000
- name: interserver
containerPort: 9009
# Incorrect image
- name: clickhouse:19.3.100
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:19.3.100
ports:
- name: http
containerPort: 8123
- name: client
containerPort: 9000
- name: interserver
containerPort: 9009