infra/kubernetes/vrchat/Deployment-vrchat-prometheus-adapter.yaml

45 lines
1 KiB
YAML
Raw Permalink Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kubenix/k8s-version: '1.30'
kubenix/project-name: kubenix
labels:
kubenix/hash: e672eb08bf0db5ef675b3b6036ca047f43b4614f
name: vrchat-prometheus-adapter
namespace: vrchat
spec:
selector:
matchLabels:
app: vrchat-prometheus-exporter
template:
metadata:
labels:
app: vrchat-prometheus-exporter
spec:
containers:
- envFrom:
- secretRef:
name: vrchat-prometheus-adapter
image: git.gmem.ca/arch/vrchat-prometheus-adapter:arm
imagePullPolicy: Always
name: vrchat-prometheus-adapter
ports:
- containerPort: 6534
name: metrics
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 50m
memory: 32Mi
volumeMounts:
- mountPath: /config.toml
name: config
subPath: config.toml
volumes:
- configMap:
name: vrchat-prometheus-adapter
name: config