apiVersion: apps/v1
kind: Deployment
metadata:
  name: homepage
spec:
  selector:
    matchLabels:
      app: signup
      component: homepage
  template:
    metadata:
      labels:
        app: signup
        component: homepage
    spec:
      containers:
      - image: dak4dotnet/homepage-nginx:linux
        name: homepage
        ports:
        - containerPort: 80
          name: http
      nodeSelector:
        beta.kubernetes.io/os: linux