mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
31 lines
668 B
YAML
31 lines
668 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: knoe-grafana-proxy
|
|
labels:
|
|
app: knoe-grafana-proxy
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: knoe-grafana-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: knoe-grafana-proxy
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:1.27-alpine
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
volumeMounts:
|
|
- name: nginx-config
|
|
mountPath: /etc/nginx/nginx.conf
|
|
subPath: nginx.conf
|
|
volumes:
|
|
- name: nginx-config
|
|
configMap:
|
|
name: knoe-grafana-proxy-nginx
|