mainframer
mainframer

Reputation: 22069

update nginx ingress from deployment to daemonset

I installed nginx-ingress using helm. After that I notice the default controller.kind is deployment rather than daemonset, as I found in the official doc.

So how can I update the controller.kind from deployment to daemonset without reinstalling from the very beginning?

helm install nginx-ingress nginx-stable/nginx-ingress --set controller.service.type=NodePort --set controller.service.httpPort.nodePort=30000 --set controller.service.httpsPort.nodePort=30443

Upvotes: 3

Views: 3704

Answers (2)

jamiecramb
jamiecramb

Reputation: 21

Ran into this issue today; the suggestion by vector didn't work for me but it was just a minor tweak required:

helm install nginx-ingress nginx-stable/nginx-ingress --set controller.service.type=NodePort --set controller.service.httpPort.nodePort=30000 --set controller.service.httpsPort.nodePort=30443 --set controller.kind=DaemonSet

(DaemonSet must be capitalized)

Upvotes: 2

quoc9x
quoc9x

Reputation: 2171

This might be helpful to you (--set controller.kind=daemonset).

helm install nginx-ingress nginx-stable/nginx-ingress --set controller.service.type=NodePort --set controller.service.httpPort.nodePort=30000 --set controller.service.httpsPort.nodePort=30443 --set controller.kind=daemonset

Upvotes: 5

Related Questions