Skip to content

Commit

Permalink
Merge pull request #357 from Miciah/BZ1801410-set-affinity-for-NodePo…
Browse files Browse the repository at this point in the history
…rtService

Bug 1801410: Set affinity for "NodePortService"
  • Loading branch information
openshift-merge-robot committed Feb 11, 2020
2 parents a595c9d + 5117da9 commit f7bc7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/controller/ingress/deployment.go
Expand Up @@ -114,7 +114,7 @@ func desiredRouterDeployment(ci *operatorv1.IngressController, ingressController
// use host networking and specify the same port to the same
// node. Thus no affinity policy is required when using
// HostNetwork.
case operatorv1.PrivateStrategyType, operatorv1.LoadBalancerServiceStrategyType:
case operatorv1.PrivateStrategyType, operatorv1.LoadBalancerServiceStrategyType, operatorv1.NodePortServiceStrategyType:
// To avoid downtime during a rolling update, we need two
// things: a deployment strategy and affinity policy. First,
// the deployment strategy: During a rolling update, we want the
Expand Down

0 comments on commit f7bc7a9

Please sign in to comment.