-
Notifications
You must be signed in to change notification settings - Fork 5
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 #735 from MetaCell/feature/CH-100
CH-100 Add preliminary docker-compose support
- Loading branch information
Showing
371 changed files
with
17,340 additions
and
34,784 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
connexion[swagger-ui]==2.14.2 | ||
swagger-ui-bundle >= 0.0.2 | ||
Flask == 2.2.5 | ||
swagger-ui-bundle==0.0.9 | ||
python_dateutil >= 2.6.0 | ||
setuptools >= 21.0.0 | ||
Flask<3.0.0 | ||
|
||
|
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
97 changes: 97 additions & 0 deletions
97
applications/events/deploy/templates-compose/deployments.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,97 @@ | ||
{{- define "events.deployment" }} | ||
events: | ||
networks: | ||
- ch | ||
image: solsson/kafka:2.3.0@sha256:b59603a8c0645f792fb54e9571500e975206352a021d6a116b110945ca6c3a1d | ||
ports: | ||
- "9094:9092" | ||
expose: | ||
- 5555 | ||
- 9094 | ||
- 9092 | ||
environment: | ||
- CLASSPATH=/opt/kafka/libs/extensions/* | ||
- KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:/etc/kafka/log4j.properties | ||
- JMX_PORT=5555 | ||
command: | ||
- "./bin/kafka-server-start.sh" | ||
- "/etc/kafka/server.properties" | ||
- "--override" | ||
- "default.replication.factor=1" | ||
- "--override" | ||
- "min.insync.replicas=1" | ||
- "--override" | ||
- "offsets.topic.replication.factor=1" | ||
- "--override" | ||
- "offsets.topic.num.partitions=1" | ||
depends_on: | ||
events-kafka-init: | ||
condition: service_completed_successfully | ||
|
||
events-kafka-init: | ||
networks: | ||
- ch | ||
image: solsson/kafka-initutils@sha256:f6d9850c6c3ad5ecc35e717308fddb47daffbde18eb93e98e031128fe8b899ef | ||
command: | ||
- "/bin/bash" | ||
- "/etc/kafka-configmap/init.sh" | ||
environment: | ||
|
||
pzoo: | ||
networks: | ||
- ch | ||
expose: | ||
- 2181 | ||
- 2888 | ||
- 3888 | ||
image: solsson/kafka:2.3.0@sha256:b59603a8c0645f792fb54e9571500e975206352a021d6a116b110945ca6c3a1d | ||
command: | ||
- "./bin/zookeeper-server-start.sh" | ||
- "/etc/kafka/zookeeper.properties" | ||
environment: | ||
- KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:/etc/kafka/log4j.properties | ||
depends_on: | ||
events-pzoo-init: | ||
condition: service_completed_successfully | ||
|
||
events-pzoo-init: | ||
networks: | ||
- ch | ||
expose: | ||
image: solsson/kafka-initutils@sha256:f6d9850c6c3ad5ecc35e717308fddb47daffbde18eb93e98e031128fe8b899ef | ||
command: | ||
- "/bin/bash" | ||
- "/etc/kafka-configmap/init.sh" | ||
environment: | ||
- PZOO_REPLICAS=1 | ||
- ZOO_REPLICAS=0 | ||
|
||
zoo: | ||
networks: | ||
- ch | ||
expose: | ||
- 2181 | ||
- 2888 | ||
- 3888 | ||
image: solsson/kafka:2.3.0@sha256:b59603a8c0645f792fb54e9571500e975206352a021d6a116b110945ca6c3a1d | ||
command: | ||
- "./bin/zookeeper-server-start.sh" | ||
- "/etc/kafka/zookeeper.properties" | ||
environment: | ||
- KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:/etc/kafka/log4j.properties | ||
depends_on: | ||
events-zoo-init: | ||
condition: service_completed_successfully | ||
|
||
events-zoo-init: | ||
networks: | ||
- ch | ||
image: solsson/kafka-initutils@sha256:f6d9850c6c3ad5ecc35e717308fddb47daffbde18eb93e98e031128fe8b899ef | ||
command: | ||
- "/bin/bash" | ||
- "/etc/kafka-configmap/init.sh" | ||
environment: | ||
- PZOO_REPLICAS=1 | ||
- ZOO_REPLICAS=0 | ||
- ID_OFFSET=2 | ||
{{- end }} |
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
19 changes: 19 additions & 0 deletions
19
applications/nfsserver/deploy/templates-compose/nfsserver-deployment.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,19 @@ | ||
{{- define "nfsserver.deployment" }} | ||
{{- with .apps.nfsserver}} | ||
|
||
{{ .name }}: | ||
image: {{ .harness.deployment.image }} | ||
environment: | ||
# NFS useDNS? {{ .nfs.useDNS }} | ||
{{- if .nfs.useDNS }} | ||
- NFS_SERVER={{ printf "nfs-server.%s.svc.cluster.local" .namespace }} | ||
{{- end }} | ||
- NFS_PATH={{ .nfs.path }} | ||
- PROVISIONER_NAME={{ printf "%s-nfs-provisioner" .namespace }} | ||
|
||
volumes: | ||
- type: volume | ||
source: {{ .nfs.volumeName }} | ||
target: {{ .nfs.path }} | ||
{{- end }} | ||
{{- end }} |
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,11 +1,3 @@ | ||
connexion[swagger-ui] >= 2.6.0; python_version>="3.6" | ||
# 2.3 is the last version that supports python 3.4-3.5 | ||
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4" | ||
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug | ||
# we must peg werkzeug versions below to fix connexion | ||
# https://github.com/zalando/connexion/pull/1044 | ||
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4" | ||
swagger-ui-bundle >= 0.0.2 | ||
python_dateutil >= 2.6.0 | ||
setuptools >= 21.0.0 | ||
Flask == 2.1.1 | ||
connexion[swagger-ui]==2.14.2 | ||
Flask == 2.2.5 | ||
swagger-ui-bundle==0.0.9 |
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 |
---|---|---|
|
@@ -3,9 +3,7 @@ harness: | |
soft: | ||
- workflows | ||
- events | ||
- accounts | ||
- common | ||
- nfsserver | ||
- jupyterhub | ||
accounts: | ||
roles: | ||
|
Oops, something went wrong.