Kubernetes at CERN
Kubernetes at CERN
Ricardo Rocha
CERN IT
Use Cases
Infrastructure Services: JIRA, WebLogic, EDH, …
EOS integration via a DaemonSet runnings eosxd (no CSI for now)
$ cat flux-values.yaml
rbac:
create: true
helmOperator:
create: true
chartsSyncInterval: 5m
configureRepositories:
enable: true
repositories:
- name: jupyterhub
url: https://charts.cern.ch/jupyterhub
Registry
...
docker push
Helm
Meta FluxCD Helm
Release
Chart Operator
CRD
git push git pull
Helm and GitOps |-- charts
|-- hub
Chart.yaml requirements.yaml values.yaml
|-- templates
custom-manifest.yaml
|-- namespaces
prod.yaml stg.yaml
|-- releases
apiVersion: flux.weave.works/v1beta1 |-- prod
kind: HelmRelease hub.yaml
metadata: |-- stg
name: hub hub.yaml
namespace: prod |-- secrets
spec: |-- prod
releaseName: hub secrets.yaml
chart: |-- stg
git: https://gitlab.cern.ch/.../hub.git secrets.yaml
path: charts/hub
ref: master
valuesFrom:
- secretKeyRef:
name: hub-secrets
key: values.yaml
This is how we plug our encrypted
values: values data
binderhub:
...
70 TB Dataset Cluster on GKE Job Results Interactive
Visualization
Max 25000 Cores
Parking storage cost for the dataset (monthly cost, lots of room for creativity)
3.
1. 2. Distributed
User Notebook
Compute
4. Serving
Cloud Bursting Hub K8S
Accounting
Storage
Parking costs
Batch on GKE
Fair Share relying on Budgets? They fit better the unlimited resources model
Anthos