# This file creates a deployment on kubernetes.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: dockertest-deployment
  labels:
    app: dockertest
spec:
  replicas: 1
  selector:
    matchLabels:
      app: dockertest
  template:
    metadata:
      labels:
        app: dockertest
    spec:
      containers:
      - name: dockertest
        image: localhost:5000/dockertest
        ports:
        - containerPort: 3000
        - containerPort: 3300