-
Notifications
You must be signed in to change notification settings - Fork 21
Update Istio configuration to use CNI node agents instead of istio-init
containers
#474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
MCK 1.5.0 Release NotesNew Features
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was unused
public/architectures/setup-multi-cluster/ra-03-setup-istio/install_istio_separate_network.sh
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q: Was this accidentally commited into the scripts/release/kubectl-mongodb
folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, exactly. This was added mistakenly added during kubectl-mongodb
plugin refactoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great if it passes tests. It's currently failing a couple.
Summary
We are using
Istio
as a service mesh provider for our Multi Cluster tests. The way it works by default isIstio
adds privilegedinit-istio
container to every Pod that configures network accordingly.While this works fine it is not meeting the PSS restricted level, thus making it less secure. Related HELP-81729 and #473 that enables
restricted
level inwarn
mode. Additionally we provide Istio sidecar configuration as an example in our code snippets thus not following the best practice.There is another way to configure Istio mesh that does not require sidecar injection - using Istio CNI node agent. This PR configures our e2e tests and code snippets that way.
Proof of Work
Passing CI is enough. Since
private_gke_code_snippets
are not run automatically in CI I've triggered manual patch to test this -> https://spruce.mongodb.com/version/68d50e694baed3000742566d/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESCChecklist
skip-changelog
label if not needed