apiVersion: apps/v1
kind: Deployment
metadata:
name: ingress-nginx-controller
namespace: ingress-nginx
spec:
template:
nodeSelector:
node-role.kubernetes.io/master: "true"