-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new OVH cluster #2414
Merged
Merged
new OVH cluster #2414
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
62cb6e1
deploy new ovh cluster, registry with terraform
minrk 28b476b
copy image-pull-secret creation from z2jh chart
minrk 1178c85
add new OVH cluster to deployments
minrk e269370
fix node pool type, image prefix for ovh2
minrk 329ca84
put the cluster on a private network
minrk 77abb5e
migrate ovh state to ovh s3 bucket
minrk 01a829f
chart images need to be public (for now)
minrk 0c560ef
pick b2-15, r2-60 node flavors for ovh2
minrk 971af72
ovh2: put prometheus, grafana on core nodes
minrk 22285d2
deploy on ovh2.mybinder.org
minrk 81f07f7
more ovh terraform notes
minrk d28b1cc
bump ovh cluster to 1.24
minrk b08f400
patch coredns memory resources on ovh
minrk 03e64d4
remove duplicate imagePullSecret from z2jh
minrk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ travis/crypt-key | |
env | ||
|
||
.terraform | ||
.terraform.lock.hcl |
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,125 @@ | ||
projectName: ovh2 | ||
|
||
userNodeSelector: &userNodeSelector | ||
mybinder.org/pool-type: users | ||
coreNodeSelector: &coreNodeSelector | ||
mybinder.org/pool-type: core | ||
|
||
binderhub: | ||
config: | ||
BinderHub: | ||
pod_quota: 10 | ||
hub_url: https://hub.ovh2.mybinder.org | ||
badge_base_url: https://mybinder.org | ||
build_node_selector: *userNodeSelector | ||
sticky_builds: true | ||
image_prefix: 2lmrrh8f.gra7.container-registry.ovh.net/mybinder-builds/r2d-g5b5b759 | ||
DockerRegistry: | ||
# Docker Registry uses harbor | ||
# ref: https://github.com/goharbor/harbor/wiki/Harbor-FAQs#api | ||
token_url: "https://2lmrrh8f.gra7.container-registry.ovh.net/service/token?service=harbor-registry" | ||
|
||
replicas: 1 | ||
nodeSelector: *coreNodeSelector | ||
|
||
extraVolumes: | ||
- name: secrets | ||
secret: | ||
secretName: events-archiver-secrets | ||
extraVolumeMounts: | ||
- name: secrets | ||
mountPath: /secrets | ||
readOnly: true | ||
extraEnv: | ||
GOOGLE_APPLICATION_CREDENTIALS: /secrets/service-account.json | ||
|
||
ingress: | ||
hosts: | ||
- ovh2.mybinder.org | ||
|
||
jupyterhub: | ||
singleuser: | ||
nodeSelector: *userNodeSelector | ||
hub: | ||
nodeSelector: *coreNodeSelector | ||
|
||
proxy: | ||
chp: | ||
nodeSelector: *coreNodeSelector | ||
resources: | ||
requests: | ||
cpu: "1" | ||
limits: | ||
cpu: "1" | ||
ingress: | ||
hosts: | ||
- hub.ovh2.mybinder.org | ||
tls: | ||
- secretName: kubelego-tls-hub | ||
hosts: | ||
- hub.ovh2.mybinder.org | ||
scheduling: | ||
userPlaceholder: | ||
replicas: 5 | ||
userScheduler: | ||
nodeSelector: *coreNodeSelector | ||
|
||
imageCleaner: | ||
# Use 40GB as upper limit, size is given in bytes | ||
imageGCThresholdHigh: 40e9 | ||
imageGCThresholdLow: 30e9 | ||
imageGCThresholdType: "absolute" | ||
|
||
cryptnono: | ||
enabled: false | ||
|
||
grafana: | ||
nodeSelector: *coreNodeSelector | ||
ingress: | ||
hosts: | ||
- grafana.ovh2.mybinder.org | ||
tls: | ||
- hosts: | ||
- grafana.ovh2.mybinder.org | ||
secretName: kubelego-tls-grafana | ||
datasources: | ||
datasources.yaml: | ||
apiVersion: 1 | ||
datasources: | ||
- name: prometheus | ||
orgId: 1 | ||
type: prometheus | ||
url: https://prometheus.ovh2.mybinder.org | ||
access: direct | ||
isDefault: true | ||
editable: false | ||
persistence: | ||
storageClassName: csi-cinder-high-speed | ||
|
||
prometheus: | ||
server: | ||
nodeSelector: *coreNodeSelector | ||
persistentVolume: | ||
size: 50Gi | ||
retention: 30d | ||
ingress: | ||
hosts: | ||
- prometheus.ovh2.mybinder.org | ||
tls: | ||
- hosts: | ||
- prometheus.ovh2.mybinder.org | ||
secretName: kubelego-tls-prometheus | ||
|
||
ingress-nginx: | ||
controller: | ||
scope: | ||
enabled: true | ||
service: | ||
loadBalancerIP: 162.19.17.37 | ||
|
||
static: | ||
ingress: | ||
hosts: | ||
- static.ovh2.mybinder.org | ||
tls: | ||
secretName: kubelego-tls-static |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mael-le-gal coredns was getting OOMKilled after we applied our coredns config to ban a bunch of IPs, so we have to raise this a bit. I'm not sure if that's feedback that would be useful to you.