apiVersion: apps/v1
kind: Deployment
metadata:
  name: gateway
  labels:
    app: gateway
spec:
  replicas: 1
  selector:
    matchLabels:
      app: gateway
  template:
    metadata:
      labels:
        app: gateway
    spec:
      containers:
      - name: gateway
        image: chumbok/gateway:latest
        ports:
        - containerPort: 33001
        env:
        - name: EUREKA_CLIENT_SERVICEURL_DEFAULTZONE
          value: http://service-registry.default.svc.cluster.local:33000/eureka/

