1
0
Fork 0
home-stack-kustomize/kustomize/bases/helium-blockchain-exporter/helium-blockchain-exporter-...

51 lines
1.2 KiB
YAML
Raw Normal View History

2021-09-26 21:00:29 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: helium-blockchain-exporter
spec:
selector:
matchLabels:
app.kubernetes.io/name: helium-blockchain-exporter
template:
metadata:
labels:
app.kubernetes.io/name: helium-blockchain-exporter
spec:
containers:
- name: helium-blockchain-exporter
image: badjware/helium-blockchain-exporter
imagePullPolicy: Always
2021-09-26 21:00:29 +00:00
env:
- name: ACCOUNTS
valueFrom:
configMapKeyRef:
name: helium-blockchain-exporter-config
2021-09-26 21:00:29 +00:00
key: ACCOUNTS
args:
- -accounts
- $(ACCOUNTS)
resources:
requests:
cpu: 100m
2021-12-26 06:58:38 +00:00
memory: 100Mi
2021-09-26 21:00:29 +00:00
limits:
2021-12-26 06:58:38 +00:00
cpu: 100m
memory: 100Mi
2021-09-26 21:00:29 +00:00
ports:
- containerPort: 9865
name: http-metrics
---
apiVersion: v1
kind: Service
metadata:
name: helium-blockchain-exporter
labels:
app.kubernetes.io/name: helium-blockchain-exporter
spec:
selector:
app.kubernetes.io/name: helium-blockchain-exporter
ports:
- name: http-metrics
port: 9865
targetPort: http-metrics