apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: httpbin
spec:
  selector:
    matchLabels:
      app: httpbin
  template:
    metadata:
      labels:
        app: httpbin
    spec:
      containers:
        - image: docker.io/kennethreitz/httpbin
          imagePullPolicy: IfNotPresent
          name: httpbin
          ports:
            - containerPort: 80
              hostPort: 8080
      nodeSelector:
        beta.kubernetes.io/os: linux
