Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

small installation tips for windows user #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xfate123
Copy link
Contributor

@xfate123 xfate123 commented Jun 3, 2020

small installation tips for windows user

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign terrytangyuan
You can assign the PR to them by writing /assign @terrytangyuan in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeflow-bot
Copy link

This change is Reviewable

@k8s-ci-robot
Copy link

Hi @xfate123. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@@ -24,6 +24,7 @@ cd manifests/xgboost-job/xgboost-operator
kubectl create namespace kubeflow
kustomize build base | kubectl apply -f -
```
Note: for windows user, you might have invalid path error when you clone kubeflow/manifests repository, please use WSL instead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add link to WSL?

Also remove “note :”

Why would they have issue git cloning the repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I use powershell to do the git clone for kubeflow/manifest repository will have following error
error: invalid path 'tests/tests/legacy_kustomizations/cert-manager-kube-system-resources/test_data/expected/rbac.authorization.k8s.io_v1beta1_role_cert-manager-cainjector:leaderelection.yaml'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I think this is a common error for windows user

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some other ways to solve this problem for Windows user, some method might be a little bit easier if the user haven't installed WSL in their computer. But I guess most developer who use Windows has already installed WSL in their computer, then use WSL seems the easiest solution

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can also put a link for other solution if the windows user don't want to install WSL.
https://brendanforster.com/notes/fixing-invalid-git-paths-on-windows/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if it makes sense to add this specific note that's git and OS specific. It sounds like this should be something a user would be figure out on their own by Googling around.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree

@xfate123
Copy link
Contributor Author

xfate123 commented Jun 3, 2020

@terrytangyuan I am testing the new implementation right now, looks like there is a RunContainerError, should we update the image version in our deployment config file from v0.1.0 to v0.1.0-7-g34d49cc?

@terrytangyuan
Copy link
Member

@terrytangyuan I am testing the new implementation right now, looks like there is a RunContainerError, should we update the image version in our deployment config file from v0.1.0 to v0.1.0-7-g34d49cc?

I've created a separate issue #89 (comment) for this. For now, we can probably updating it manually.

@xfate123
Copy link
Contributor Author

xfate123 commented Jun 3, 2020

@terrytangyuan sounds good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants