api-gateway/k8s/deployment.yml

27 lines
501 B
YAML

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:
- containerPort: 8080
imagePullSecrets:
- name: regcred