4
0
This repository has been archived on 2020-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
classification-service/k8s/deployment.yaml

29 lines
642 B
YAML
Raw Normal View History

2020-04-20 23:08:20 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: classification-service
namespace: birbnetes
labels:
app: classification-service
spec:
replicas: 1
selector:
matchLabels:
app: classification-service
strategy:
type: Recreate
template:
metadata:
labels:
app: classification-service
spec:
containers:
- image: registry.kmlabz.com/tormakris/classification-service
name: classification-service
envFrom:
- configMapRef:
name: classification-service
ports:
- containerPort: 8000
imagePullSecrets:
- name: regcred