api-gateway/k8s/deployment.yml

27 lines
501 B
YAML
Raw Normal View History

2020-04-10 16:00:28 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-gateway
namespace: birbnetes
labels:
app: api-gateway
spec:
replicas: 1
selector:
matchLabels:
app: api-gateway
strategy:
type: Recreate
template:
metadata:
labels:
app: api-gateway
spec:
containers:
- image: registry.kmlabz.com/tormakris/api-gateway
name: api-gateway
ports:
2020-04-13 01:32:51 +02:00
- containerPort: 8080
imagePullSecrets:
- name: regcred