Update k8s/moj-servis/deployment.yaml
This commit is contained in:
@@ -1,53 +1,27 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
kind: Deployment
|
metadata:
|
||||||
|
|
||||||
metadata:
|
|
||||||
|
|
||||||
name: moj-servis
|
name: moj-servis
|
||||||
|
|
||||||
namespace: student-zvoneC
|
namespace: student-zvoneC
|
||||||
|
spec:
|
||||||
spec:
|
|
||||||
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
selector:
|
selector:
|
||||||
|
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
||||||
app: moj-servis
|
app: moj-servis
|
||||||
|
|
||||||
template:
|
template:
|
||||||
|
|
||||||
metadata:
|
metadata:
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
|
|
||||||
app: moj-servis
|
app: moj-servis
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
|
|
||||||
- name: moj-servis
|
- name: moj-servis
|
||||||
|
|
||||||
image: git.fpmoz.sum.ba/zvoneC/moj-servis:1.0
|
image: git.fpmoz.sum.ba/zvoneC/moj-servis:1.0
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
|
|
||||||
memory: "64Mi"
|
memory: "64Mi"
|
||||||
|
|
||||||
cpu: "50m"
|
cpu: "50m"
|
||||||
|
|
||||||
limits:
|
limits:
|
||||||
|
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
|
||||||
cpu: "200m"
|
cpu: "200m"
|
||||||
Reference in New Issue
Block a user