forked from DIRACGrid/diracx-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_cluster_conf.yaml
27 lines (25 loc) · 782 Bytes
/
demo_cluster_conf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
# Ingress node tagging
# https://kind.sigs.k8s.io/docs/user/ingress/
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraMounts:
# Mount the local CS repo in the controle plane
# Then the PV will mount it from this controle plane "local" directory
- hostPath: /home/chaen/dirac/diracx-project/chris-hackaton-cs/
containerPath: /local_cs_store
# For developer to be able to edit
- hostPath: /home/chaen/dirac/diracx-project/diracx/src/diracx
containerPath: /diracx_source
# Expose the ingress port
extraPortMappings:
- containerPort: 80
hostPort: 8000
protocol: TCP