30 lines
666 B
YAML
30 lines
666 B
YAML
|
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
|