infra/kubernetes/vrchat/Deployment-vrchat-prometheus-adapter.yaml
Gabriel Simmer 35375f6272
All checks were successful
Lint / lint (push) Successful in 36s
Transition from Nix to YAML for Kubernetes manifests
2024-07-05 17:28:02 +01:00

45 lines
1 KiB
YAML

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