18 lines
368 B
Cheetah
Raw Permalink Normal View History

2016-12-13 19:09:29 +01:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{.File.Package}}
labels:
method: {{range .Service.Method}}{{.Name}}-{{end}}{{.File.Package}}
spec:
replicas: 3
template:
metadata:
labels:
app: {{.File.Package}}
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80