-
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 #120 from Altinity/0.4.0
Release 0.4.0
- Loading branch information
Showing
60 changed files
with
2,553 additions
and
955 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
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
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
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
75 changes: 75 additions & 0 deletions
75
docs/examples/10-zones-01-simple-01-aws-pods-in-availability-zones.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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# | ||
# AWS-specific labels, applicable in 'nodeAffinity' statements | ||
# | ||
# beta.kubernetes.io/arch=amd64 | ||
# beta.kubernetes.io/instance-type=t2.medium | ||
# beta.kubernetes.io/os=linux | ||
# | ||
# failure-domain.beta.kubernetes.io/region=us-east-1 | ||
# failure-domain.beta.kubernetes.io/zone=us-east-1a | ||
# | ||
# kubernetes.io/hostname=ip-172-20-37-97.ec2.internal | ||
# kubernetes.io/role=node | ||
# node-role.kubernetes.io/node= | ||
# | ||
# kops.k8s.io/instancegroup=nodes2 | ||
# | ||
apiVersion: "clickhouse.altinity.com/v1" | ||
kind: "ClickHouseInstallation" | ||
metadata: | ||
name: "aws-zones" | ||
spec: | ||
configuration: | ||
clusters: | ||
- name: zoned-cluster | ||
layout: | ||
shards: | ||
- replicas: | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1a | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1a | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1a | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1b | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1b | ||
- templates: | ||
podTemplate: clickhouse-in-zone-us-east-1b | ||
|
||
templates: | ||
podTemplates: | ||
# Specify Pod Templates with affinity | ||
|
||
- name: clickhouse-in-zone-us-east-1a | ||
zone: | ||
values: | ||
- "us-east-1a" | ||
spec: | ||
containers: | ||
- name: clickhouse-pod | ||
image: yandex/clickhouse-server:19.3.7 | ||
ports: | ||
- name: http | ||
containerPort: 8123 | ||
- name: client | ||
containerPort: 9000 | ||
- name: interserver | ||
containerPort: 9009 | ||
|
||
- name: clickhouse-in-zone-us-east-1b | ||
zone: | ||
values: | ||
- "us-east-1b" | ||
spec: | ||
containers: | ||
- name: clickhouse-pod | ||
image: yandex/clickhouse-server:19.3.7 | ||
ports: | ||
- name: http | ||
containerPort: 8123 | ||
- name: client | ||
containerPort: 9000 | ||
- name: interserver | ||
containerPort: 9009 |
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,49 @@ | ||
# | ||
# AWS-specific labels, applicable in 'nodeAffinity' statements | ||
# | ||
# beta.kubernetes.io/arch=amd64 | ||
# beta.kubernetes.io/instance-type=t2.medium | ||
# beta.kubernetes.io/os=linux | ||
# | ||
# failure-domain.beta.kubernetes.io/region=us-east-1 | ||
# failure-domain.beta.kubernetes.io/zone=us-east-1a | ||
# | ||
# kubernetes.io/hostname=ip-172-20-37-97.ec2.internal | ||
# kubernetes.io/role=node | ||
# node-role.kubernetes.io/node= | ||
# | ||
# kops.k8s.io/instancegroup=nodes2 | ||
# | ||
apiVersion: "clickhouse.altinity.com/v1" | ||
kind: "ClickHouseInstallation" | ||
metadata: | ||
name: "zones-pod-host" | ||
spec: | ||
defaults: | ||
templates: | ||
podTemplate: clickhouse-per-host-in-zone-us-east-1a | ||
configuration: | ||
clusters: | ||
- name: zoned-cluster | ||
layout: | ||
shardsCount: 3 | ||
|
||
templates: | ||
podTemplates: | ||
# Specify Pod Templates with affinity | ||
- name: clickhouse-per-host-in-zone-us-east-1a | ||
zone: | ||
values: | ||
- "us-east-1a" | ||
distribution: "OnePerHost" | ||
spec: | ||
containers: | ||
- name: clickhouse-pod | ||
image: yandex/clickhouse-server:19.3.7 | ||
ports: | ||
- name: http | ||
containerPort: 8123 | ||
- name: client | ||
containerPort: 9000 | ||
- name: interserver | ||
containerPort: 9009 |
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
73 changes: 73 additions & 0 deletions
73
docs/examples/10-zones-03-advanced-03-pod-per-host-default-storage-class.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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# | ||
# AWS-specific labels, applicable in 'nodeAffinity' statements | ||
# | ||
# beta.kubernetes.io/arch=amd64 | ||
# beta.kubernetes.io/instance-type=t2.medium | ||
# beta.kubernetes.io/os=linux | ||
# | ||
# failure-domain.beta.kubernetes.io/region=us-east-1 | ||
# failure-domain.beta.kubernetes.io/zone=us-east-1a | ||
# | ||
# kubernetes.io/hostname=ip-172-20-37-97.ec2.internal | ||
# kubernetes.io/role=node | ||
# node-role.kubernetes.io/node= | ||
# | ||
# kops.k8s.io/instancegroup=nodes2 | ||
# | ||
apiVersion: "clickhouse.altinity.com/v1" | ||
kind: "ClickHouseInstallation" | ||
metadata: | ||
name: "ch-per-host-pvc" | ||
spec: | ||
defaults: | ||
templates: | ||
podTemplate: clickhouse-per-host | ||
volumeClaimTemplate: storage-vc-template | ||
configuration: | ||
templates: | ||
serviceTemplate: ch-service | ||
clusters: | ||
- name: zoned | ||
layout: | ||
shardsCount: 2 | ||
templates: | ||
serviceTemplates: | ||
- name: ch-service | ||
generateName: chendpoint | ||
spec: | ||
ports: | ||
- name: http | ||
port: 8123 | ||
- name: client | ||
port: 9000 | ||
type: LoadBalancer | ||
podTemplates: | ||
# Specify Pod Templates with affinity | ||
- name: clickhouse-per-host | ||
zone: | ||
key: "clickhouse" | ||
values: | ||
- "allow" | ||
distribution: "OnePerHost" | ||
spec: | ||
containers: | ||
- name: clickhouse-pod | ||
image: yandex/clickhouse-server:19.3.7 | ||
ports: | ||
- name: http | ||
containerPort: 8123 | ||
- name: client | ||
containerPort: 9000 | ||
- name: interserver | ||
containerPort: 9009 | ||
volumeMounts: | ||
- name: storage-vc-template | ||
mountPath: /var/lib/clickhouse | ||
volumeClaimTemplates: | ||
- name: storage-vc-template | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 10Gi |
Oops, something went wrong.