kolokvij
This commit is contained in:
24
k8s/deployment.yaml
Normal file
24
k8s/deployment.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# OVAJ FAJL PIŠEŠ TI — vidi specifikaciju u zadatku
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ispit-app
|
||||
namespace: ispit1-petracamber
|
||||
mspec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ispit-app
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ispit-app
|
||||
spec:
|
||||
containers:
|
||||
- name: ispit-app
|
||||
image: git.fpmoz.sum.ba/petracamber/ispit-app:1.0
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
- name: AUTOR-PetraCamber
|
||||
value: "petracamber"
|
||||
Reference in New Issue
Block a user