apiVersion: apps/v1
kind: Deployment
metadata:
  name: httpd
  namespace: challenge-02
  labels:
    app: httpd
spec:
  replicas: 4
  selector:
    matchLabels:
      app: httpd
  template:
    metadata:
      labels:
        app: httpd
    spec:
      containers:
      - name: httpd
        image: httpd:2.4.41
        ports:
        - containerPort: 80
      nodeSelector:
        beta.kubernetes.io/os: linux 