Commit af3b9ecc authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

filepizza

parent 1f928405
# filepizza-deployment.yml
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
apiVersion: extensions/v1beta1 # for versions before 1.9.0 use apps/v1beta2
metadata:
name: filepizza-deployment
name: filepizza
labels:
service: filepizza
spec:
replicas: 1
strategy: {}
selector:
matchLabels:
app: filepizza
service: filepizza
replicas: 1 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
app: filepizza
service: filepizza
spec:
containers:
- name: filepizza
image: luceole/file-pizza:latest
ports:
- containerPort: 80
name: filepizza
protocol: TCP
resources: {}
---
kind: Service
apiVersion: v1
metadata:
name: filepizza
spec:
type: NodePort
selector:
service: filepizza
ports:
- port: 80
targetPort: 80
protocol: TCP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment