se agrego el deploy
This commit is contained in:
22
deploy.yml
Normal file
22
deploy.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nginx-deploy
|
||||||
|
labels:
|
||||||
|
app: nginx-deploy
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nginx-deploy
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nginx-deploy
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nginx-test
|
||||||
|
image: flora-hub:5000/nginx-test:<tag>
|
||||||
|
imagePullPolicy: Always
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
Reference in New Issue
Block a user