Skip to content

Commit

Permalink
adjust jhub config #21
Browse files Browse the repository at this point in the history
  • Loading branch information
goseind committed Feb 13, 2023
1 parent ac6c0c4 commit 8cbf9fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions iac/tf/cluster/jhub/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@
# Available chart versions: https://jupyterhub.github.io/helm-chart/
#

hub:
db:
type: postgres
upgrade: true

proxy:
service:
type: LoadBalancer
loadBalancerIP: 137.138.226.35 # may change if LB needs to be created manually due to bug: openstack loadbalancer create --name <lb-name> --vip-network-id <network-id>
loadBalancerIP: 137.138.226.36 # may change if LB needs to be created manually due to bug: openstack loadbalancer create --name <lb-name> --vip-network-id <network-id>
annotations:
loadbalancer.openstack.org/network-id: "798d00f3-2af9-48a0-a7c3-a26d909a2d64"
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
Expand All @@ -21,4 +26,7 @@ proxy:
singleuser:
storage:
type: none


# ingress:
# enabled: true # can be an alternative for LBaaS in combination with proxy.service.type: ClusterIP
# ingressClassName: nginx
2 changes: 1 addition & 1 deletion iac/tf/cluster/main-helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ resource "helm_release" "jupyterhub-chart" {

set {
name = "hub.db.url"
value = data.kubernetes_secret_v1.rucio_db_secret.data.dbconnectstring
value = data.kubernetes_secret_v1.jhub_db_secret.data.dbconnectstring
}
}

Expand Down
2 changes: 1 addition & 1 deletion iac/tf/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ variable "logging-producer" {
variable "reana-share-name" {
description = "The reana share name"
type = string
default = "reana_sh1"
default = "cvre-reana"
}

variable "cephfs-type" {
Expand Down

0 comments on commit 8cbf9fe

Please sign in to comment.