Skip to content

Commit 3428e54

Browse files
authored
Merge pull request #3265 from rgaiacs/3264-new-gesis-server
Configure new GESIS Server at Hetzner Online GmbH
2 parents b0d4d8e + b6e58b4 commit 3428e54

File tree

6 files changed

+151
-1
lines changed

6 files changed

+151
-1
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ jobs:
232232
helm_version: ""
233233
experimental: false
234234

235+
- federation_member: hetzner-gesis
236+
chartpress_args: ""
237+
helm_version: ""
238+
experimental: false
239+
235240
# OVH deployment paused
236241
# - federation_member: ovh2
237242
# helm_version: ""

config/hetzner-gesis.yaml

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
projectName: hetzner-gesis
2+
3+
registry:
4+
enabled: true
5+
replicas: 1
6+
config:
7+
storage:
8+
# We share the same S3 storage with 2i2c
9+
s3:
10+
regionendpoint: https://nbg1.your-objectstorage.com
11+
bucket: mybinder-2i2c-registry
12+
region: does-not-matter
13+
storage:
14+
filesystem:
15+
storageClassName: "local-path"
16+
ingress:
17+
hosts:
18+
- registry.gesis.mybinder.org
19+
20+
cryptnono:
21+
detectors:
22+
monero:
23+
enabled: false
24+
execwhacker:
25+
containerdHostPath: /run/k3s/containerd/containerd.sock
26+
27+
binderhub:
28+
config:
29+
BinderHub:
30+
hub_url: https://hub.gesis.mybinder.org
31+
badge_base_url: https://mybinder.org
32+
sticky_builds: true
33+
# We share the registry with 2i2c
34+
image_prefix: registry.2i2c.mybinder.org/i-
35+
KubernetesBuildExecutor:
36+
docker_host: /var/run/dind/docker.sock
37+
repo2docker_extra_args:
38+
# try to avoid timeout pushing to local registry
39+
# default is 60
40+
# this must have no spaces to be processed by repo2docker correctly
41+
- '--DockerEngine.extra_init_args={"timeout":1200}'
42+
43+
LaunchQuota:
44+
total_quota: 300
45+
46+
replicas: 2
47+
48+
extraVolumes:
49+
- name: secrets
50+
secret:
51+
secretName: events-archiver-secrets
52+
extraVolumeMounts:
53+
- name: secrets
54+
mountPath: /secrets
55+
readOnly: true
56+
extraEnv:
57+
GOOGLE_APPLICATION_CREDENTIALS: /secrets/service-account.json
58+
59+
dind:
60+
resources:
61+
requests:
62+
cpu: "4"
63+
memory: 12Gi
64+
limits:
65+
cpu: "8"
66+
memory: 16Gi
67+
68+
ingress:
69+
hosts:
70+
- gesis.mybinder.org
71+
72+
jupyterhub:
73+
# proxy:
74+
# chp:
75+
# resources:
76+
# requests:
77+
# cpu: "1"
78+
# limits:
79+
# cpu: "1"
80+
ingress:
81+
hosts:
82+
- hub.gesis.mybinder.org
83+
tls:
84+
- secretName: kubelego-tls-hub
85+
hosts:
86+
- hub.gesis.mybinder.org
87+
88+
imageCleaner:
89+
# handled by buildkit pruner
90+
enabled: false
91+
92+
grafana:
93+
ingress:
94+
hosts:
95+
- grafana.gesis.mybinder.org
96+
tls:
97+
- hosts:
98+
- grafana.gesis.mybinder.org
99+
secretName: kubelego-tls-grafana
100+
datasources:
101+
datasources.yaml:
102+
apiVersion: 1
103+
datasources:
104+
- name: prometheus
105+
orgId: 1
106+
type: prometheus
107+
url: https://prometheus.gesis.mybinder.org
108+
access: direct
109+
isDefault: true
110+
editable: false
111+
# persistence:
112+
# storageClassName: csi-cinder-high-speed
113+
114+
prometheus:
115+
server:
116+
persistentVolume:
117+
size: 50Gi
118+
ingress:
119+
hosts:
120+
- prometheus.gesis.mybinder.org
121+
tls:
122+
- hosts:
123+
- prometheus.gesis.mybinder.org
124+
secretName: kubelego-tls-prometheus
125+
126+
ingress-nginx:
127+
controller:
128+
replicas: 1
129+
scope:
130+
enabled: true
131+
service:
132+
loadBalancerIP: 116.203.245.43
133+
134+
static:
135+
ingress:
136+
hosts:
137+
- static.gesis.mybinder.org
138+
tls:
139+
secretName: kubelego-tls-static

deploy.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
}
3232

3333
# Projects using raw KUBECONFIG files
34-
KUBECONFIG_CLUSTERS = {"localhost", "ovh2", "hetzner-2i2c", "hetzner-2i2c-bare"}
34+
KUBECONFIG_CLUSTERS = {
35+
"localhost",
36+
"ovh2",
37+
"hetzner-2i2c",
38+
"hetzner-2i2c-bare",
39+
"hetzner-gesis",
40+
}
3541

3642
# Mapping of config name to cluster name for AWS EKS deployments
3743
AWS_DEPLOYMENTS = {"curvenote": "binderhub"}
2.92 KB
Binary file not shown.

secrets/hetzner-gesis.key

454 Bytes
Binary file not shown.

secrets/hetzner-gesis.key.pub

134 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)