-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restarting or removing the clickhouse-operator will cause Clickhouse to restart #855
Labels
Comments
The logs are as follows:
|
It would be helpful to see CHI manifest. |
apiVersion: "clickhouse.altinity.com/v1"
kind: ClickHouseInstallation
metadata:
name: clickhouse
spec:
restart: "RollingUpdate"
defaults:
templates:
dataVolumeClaimTemplate: clickhouse-data
podTemplate: clickhouse
serviceTemplate: clickhouse-default
configuration:
zookeeper:
nodes:
- host: zookeeper-0.zookeeper-headless
port: 2181
- host: zookeeper-1.zookeeper-headless
port: 2181
- host: zookeeper-2.zookeeper-headless
port: 2181
clusters:
- name: huis
layout:
shardsCount: 2
replicasCount: 2
profiles:
default/allow_experimental_map_type: 1
settings:
disable_internal_dns_cache: 1
prometheus/asynchronous_metrics: "true"
prometheus/endpoint: /metrics
prometheus/events: "true"
prometheus/metrics: "true"
prometheus/port: "8001"
prometheus/status_info: "true"
users:
clickhouse_admin/networks/ip: "::/0"
clickhouse_admin/password: "xxx"
clickhouse_admin/profile: default
clickhouse_admin/access_management: 1
templates:
podTemplates:
- name: clickhouse
podDistribution:
- type: ShardAntiAffinity
scope: Shard
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:21.6.5.37
ports:
- name: metrics
containerPort: 8001
resources:
requests:
memory: "512Mi"
cpu: "100m"
limits:
memory: "2048Mi"
cpu: "1"
volumeClaimTemplates:
- name: clickhouse-data
reclaimPolicy: Retain
spec:
storageClassName: rook-ceph-block-delete
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
serviceTemplates:
- name: clickhouse-default
generateName: clickhouse-server
spec:
ports:
- name: http
port: 8123
- name: tcp
port: 9000
type: ClusterIP |
@czhfe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Restarting or removing the clickhouse-operator will cause Clickhouse to restart
The text was updated successfully, but these errors were encountered: