forked from Altinity/clickhouse-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path05-incorrect-pod-template.yaml
34 lines (34 loc) · 1.01 KB
/
05-incorrect-pod-template.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
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
name: "incorrect-pod-1"
spec:
templates:
podTemplates:
- name: clickhouse-pod-template
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:19.3.4
ports:
- name: http
containerPort: 8123
- name: client
containerPort: 9000
- name: interserver
containerPort: 9009
# Specify extremely limited memory resources
# ClickHouse would be killed by OOM and Pod passes through 'OOMKilled' state into 'CrashLoopBackOff'
resources:
requests:
memory: 32Mi
limits:
memory: 32Mi
configuration:
clusters:
- name: incorrect-pod
layout:
shardsCount: 3
replicasCount: 1
templates:
podTemplate: clickhouse-pod-template