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

51 lines
1.2 KiB
YAML

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
env:
- name: ACCOUNTS
valueFrom:
configMapKeyRef:
name: helium-blockchain-exporter-config
key: ACCOUNTS
args:
- -accounts
- $(ACCOUNTS)
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 100m
memory: 100Mi
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