mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-13 18:22:15 +00:00
35 lines
742 B
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 |