Skip to content

Commit

Permalink
Chnage namespace to install istio
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
  • Loading branch information
hansinikarunarathne committed Aug 22, 2024
1 parent b6911bf commit 59296f1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ray_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
- name: Install KinD, Create KinD cluster and Install kustomize
run: ./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd contrib/ray/
Expand Down
26 changes: 26 additions & 0 deletions contrib/ray/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,32 @@ function trap_handler {

trap trap_handler EXIT

# Download Istioctl and its manifests.
export ISTIO_VERSION=1.21.1
curl -L https://istio.io/downloadIstio | sh -
cd istio-1.21.1
export PATH=$PWD/bin:$PATH

# Install Istio with:
# 1. 100% trace sampling for demo purposes.
# 2. "sanitize_te" disabled for proper gRPC interception. This is required by Istio 1.21.0 (https://github.com/istio/istio/issues/49685).
# 3. TLS 1.3 enabled.
istioctl install -y -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: kubeflow
spec:
meshConfig:
defaultConfig:
tracing:
sampling: 100
runtimeValues:
envoy.reloadable_features.sanitize_te: "false"
meshMTLS:
minProtocolVersion: TLSV1_3
EOF

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

Expand Down

0 comments on commit 59296f1

Please sign in to comment.