apiVersion: apps/v1 kind: DaemonSet metadata: name: nginx-edge namespace: default labels: app: nginx-edge spec: selector: matchLabels: app: nginx-edge template: metadata: labels: app: nginx-edge spec: hostNetwork: true dnsPolicy: ClusterFirstWithHostNet nodeSelector: kubernetes.io/hostname: djg-oracle-sl tolerations: - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule containers: - name: nginx image: nginx:alpine imagePullPolicy: IfNotPresent ports: - containerPort: 80 hostPort: 80 protocol: TCP volumeMounts: - name: conf mountPath: /etc/nginx/conf.d readOnly: true - name: sites mountPath: /srv/www readOnly: true resources: requests: cpu: 20m memory: 32Mi limits: memory: 128Mi livenessProbe: httpGet: path: / port: 80 httpHeaders: - name: Host value: bestdadjokes.lol initialDelaySeconds: 5 periodSeconds: 30 volumes: - name: conf hostPath: path: /home/opc/zai-home-base/bdj/nginx/conf.d type: Directory - name: sites hostPath: path: /home/opc/zai-home-base/sites type: DirectoryOrCreate