Commit c80e8738 authored by Luc Bourdot's avatar Luc Bourdot
Browse files

Merge branch 'filepizza' into 'master'

filepizza

See merge request !5
parents 986adedd f9c0b51b
# 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
namespace: hackathon
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