-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'altinity/0.24.1' into 0.24.1
- Loading branch information
Showing
9 changed files
with
188 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 19 additions & 26 deletions
45
docs/chk-examples/clickhouse-keeper-1-node-for-test-only.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,44 @@ | ||
--- | ||
# Fake Service to drop-in replacement in tests | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
# DNS would be like zookeeper.namespace.svc | ||
name: zookeeper | ||
labels: | ||
app: zookeeper | ||
spec: | ||
ports: | ||
- port: 2181 | ||
name: client | ||
- port: 7000 | ||
name: prometheus | ||
selector: | ||
clickhouse-keeper.altinity.com/chk: clickhouse-keeper | ||
clickhouse-keeper.altinity.com/ready: "yes" | ||
--- | ||
apiVersion: "clickhouse-keeper.altinity.com/v1" | ||
kind: "ClickHouseKeeperInstallation" | ||
metadata: | ||
name: clickhouse-keeper | ||
labels: | ||
app: clickhouse-keeper | ||
spec: | ||
defaults: | ||
templates: | ||
podTemplate: clickhouse-keeper | ||
volumeClaimTemplate: data-volume | ||
podTemplate: latest-with-volume-mounts | ||
clusterServiceTemplate: zookeeper | ||
configuration: | ||
clusters: | ||
- name: "test-only" | ||
- name: test | ||
layout: | ||
replicasCount: 1 | ||
settings: | ||
keeper_server/tcp_port: "2181" | ||
templates: | ||
podTemplates: | ||
- name: latest-with-volume-mounts | ||
- name: clickhouse-keeper | ||
spec: | ||
containers: | ||
- name: clickhouse-keeper | ||
imagePullPolicy: Always | ||
image: "clickhouse/clickhouse-keeper:latest-alpine" | ||
image: "clickhouse/clickhouse-keeper:24.8" | ||
volumeClaimTemplates: | ||
- name: data-volume | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storage: 100Mi | ||
serviceTemplates: # Service drop-in replacement in tests | ||
- name: zookeeper | ||
generateName: zookeeper | ||
spec: | ||
ports: | ||
- port: 2181 | ||
name: client | ||
- port: 7000 | ||
name: prometheus | ||
type: ClusterIP | ||
clusterIP: None |
57 changes: 0 additions & 57 deletions
57
docs/chk-examples/clickhouse-keeper-3-node-for-test-only-version-24.yaml
This file was deleted.
Oops, something went wrong.
45 changes: 19 additions & 26 deletions
45
docs/chk-examples/clickhouse-keeper-3-node-for-test-only.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,44 @@ | ||
--- | ||
# Fake Service to drop-in replacement in tests | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
# DNS would be like zookeeper.namespace.svc | ||
name: zookeeper | ||
labels: | ||
app: zookeeper | ||
spec: | ||
ports: | ||
- port: 2181 | ||
name: client | ||
- port: 7000 | ||
name: prometheus | ||
selector: | ||
clickhouse-keeper.altinity.com/chk: clickhouse-keeper | ||
clickhouse-keeper.altinity.com/ready: "yes" | ||
--- | ||
apiVersion: "clickhouse-keeper.altinity.com/v1" | ||
kind: "ClickHouseKeeperInstallation" | ||
metadata: | ||
name: clickhouse-keeper | ||
labels: | ||
app: clickhouse-keeper | ||
spec: | ||
defaults: | ||
templates: | ||
podTemplate: clickhouse-keeper | ||
volumeClaimTemplate: data-volume | ||
podTemplate: latest-with-volume-mounts | ||
clusterServiceTemplate: zookeeper | ||
configuration: | ||
clusters: | ||
- name: "test-only" | ||
- name: test | ||
layout: | ||
replicasCount: 3 | ||
settings: | ||
keeper_server/tcp_port: "2181" | ||
templates: | ||
podTemplates: | ||
- name: latest-with-volume-mounts | ||
- name: clickhouse-keeper | ||
spec: | ||
containers: | ||
- name: clickhouse-keeper | ||
imagePullPolicy: Always | ||
image: "clickhouse/clickhouse-keeper:latest-alpine" | ||
image: "clickhouse/clickhouse-keeper:24.8" | ||
volumeClaimTemplates: | ||
- name: data-volume | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storage: 100Mi | ||
serviceTemplates: # Service drop-in replacement in tests | ||
- name: zookeeper | ||
generateName: zookeeper | ||
spec: | ||
ports: | ||
- port: 2181 | ||
name: client | ||
- port: 7000 | ||
name: prometheus | ||
type: ClusterIP | ||
clusterIP: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.