This commit is contained in:
29
k8s/deployment.yaml
Normal file
29
k8s/deployment.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
Reference in New Issue
Block a user