blob: 488c77144c8568687e1046d8dd3d540c9f6d96fb [file] [log] [blame]
package kube
#Component: "frontend"
deployment: [string]: spec: template: {
metadata: annotations: {
"prometheus.io.scrape": "true"
"prometheus.io.port": "\(spec.containers[0].ports[0].containerPort)"
}
spec: containers: [{
ports: [{containerPort: *7080 | int}] // 7080 is the default
}]
}