manifests
manifests copied to clipboard
Kserve is not installed with Kubeflow 1.5
There is a problem when deploying kserve by installing all the components of kubeflow via kustomize build ... kubectl apply -f -
, the installation it is not installing KServe but the previous version of KFServing, which messes up with the cluster roles for new profiles using the models after deploying them as InferenceService
.
I also faced this problem.
v1.5.0 contain kfserving
and kserve
both so default kustomize install both.
if you don't need kfserving
, you need to edit some kustomization.yaml file.
- remove previous deployments you need to sure clean delete. if you created any InferenceServices delete it and after that remove crd and others.
kubectl get isvc -A
No resources found in istio-system namespace.
kustomize build contrib/kserve/kserve | kubectl delete -f -
- edit
examples/kustomization.yaml
, comment outKFServing
part
...
# KFServing
#- ../apps/kfserving/upstream/overlays/kubeflow
...
- edit
contrib/kserve/kserve/kustomization.yaml
comment outkserve.yaml
andaggregated_roles.yaml
. uncommentkserve_kubeflow.yaml
.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
#- kserve.yaml
#- aggregated-roles.yaml
# For KF 1.5 we are including both KFServing and KServe. Thus we install the
# standalone kserve manifests, to avoid conflicts with 0.6.1 KFServing.
- kserve_kubeflow.yaml
- apply it! for install with a single command:
while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done
for install individual components
kustomize build contrib/kserve/kserve | kubectl apply -f -
I think we need to add this to README.md
/close
There has been no activity for a long time. Please reopen if necessary.
@juliusvonkohout: Closing this issue.
In response to this:
/close
There has been no activity for a long time. Please reopen if necessary.
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.