Skip to content

Commit

Permalink
deploy on ovh2.mybinder.org
Browse files Browse the repository at this point in the history
now that it seems like we're keeping this cluster
  • Loading branch information
minrk committed Nov 17, 2022
1 parent 971af72 commit 22285d2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ jobs:
experimental: false

- federation_member: ovh2
binder_url: https://ovh-test.mybinder.org
hub_url: https://hub.ovh-test.mybinder.org
binder_url: https://ovh2.mybinder.org
hub_url: https://hub.ovh2.mybinder.org
# image-prefix should match ovh registry config in secrets/config/ovh.yaml
chartpress_args: "--push --image-prefix=2lmrrh8f.gra7.container-registry.ovh.net/mybinder-chart/mybinder-"
helm_version: ""
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-helm-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
k3s-channel: "v1.21"
- release: ovh
k3s-channel: "v1.20"
- release: ovh2
k3s-channel: "v1.23"
- release: turing
k3s-channel: "v1.21"

Expand Down
24 changes: 12 additions & 12 deletions config/ovh2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ userNodeSelector: &userNodeSelector
coreNodeSelector: &coreNodeSelector
mybinder.org/pool-type: core

# TODO: rename ovh-test to ovh2

binderhub:
config:
BinderHub:
pod_quota: 10
hub_url: https://hub.ovh-test.mybinder.org
hub_url: https://hub.ovh2.mybinder.org
badge_base_url: https://mybinder.org
build_node_selector: *userNodeSelector
sticky_builds: true
Expand All @@ -37,7 +35,7 @@ binderhub:

ingress:
hosts:
- ovh-test.mybinder.org
- ovh2.mybinder.org

jupyterhub:
singleuser:
Expand All @@ -55,11 +53,11 @@ binderhub:
cpu: "1"
ingress:
hosts:
- hub.ovh-test.mybinder.org
- hub.ovh2.mybinder.org
tls:
- secretName: kubelego-tls-hub
hosts:
- hub.ovh-test.mybinder.org
- hub.ovh2.mybinder.org
scheduling:
userPlaceholder:
replicas: 5
Expand All @@ -79,10 +77,10 @@ grafana:
nodeSelector: *coreNodeSelector
ingress:
hosts:
- grafana.ovh-test.mybinder.org
- grafana.ovh2.mybinder.org
tls:
- hosts:
- grafana.ovh-test.mybinder.org
- grafana.ovh2.mybinder.org
secretName: kubelego-tls-grafana
datasources:
datasources.yaml:
Expand All @@ -91,7 +89,7 @@ grafana:
- name: prometheus
orgId: 1
type: prometheus
url: https://prometheus.ovh-test.mybinder.org
url: https://prometheus.ovh2.mybinder.org
access: direct
isDefault: true
editable: false
Expand All @@ -106,20 +104,22 @@ prometheus:
retention: 30d
ingress:
hosts:
- prometheus.ovh-test.mybinder.org
- prometheus.ovh2.mybinder.org
tls:
- hosts:
- prometheus.ovh-test.mybinder.org
- prometheus.ovh2.mybinder.org
secretName: kubelego-tls-prometheus

ingress-nginx:
controller:
scope:
enabled: true
service:
loadBalancerIP: 162.19.17.37

static:
ingress:
hosts:
- static.ovh-test.mybinder.org
- static.ovh2.mybinder.org
tls:
secretName: kubelego-tls-static

0 comments on commit 22285d2

Please sign in to comment.