Skip to content
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

Enable nublado3 at /n3 in IDF prod #2308

Merged
merged 2 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading