Skip to content

Commit

Permalink
files added (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv authored Feb 1, 2023
1 parent 3f9a61a commit 864a070
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
# - .github
# - .scripts
# - .charts
- kustomize
- LICENSE
- README.md
- build.sh
Expand Down
38 changes: 38 additions & 0 deletions kustomize/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: multi-arch-container-dotnet
labels:
app: multi-arch-container-dotnet
spec:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: multi-arch-container-dotnet
template:
metadata:
labels:
app: multi-arch-container-dotnet
spec:
containers:
- name: primary
image: ghcr.io/f2calv/multi-arch-container-dotnet:dev
imagePullPolicy: Always
ports:
- name: http
containerPort: 80
protocol: TCP
# livenessProbe
# readinessProbe
# startupProbe
env:
- name: "ASPNETCORE_LOG"
value: "Debug"
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 256Mi
5 changes: 5 additions & 0 deletions kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
13 changes: 13 additions & 0 deletions kustomize/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: multi-arch-container-dotnet-svc
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
selector:
app: multi-arch-container-dotnet

0 comments on commit 864a070

Please sign in to comment.