Refine the server-side apply installation args (#2337)

Signed-off-by: Yuki Iwai <[email protected]>
This commit is contained in:
Yuki Iwai
2024-11-28 09:40:53 +00:00
committed by GitHub
parent bdd7db43df
commit dc299c59cd
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ docker-push: ## Push docker image with the manager.
##@ Deployment
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build manifests/base/crds | kubectl apply --server-side=true -f -
$(KUSTOMIZE) build manifests/base/crds | kubectl apply --server-side -f -
uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build manifests/base/crds | kubectl delete -f -
+2 -2
View File
@@ -35,13 +35,13 @@ for the detailed instructions on how to install Training Operator.
Run the following command to install the latest stable release of the Training Operator control plane: `v1.8.0`.
```bash
kubectl apply --server-side=true -k "github.com/kubeflow/training-operator.git/manifests/overlays/standalone?ref=v1.8.0"
kubectl apply --server-side -k "github.com/kubeflow/training-operator.git/manifests/overlays/standalone?ref=v1.8.0"
```
Run the following command to install the latest changes of the Training Operator control plane:
```bash
kubectl apply --server-side=true -k "github.com/kubeflow/training-operator/manifests/overlays/standalone"
kubectl apply --server-side -k "github.com/kubeflow/training-operator/manifests/overlays/standalone"
```
### Installing the Python SDK
+1 -1
View File
@@ -27,7 +27,7 @@ cd manifests/overlays/standalone
kustomize edit set image kubeflow/training-operator=${TRAINING_CI_IMAGE}
echo "Installing training operator manifests"
kustomize build . | kubectl apply --server-side=true -f -
kustomize build . | kubectl apply --server-side -f -
if [ "${GANG_SCHEDULER_NAME}" = "scheduler-plugins" ]; then
SCHEDULER_PLUGINS_VERSION=$(go list -m -f "{{.Version}}" sigs.k8s.io/scheduler-plugins)
+1 -1
View File
@@ -37,7 +37,7 @@ cd manifests/overlays/standalone
kustomize edit set image kubeflow/training-operator=${REGISTRY}:${VERSION}
echo "Installing training operator manifests"
kustomize build . | kubectl apply --server-side=true -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