1package kube 2 3deployment: tasks: { 4 image: "gcr.io/myproj/tasks:v0.2.6" 5 6 port: http: 7080 7 expose: port: https: 7443 8 9 volume: "secret-volume": { 10 mountPath: "/etc/ssl" 11 spec: secret: secretName: "star-example-com-secrets" 12 } 13 14 kubernetes: spec: template: metadata: annotations: { 15 "prometheus.io.port": "7080" 16 "prometheus.io.scrape": "true" 17 } 18}