Use DaemonSet for nginx kubeadm deployment example
This is a much better default fit than a default deployment, since you get to hit any node for it to work (rather than a deployment, which could end up anywhere)
This commit is contained in:
parent
c5e30973e5
commit
3c9f05a851
1 changed files with 1 additions and 2 deletions
|
@ -51,14 +51,13 @@ spec:
|
|||
k8s-app: default-http-backend
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: nginx-ingress-controller
|
||||
labels:
|
||||
k8s-app: nginx-ingress-controller
|
||||
namespace: kube-system
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue