Skip to content

Commit

Permalink
Add Resources Config file for sample app. (#313)
Browse files Browse the repository at this point in the history
For manual testing.
  • Loading branch information
t4lz committed Sep 2, 2022
1 parent df99db7 commit e09621f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions sample/kubernetes/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: py-serv-deployment
labels:
app: py-serv
spec:
replicas: 1
selector:
matchLabels:
app: py-serv
template:
metadata:
labels:
app: py-serv
spec:
containers:
- name: py-serv
image: ghcr.io/metalbear-co/mirrord-pytest:latest
ports:
- containerPort: 80
env:
- name: MIRRORD_FAKE_VAR_FIRST
value: mirrord.is.running
- name: MIRRORD_FAKE_VAR_SECOND
value: "7777"

---
apiVersion: v1
kind: Service
metadata:
labels:
app: py-serv
name: py-serv
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
nodePort: 30000
selector:
app: py-serv
sessionAffinity: None
type: NodePort

0 comments on commit e09621f

Please sign in to comment.