apiVersion: apps/v1
kind: Deployment
metadata:
  name: server-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      component: server-deployment
  template:
    metadata:
      labels:
        component: server-deployment
    spec:
      containers:
        - name: server
          image: jigglybytez/node-k8s-demo
          ports:
            - containerPort: 5000
