Upload files to "z2 "
This commit is contained in:
parent
2bba911600
commit
0ee885a19e
21
z2 /deployment.yaml
Normal file
21
z2 /deployment.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: typing-game-deployment
|
||||||
|
namespace: typing-game
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: typing-game
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: typing-game
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: typing-game
|
||||||
|
image: typing-game:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
Loading…
Reference in New Issue
Block a user