Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Add nodeAffinity and tolerations to contour #386

Merged
merged 5 commits into from
May 4, 2020

Conversation

surajssd
Copy link
Member

@surajssd surajssd commented May 4, 2020

Note: See changes per commit to know the gradual changes made.

Fixes #262

@surajssd surajssd requested review from rata, ipochi, johananl and invidian May 4, 2020 08:47
@surajssd surajssd force-pushed the surajssd/add-nodeaffinity branch 3 times, most recently from 0304ad5 to cc6bbb9 Compare May 4, 2020 09:44
Copy link
Member

@invidian invidian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the comment, I think we should prefer Helm templating over Go templates, as they are easier to test and maintain.

Otherwise LGTM, nice work @surajssd :)

pkg/components/contour/template.go Show resolved Hide resolved
@invidian invidian mentioned this pull request May 4, 2020
1 task
surajssd added 5 commits May 4, 2020 19:29
Current `NodeSelector` struct is HCL implementation of `NodeAffinity` it
is wrongly called `NodeSelector`. This commit fixes that erroneous
naming.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
This commit moves the config for envoy daemonset and contour operator
deployment to the pkg so as to templatise it.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
@surajssd surajssd force-pushed the surajssd/add-nodeaffinity branch from cc6bbb9 to 4780677 Compare May 4, 2020 14:00
@surajssd surajssd merged commit 4294d53 into master May 4, 2020
@surajssd surajssd deleted the surajssd/add-nodeaffinity branch May 4, 2020 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

contour: Support nodeSelector
3 participants