Files
hg612-exporter/resources/manifest.yaml

35 lines
742 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: hg612-exporter
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: hg612-exporter
template:
metadata:
labels:
app: hg612-exporter
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8080'
spec:
containers:
- image: nikdoof/hg612-exporter:latest
imagePullPolicy: Always
name: hg612-exporter
args:
- --host
- host
- --identifier
- id
ports:
- containerPort: 8080
resources:
requests:
memory: 25Mi
limits:
memory: 50Mi