apiVersion: apps/v1
kind: Deployment
metadata:
  name: server-deployment
  namespace: medikura
  labels:
    app: server
spec:
  replicas: 2
  selector:
    matchLabels:
      app: server
  template:
    metadata:
      labels:
        app: server
    spec:
      containers:
      - name: mern-server
        image: houssi/mern-server:latest
        ports:
        - containerPort: 5000
      imagePullSecrets:
      - name : regcred
