0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/examples/metrics/kubernetes/zot-minimal/deployment.yaml
Alexei Dodon 8e4d828867 Implement an API for performance monitoring
Signed-off-by: Alexei Dodon <adodon@cisco.com>
2021-11-12 11:14:10 -08:00

30 lines
609 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: zot-minimal
labels:
app: zot-minimal
spec:
replicas: 1
selector:
matchLabels:
app: zot-minimal
template:
metadata:
labels:
app: zot-minimal
spec:
containers:
- name: zot-minimal
image: zot-minimal:latest
imagePullPolicy: IfNotPresent
ports:
- name: zot-minimal
containerPort: 5050
- name: zot-exporter
image: zot-exporter:latest
imagePullPolicy: IfNotPresent
ports:
- name: zot-exporter
containerPort: 5051