-
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 pull request #76 from Altinity/release-0.2.1
Release 0.2.1
- Loading branch information
Showing
33 changed files
with
800 additions
and
308 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
File renamed without changes.
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,37 @@ | ||
apiVersion: "clickhouse.altinity.com/v1" | ||
kind: "ClickHouseInstallation" | ||
metadata: | ||
name: "settings-01" | ||
spec: | ||
configuration: | ||
users: | ||
test/password: qwerty | ||
test/networks/ip: | ||
- "::1" | ||
- "127.0.0.1" | ||
test/profile: test_profile | ||
test/quota: test_quota | ||
test/allow_databases/database: | ||
- "dbname1" | ||
- "dbname2" | ||
- "dbname3" | ||
admin/password_sha256_hex: 8bd66e4932b4968ec111da24d7e42d399a05cb90bf96f587c3fa191c56c401f8 | ||
admin/networks/ip: 0.0.0.0/0 | ||
admin/profile: default | ||
admin/quota: default | ||
readonly/profile: readonly | ||
readonly/quota: default | ||
profiles: | ||
test_profile/max_memory_usage: "1000000000" | ||
test_profile/readonly: "1" | ||
readonly/readonly: "1" | ||
quotas: | ||
test_quota/interval/duration: "3600" | ||
settings: | ||
compression/case/method: zstd | ||
clusters: | ||
- name: "standard" | ||
layout: | ||
type: Standard | ||
shardsCount: 1 | ||
replicasCount: 1 |
26 changes: 0 additions & 26 deletions
26
docs/examples/chi-example-02-default-pv-no-replication.yaml
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
docs/examples/chi-example-04-no-pv-custom-configuration.yaml
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
#!/bin/bash | ||
|
||
DEV_NAMESPACE="dev" | ||
|
||
#INSTALL_FROM_ALTINITY_RELEASE_DOCKERHUB="yes" | ||
INSTALL_FROM_ALTINITY_RELEASE_DOCKERHUB="no" | ||
|
||
#INSTALL_FROM_PERSONAL_DEVELOP_DOCKERHUB="yes" | ||
INSTALL_FROM_PERSONAL_DEVELOP_DOCKERHUB="no" | ||
|
||
# In case both INSTALL_* options are "no" we are going to run operator manually, not from dockerhub |
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 |
---|---|---|
@@ -1,17 +1,24 @@ | ||
#!/bin/bash | ||
|
||
DEV_NAMESPACE="dev" | ||
. ./dev-config.sh | ||
|
||
echo "Create ${DEV_NAMESPACE} namespace" | ||
kubectl create namespace "${DEV_NAMESPACE}" | ||
|
||
# Full dev install in k8s | ||
#kubectl -n "${DEV_NAMESPACE}" apply -f ./clickhouse-operator-install.yaml | ||
if [[ ${INSTALL_FROM_ALTINITY_RELEASE_DOCKERHUB} == "yes" ]]; then | ||
# Full dev install in k8s | ||
kubectl -n "${DEV_NAMESPACE}" apply -f ./clickhouse-operator-install.yaml | ||
|
||
# Partial dev install | ||
# Installation done | ||
exit $? | ||
fi | ||
|
||
# Dev install from all components | ||
echo "Install operator requirements" | ||
kubectl -n "${DEV_NAMESPACE}" apply -f ./custom-resource-definition.yaml | ||
kubectl -n "${DEV_NAMESPACE}" apply -f ./rbac-service.yaml | ||
|
||
# Install operator from Docker Registry (dockerhub or whatever) | ||
kubectl -n "${DEV_NAMESPACE}" apply -f ./deployment-dockerhub-sunsingerus-dev.yaml | ||
if [[ ${INSTALL_FROM_PERSONAL_DEVELOP_DOCKERHUB} == "yes" ]]; then | ||
# Install operator from Docker Registry (dockerhub or whatever) | ||
kubectl -n "${DEV_NAMESPACE}" apply -f ./deployment-dockerhub-sunsingerus-dev.yaml | ||
fi |
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,5 +1,7 @@ | ||
#!/bin/bash | ||
|
||
echo "Reset dev env" | ||
. ./dev-config.sh | ||
|
||
echo "Reset dev env via ${DEV_NAMESPACE} namespace" | ||
./dev-delete.sh && ./dev-install.sh | ||
|
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,22 +1,24 @@ | ||
#!/bin/bash | ||
|
||
. ./dev-config.sh | ||
|
||
echo "=== Dev Pods ===" | ||
kubectl -n dev -o wide get pod | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get pod | ||
|
||
echo "=== Dev Services ===" | ||
kubectl -n dev -o wide get service | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get service | ||
|
||
echo "=== Dev Statefule Sets ===" | ||
kubectl -n dev -o wide get statefulset | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get statefulset | ||
|
||
echo "=== Dev Config Maps ===" | ||
kubectl -n dev -o wide get configmap | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get configmap | ||
|
||
echo "=== Dev PVC ===" | ||
kubectl get storageclasses | ||
|
||
echo "=== Dev PVC ===" | ||
kubectl -n dev -o wide get persistentvolumeclaims | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get persistentvolumeclaims | ||
|
||
echo "=== Dev PV ===" | ||
kubectl -n dev -o wide get persistentvolume | ||
kubectl -n "${DEV_NAMESPACE}" -o wide get persistentvolume |
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,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
watch -n1 "kubectl -n dev get all,configmap" | ||
. ./dev-config.sh | ||
|
||
watch -n1 "kubectl -n ${DEV_NAMESPACE} get all,configmap,endpoints" |
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
Oops, something went wrong.