Skip to content

Commit

Permalink
Use server-side apply
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y committed Jan 20, 2023
1 parent 8f52a72 commit a2a8dc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ run distributed or non-distributed TensorFlow/PyTorch/Apache MXNet/XGBoost/MPI j
### Master Branch

```bash
kubectl apply -k "github.com/kubeflow/training-operator/manifests/overlays/standalone"
kubectl apply --server-side -k "github.com/kubeflow/training-operator/manifests/overlays/standalone"
```

### Stable Release

```bash
kubectl apply -k "github.com/kubeflow/training-operator/manifests/overlays/standalone?ref=v1.5.0"
kubectl apply --server-side -k "github.com/kubeflow/training-operator/manifests/overlays/standalone?ref=v1.5.0"
```

### TensorFlow Release Only
Expand Down
2 changes: 1 addition & 1 deletion scripts/gha/setup-training-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cd manifests/overlays/standalone
kustomize edit set image kubeflow/training-operator=${TRAINING_CI_IMAGE}

echo "Installing training operator manifests"
kustomize build . | kubectl apply -f -
kustomize build . | kubectl apply --server-side -f -

TIMEOUT=30
until kubectl get pods -n kubeflow | grep training-operator | grep 1/1 || [[ $TIMEOUT -eq 1 ]]; do
Expand Down

0 comments on commit a2a8dc6

Please sign in to comment.