cnc-service/k8s/deployment.yaml

29 lines
588 B
YAML
Raw Permalink Normal View History

2020-07-17 16:31:49 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: cnc-service
namespace: birbnetes
labels:
app: cnc-service
spec:
replicas: 1
selector:
matchLabels:
app: cnc-service
strategy:
type: Recreate
template:
metadata:
labels:
app: cnc-service
spec:
containers:
- name: input-service
image: registry.kmlabz.com/birbnetesgit/cnc-service
envFrom:
- configMapRef:
name: cnc-service
ports:
- containerPort: 8080
imagePullSecrets:
- name: regcred