File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 # - .github
1010 # - .scripts
1111 # - .charts
12+ - kustomize
1213 - LICENSE
1314 - README.md
1415 - build.sh
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : multi-arch-container-rust
5+ labels :
6+ app : multi-arch-container-rust
7+ spec :
8+ replicas : 1
9+ revisionHistoryLimit : 2
10+ selector :
11+ matchLabels :
12+ app : multi-arch-container-rust
13+ template :
14+ metadata :
15+ labels :
16+ app : multi-arch-container-rust
17+ spec :
18+ containers :
19+ - name : primary
20+ image : ghcr.io/f2calv/multi-arch-container-rust:dev
21+ imagePullPolicy : Always
22+ ports :
23+ - name : http
24+ containerPort : 80
25+ protocol : TCP
26+ # livenessProbe
27+ # readinessProbe
28+ # startupProbe
29+ env :
30+ - name : " RUST_LOG"
31+ value : " Debug"
32+ resources :
33+ requests :
34+ cpu : 50m
35+ memory : 64Mi
36+ limits :
37+ cpu : 200m
38+ memory : 256Mi
Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1beta1
2+ kind : Kustomization
3+ resources :
4+ - deployment.yaml
5+ - service.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : multi-arch-container-rust-svc
5+ spec :
6+ type : ClusterIP
7+ ports :
8+ - name : http
9+ protocol : TCP
10+ port : 80
11+ targetPort : 80
12+ selector :
13+ app : multi-arch-container-rust
You can’t perform that action at this time.
0 commit comments