-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable init container injection for ray
When istio is enabled, the kuberay-operator must disable the init container injection. See https://docs.ray.io/en/latest/cluster/kubernetes/k8s-ecosystem/istio.html#step-3-optional-enable-istio-mtls-strict-mode Signed-off-by: Michael Fraenkel <929377+fraenkel@users.noreply.github.com>
- Loading branch information
1 parent
d676269
commit 3e4bcf7
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
contrib/ray/kuberay-operator/overlays/kubeflow/disable-injection.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: kuberay-operator | ||
namespace: kubeflow | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: kuberay-operator | ||
env: | ||
- name: ENABLE_INIT_CONTAINER_INJECTION | ||
value: "false" |
3 changes: 3 additions & 0 deletions
3
contrib/ray/kuberay-operator/overlays/kubeflow/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
namespace: kubeflow | ||
resources: | ||
- ../../base | ||
|
||
patches: | ||
- path: disable-injection.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters