kubeflow / pytorch-operator

PyTorch on Kubernetes
Apache License 2.0
306 stars 143 forks source link

Where are the pytorch-crd and pytorch-operator YAML files? #281

Closed g-karthik closed 4 years ago

g-karthik commented 4 years ago

For mpi-operator, the commands are as simple as:

kubectl apply -f https://raw.githubusercontent.com/kubeflow/mpi-operator/master/deploy/v1alpha2/mpi-operator.yaml

where the official mpi-operator yaml files are hosted on the corresponding repo.

Where exactly is the pytorch-operator yaml hosted? I'm looking for a simple way to apply it with kubectl without needing to install/setup kubeflow.

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/question 0.69

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

535727234 commented 4 years ago

crd:https://github.com/kubeflow/pytorch-operator/blob/master/manifests/crd.yaml deployment:https://github.com/kubeflow/pytorch-operator/blob/master/manifests/deployment.yaml

g-karthik commented 4 years ago

@535727234 thanks! To be clear, does this mean one does not need to install kubeflow and just using kubectl apply with those YAML files is sufficient?

Because here it says that kubeflow and kustomize need to be installed first.

export KF_DIR=<your Kubeflow installation directory>
cd ${KF_DIR}/kustomize
kubectl apply -f pytorch-job-crds.yaml
kubectl apply -f pytorch-operator.yaml
gaocegege commented 4 years ago

Yeah, you do not need to install kubeflow if you just want to use pytorch-operator.

gaocegege commented 4 years ago

Kubeflow docs provide a unified approach to install kubeflow components. But it is not the only way.

gaocegege commented 4 years ago

/close

k8s-ci-robot commented 4 years ago

@gaocegege: Closing this issue.

In response to [this](https://github.com/kubeflow/pytorch-operator/issues/281#issuecomment-645103189): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
gaocegege commented 4 years ago

@535727234 Thanks for your reply!