File tree 5 files changed +172
-6
lines changed
5 files changed +172
-6
lines changed Original file line number Diff line number Diff line change 20
20
auto-update-conda : true
21
21
python-version : " 3.12"
22
22
miniforge-version : latest
23
- channels : conda-forge
24
- conda-remove-defaults : true
23
+ channels : conda-forge,defaults
25
24
show-channel-urls : true
26
25
27
26
- name : configure conda and install requirements
Original file line number Diff line number Diff line change 17
17
auto-update-conda : true
18
18
python-version : " 3.12"
19
19
miniforge-version : latest
20
- channels : conda-forge
21
- conda-remove-defaults : true
20
+ channels : conda-forge,defaults
22
21
show-channel-urls : true
23
22
24
23
- name : Configure conda and install minimal requirements for cache
Original file line number Diff line number Diff line change 29
29
auto-update-conda : true
30
30
python-version : ${{ matrix.python-version }}
31
31
miniforge-version : latest
32
- channels : conda-forge
33
- conda-remove-defaults : true
32
+ channels : conda-forge,defaults
34
33
show-channel-urls : true
35
34
36
35
- name : configure conda and install requirements
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : maf
6
+
7
+ ---
8
+ apiVersion : apps/v1
9
+ kind : Deployment
10
+ metadata :
11
+ namespace : maf
12
+ name : maf-server
13
+ labels :
14
+ app : maf-server
15
+ spec :
16
+ replicas : 1
17
+ selector :
18
+ matchLabels : app maf-server
19
+ template :
20
+ metadata :
21
+ labels :
22
+ app : maf-server
23
+ spec :
24
+ containers :
25
+ - name : maf
26
+ image : " ghcr.io/....:tag"
27
+ imagePullPolicy : Always
28
+ resources :
29
+ limits :
30
+ cpu : 1
31
+ memory : " 2Gi"
32
+ requests :
33
+ cpu : 500m
34
+ memory : " 1Gi"
35
+ volumeMounts :
36
+ - mountPath : /sdf/data/rubin
37
+ name : sdf-data-rubin
38
+ volumes :
39
+ - name : sdf-data-rubin
40
+ persistentVolumeClaim :
41
+ claimName : sdf-data-rubin
42
+ ---
43
+ apiVersion : v1
44
+ kind : PersistentVolumeClaim
45
+ metadata :
46
+ namespace : maf
47
+ name : sdf-data-rubin
48
+ spec :
49
+ storageClassName : sdf-data-rubin
50
+ accessModes :
51
+ - ReadOnlyMany
52
+ resources :
53
+ requests :
54
+ storage : 1Gi
55
+ ---
56
+ apiVersion : v1
57
+ kind : Service
58
+ metadata :
59
+ namespace : maf
60
+ name : usdf-maf
61
+ labels :
62
+ app : maf-server
63
+ annotations :
64
+ metallb.universe.tf/address-pool : sdf-services
65
+ spec :
66
+ type : LoadBalancer
67
+ ports :
68
+ - name : http
69
+ port : 80
70
+ protocol : TCP
71
+ targetPort : 80
72
+ selector :
73
+ app : maf-server
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : maf
6
+
7
+ ---
8
+ apiVersion : apps/v1
9
+ kind : Deployment
10
+ metadata :
11
+ namespace : maf
12
+ name : maf-server
13
+ labels :
14
+ app : maf-server
15
+ spec :
16
+ replicas : 1
17
+ selector :
18
+ matchLabels :
19
+ app : maf-server
20
+ template :
21
+ metadata :
22
+ labels :
23
+ app : maf-server
24
+ spec :
25
+ containers :
26
+ - name : maf
27
+ image : " ghcr.io/lsst/rubin_sim:main"
28
+ imagePullPolicy : Always
29
+ resources :
30
+ limits :
31
+ cpu : 1
32
+ memory : " 10Gi"
33
+ requests :
34
+ cpu : 500m
35
+ memory : " 8Gi"
36
+ volumeMounts :
37
+ - mountPath : /data/fbs_sims
38
+ name : sdf-data-rubin
39
+ subPath : shared/fbs_sims
40
+ volumes :
41
+ - name : sdf-data-rubin
42
+ persistentVolumeClaim :
43
+ claimName : sdf-data-rubin
44
+ ---
45
+ apiVersion : v1
46
+ kind : PersistentVolumeClaim
47
+ metadata :
48
+ namespace : maf
49
+ name : sdf-data-rubin
50
+ spec :
51
+ storageClassName : sdf-data-rubin
52
+ accessModes :
53
+ - ReadOnlyMany
54
+ resources :
55
+ requests :
56
+ storage : 8Gi
57
+ ---
58
+ apiVersion : v1
59
+ kind : Service
60
+ metadata :
61
+ namespace : maf
62
+ name : usdf-maf
63
+ labels :
64
+ app : maf-server
65
+ annotations :
66
+ metallb.universe.tf/address-pool : sdf-services
67
+ spec :
68
+ type : LoadBalancer
69
+ ports :
70
+ - name : http
71
+ port : 80
72
+ protocol : TCP
73
+ targetPort : 8080
74
+ selector :
75
+ app : maf-server
76
+ ---
77
+ apiVersion : networking.k8s.io/v1
78
+ kind : Ingress
79
+ metadata :
80
+ name : maf-ingress
81
+ namespace : maf
82
+ labels :
83
+ app : maf-server
84
+ spec :
85
+ ingressClassName : nginx
86
+ rules :
87
+ - host : usdf-maf.slac.stanford.edu
88
+ http :
89
+ paths :
90
+ - backend :
91
+ service :
92
+ name : usdf-maf
93
+ port :
94
+ number : 80
95
+ path : /
96
+ pathType : Prefix
You can’t perform that action at this time.
0 commit comments