apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: nginx-ds
  labels: 
    k8s-app: nginx
spec:
  selector:
    matchLabels:
      app: nginx
  template: 
    metadata: 
      labels: 
        k8s-app: nginx
    spec: 
      containers: 
      - name: nginx
        image: nginx:1.7.9
        ports: 
        - name: http
          containerPort: 80
          