Skip to content
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

Disable init container injection for ray #2933

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
namespace: kubeflow
resources:
- ../../base

patches:
- path: disable-injection.yaml
4 changes: 2 additions & 2 deletions contrib/ray/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kubectl label namespace $NAMESPACE istio-injection=enabled
kubectl get namespaces --selector=istio-injection=enabled

# Install KubeRay operator
kustomize build kuberay-operator/overlays/standalone | kubectl -n kubeflow apply --server-side -f -
kustomize build kuberay-operator/overlays/kubeflow | kubectl -n kubeflow apply --server-side -f -

# Wait for the operator to be ready.
kubectl -n kubeflow wait --for=condition=available --timeout=600s deploy/kuberay-operator
Expand Down Expand Up @@ -87,4 +87,4 @@ for ((i=0; i<TIMEOUT; i+=SLEEP_INTERVAL)); do
done

# Delete KubeRay operator
kustomize build kuberay-operator/base | kubectl -n kubeflow delete -f -
kustomize build kuberay-operator/base | kubectl -n kubeflow delete -f -
Loading