Skip to content

don't inject istio sidecar in feed controller job#339

Closed
rootfs wants to merge 1 commit into
knative:masterfrom
rootfs:feed-start-no-istio
Closed

don't inject istio sidecar in feed controller job#339
rootfs wants to merge 1 commit into
knative:masterfrom
rootfs:feed-start-no-istio

Conversation

@rootfs
Copy link
Copy Markdown
Contributor

@rootfs rootfs commented Aug 9, 2018

Fixes #338

Proposed Changes

  • don't inject istio sidecar, this should help those feed sources that need to initialize by accessing external services (e.g. k8s API server and services)

Signed-off-by: Huamin Chen <hchen@redhat.com>
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rootfs
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: inlined

If they are not already assigned, you can assign the PR to them by writing /assign @inlined in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 9, 2018
@rootfs
Copy link
Copy Markdown
Contributor Author

rootfs commented Aug 9, 2018

/assign @grantr

@rootfs
Copy link
Copy Markdown
Contributor Author

rootfs commented Aug 9, 2018

/cc @pmorie

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@rootfs: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-eventing-unit-tests 465c268 link /test pull-knative-eventing-unit-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rootfs
Copy link
Copy Markdown
Contributor Author

rootfs commented Aug 9, 2018

Will fix unit tests if this fix is the way to go.

@scothis
Copy link
Copy Markdown
Contributor

scothis commented Aug 9, 2018

I'm a bit torn on this one...

The pod will only be istio injected if the namespace it is created within has opted-in to injection. I feel like we should respect that preference. On the other hand, needing to create a ServiceEntry to allow outbound communication is annoying, especially since the feedlet is not always Istio injected.

@rootfs
Copy link
Copy Markdown
Contributor Author

rootfs commented Aug 10, 2018

@scothis to istio or not istio, that's a question.

I believe opt-in is surely required for all watch pods. Otherwise, there is not way for existing event sources, gcp pubsub or k8sevent, work.

On the other hand, we don't want istio to micro manage the feed controller job, the best solution is to disable istio for the job.

@grantr any comments?

@evankanderson
Copy link
Copy Markdown
Member

evankanderson commented Aug 10, 2018 via email

@n3wscott
Copy link
Copy Markdown
Contributor

I would like to let this in for now until jobs go away.

/lgtm

Tested locally

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 20, 2018
@rootfs rootfs closed this Aug 22, 2018
@rootfs rootfs deleted the feed-start-no-istio branch August 22, 2018 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants