-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test 051_1 for 0.23.x -> 0.24 CHK volume migration
- Loading branch information
1 parent
e6dbc15
commit 9d0fc9c
Showing
5 changed files
with
158 additions
and
17 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
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
apiVersion: "clickhouse-keeper.altinity.com/v1" | ||
kind: "ClickHouseKeeperInstallation" | ||
metadata: | ||
name: test-051-chk | ||
spec: | ||
defaults: | ||
templates: | ||
podTemplate: default | ||
volumeClaimTemplate: default | ||
serviceTemplate: backwards-compatible | ||
templates: | ||
podTemplates: | ||
- name: default | ||
spec: | ||
containers: | ||
- name: clickhouse-keeper | ||
imagePullPolicy: IfNotPresent | ||
image: "clickhouse/clickhouse-keeper:24.3.5.46" | ||
volumeClaimTemplates: | ||
- name: default | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
volumeName: {volumeNamePlaceHolder} | ||
serviceTemplates: | ||
- name: backwards-compatible # operator 0.24 default service name is keeper-test-051-chk | ||
generateName: "test-051-chk" | ||
spec: | ||
ports: | ||
- name: zk | ||
port: 2181 | ||
type: ClusterIP | ||
clusterIP: None | ||
configuration: | ||
clusters: | ||
- name: single | ||
settings: | ||
# can be skipped, this is default | ||
logger/console: "true" | ||
keeper_server/tcp_port: "2181" | ||
# Required for backwards compatibility with operator 0.23.x | ||
keeper_server/log_storage_path: /var/lib/clickhouse-keeper/logs | ||
keeper_server/snapshot_storage_path: /var/lib/clickhouse-keeper/snapshots | ||
|
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 |
---|---|---|
|
@@ -26,6 +26,5 @@ spec: | |
- name: single | ||
settings: | ||
logger/console: "true" | ||
# listen_host: "0.0.0.0" | ||
keeper_server/tcp_port: "2181" | ||
|
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