2020-10-07 19:04:49 +00:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: 2048-app
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: 2048-app
|
|
|
|
strategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: 2048-app
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: 2048-app
|
|
|
|
# Replace with your docker registry info
|
2021-12-30 16:17:19 +00:00
|
|
|
image: registry.hub.docker.com/vtimofei/hello-app:1.0.0
|
2020-10-07 19:04:49 +00:00
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 8000
|
|
|
|
env:
|
|
|
|
- name: PORT
|
|
|
|
value: "8000"
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: "0.1"
|
|
|
|
memory: 100Mi
|