benchmark-service/k8s/deployment.yml

30 lines
666 B
YAML
Raw Normal View History

2020-10-21 01:35:29 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: benchmark-service
namespace: birbnetes
labels:
app: benchmark-service
spec:
replicas: 1
selector:
matchLabels:
app: benchmark-service
strategy:
type: Recreate
template:
metadata:
labels:
app: benchmark-service
spec:
containers:
- image: registry.kmlabz.com/birbnetes/benchmark-service
imagePullPolicy: Always
name: benchmark-service
envFrom:
- configMapRef:
name: benchmark-service-config
ports:
- containerPort: 8080
imagePullSecrets:
- name: regcred