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