Skip to content

Commit

Permalink
Merge pull request #2308 from lsst-sqre/hotfix/enable-nublado-3-prod
Browse files Browse the repository at this point in the history
Enable nublado3 at /n3 in IDF prod
  • Loading branch information
athornton authored Jul 13, 2023
2 parents b6d7dbe + 0c163d0 commit 4e9819e
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 1 deletion.
94 changes: 94 additions & 0 deletions applications/nublado/values-idfprod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
controller:
googleServiceAccount: "nublado-controller@science-platform-stable-6994.iam.gserviceaccount.com"
slackAlerts: true
config:
images:
source:
type: "google"
location: "us-central1"
projectId: "rubin-shared-services-71ec"
repository: "sciplat"
image: "sciplat-lab"
recommendedTag: "recommended"
numReleases: 1
numWeeklies: 2
numDailies: 3
lab:
env:
AUTO_REPO_SPECS: "https://github.com/lsst-sqre/system-test@prod,https://github.com/rubin-dp0/tutorial-notebooks@prod"
AWS_SHARED_CREDENTIALS_FILE: "/opt/lsst/software/jupyterlab/secrets/aws-credentials.ini"
PGPASSFILE: "/opt/lsst/software/jupyterlab/secrets/postgres-credentials.txt"
GOOGLE_APPLICATION_CREDENTIALS: "/opt/lsst/software/jupyterlab/secrets/butler-gcs-idf-creds.json"
DAF_BUTLER_REPOSITORY_INDEX: "s3://butler-us-central1-repo-locations/data-repos.yaml"
HUB_ROUTE: "/n3/hub"
S3_ENDPOINT_URL: "https://storage.googleapis.com"
NO_ACTIVITY_TIMEOUT: "432000"
CULL_KERNEL_IDLE_TIMEOUT: "432000"
CULL_TERMINAL_INACTIVE_TIMEOUT: "432000"

sizes:
small:
cpu: 1.0
memory: 4Gi
medium:
cpu: 2.0
memory: 8Gi
large:
cpu: 4.0
memory: 16Gi
initContainers:
- name: "initdir"
image: "ghcr.io/lsst-sqre/initdir:0.0.4"
privileged: true
volumes:
- containerPath: "/home"
mode: "rw"
source:
serverPath: "/share1/home"
server: "10.13.105.122"
type: "nfs"
secrets:
- secretName: "nublado-lab-secret"
secretKey: "aws-credentials.ini"
- secretName: "nublado-lab-secret"
secretKey: "butler-gcs-idf-creds.json"
- secretName: "nublado-lab-secret"
secretKey: "butler-hmac-idf-creds.json"
- secretName: "nublado-lab-secret"
secretKey: "postgres-credentials.txt"
volumes:
- containerPath: "/home"
mode: "rw"
source:
serverPath: "/share1/home"
server: "10.13.105.122"
type: "nfs"
- containerPath: "/project"
mode: "rw"
source:
serverPath: "/share1/project"
server: "10.13.105.122"
type: "nfs"
- containerPath: "/scratch"
mode: "rw"
source:
serverPath: "/share1/scratch"
server: "10.13.105.122"
type: "nfs"

jupyterhub:
hub:
baseUrl: "/n3"
config:
ServerApp:
shutdown_no_activity_timeout: 432000
db:
url: "postgresql://[email protected]/nublado3"

cull:
enabled: true
users: false
removeNamedServers: false
timeout: 432000
every: 300
maxAge: 2160000
3 changes: 3 additions & 0 deletions applications/postgres/values-idfprod.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
jupyterhub_db:
user: "jovyan"
db: "jupyterhub"
nublado3_db:
user: "nublado3"
db: "nublado3"
2 changes: 1 addition & 1 deletion environments/values-idfprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ narrativelog:
noteburst:
enabled: false
nublado:
enabled: false
enabled: true
nublado2:
enabled: true
plot-navigator:
Expand Down

0 comments on commit 4e9819e

Please sign in to comment.