Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Deployment - Changing PIPELINE_VERSION #3443

Open
Rstar1998 opened this issue Feb 2, 2023 · 6 comments
Open

Local Deployment - Changing PIPELINE_VERSION #3443

Rstar1998 opened this issue Feb 2, 2023 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@Rstar1998
Copy link

If we change pipeline version to 1.8.9 than these commands don't work

export PIPELINE_VERSION=1.8.5
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=$PIPELINE_VERSION"
kubectl wait --for condition=established --timeout=60s crd/applications.app.k8s.io
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref=$PIPELINE_VERSION"

https://www.kubeflow.org/docs/components/pipelines/v1/installation/localcluster-deployment/

@lokesh-sreedhara
Copy link

Ran into the same issue


root@lokesh1:~# export PIPELINE_VERSION=1.8.19
root@lokesh1:~# kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=$PIPELINE_VERSION"
namespace/kubeflow unchanged
customresourcedefinition.apiextensions.k8s.io/clusterworkflowtemplates.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/scheduledworkflows.kubeflow.org unchanged
customresourcedefinition.apiextensions.k8s.io/viewers.kubeflow.org unchanged
customresourcedefinition.apiextensions.k8s.io/workfloweventbindings.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io unchanged
serviceaccount/kubeflow-pipelines-cache-deployer-sa unchanged
clusterrole.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrole unchanged
clusterrolebinding.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrolebinding unchanged
error: resource mapping not found for name: "applications.app.k8s.io" namespace: "" from "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.8.19": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first

@lokesh-sreedhara
Copy link

These steps worked for me

git clone https://github.com/kubeflow/pipelines.git 
cd pipelines/manifests/kustomize

KFP_ENV=platform-agnostic
kubectl apply -k cluster-scoped-resources/
kubectl wait crd/applications.app.k8s.io --for condition=established --timeout=60s
kubectl apply -k "env/${KFP_ENV}/"
kubectl wait pods -l application-crd-id=kubeflow-pipelines -n kubeflow --for condition=Ready --timeout=1800s

Results:

root@lokesh1:~/workspace/pipelines/manifests/kustomize# kubectl get pods -n kubeflow
NAME                                              READY   STATUS    RESTARTS      AGE
cache-deployer-deployment-7757859768-q6nfp        1/1     Running   0             4m40s
cache-server-6ccb7898bb-xjm48                     1/1     Running   0             5m11s
metadata-envoy-deployment-67f95797d5-t6xx4        1/1     Running   0             5m11s
metadata-grpc-deployment-784b8b5fb4-rf4tq         1/1     Running   5 (19m ago)   21m
metadata-writer-5c5f8b9cd8-msls9                  1/1     Running   0             5m11s
minio-65dff76b66-kz6j6                            1/1     Running   0             20h
ml-pipeline-5ff77bd5f-d5z9g                       1/1     Running   3 (12m ago)   14m
ml-pipeline-persistenceagent-857c9c68bf-bzwmg     1/1     Running   0             5m10s
ml-pipeline-scheduledworkflow-85bfb4f85c-v667m    1/1     Running   0             5m10s
ml-pipeline-ui-89f6bfcf5-nshrf                    1/1     Running   0             5m9s
ml-pipeline-viewer-crd-d8b5bdb5b-6nhlh            1/1     Running   0             5m9s
ml-pipeline-visualizationserver-5cd7b9bdd-tzvdt   1/1     Running   0             5m9s
mysql-c999c6c8-6ddxw                              1/1     Running   0             5m7s
workflow-controller-594fd96fd5-c5j4w              1/1     Running   0             21m
root@lokesh1:~/workspace/pipelines/manifests/kustomize# 

@lokesh-sreedhara
Copy link

added these changes into a PR

@varodrig
Copy link
Contributor

@lokesh-sreedhara we are waiting for updates in the PR

@varodrig
Copy link
Contributor

/help

Copy link

@varodrig:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/help

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.

@google-oss-prow google-oss-prow bot added the help wanted Extra attention is needed label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants