Uploaded image for project: 'Migration Toolkit for Red Hat Openshift Project Lead'
  1. Migration Toolkit for Red Hat Openshift Project Lead
  2. MTRHO-55

[MTRHO] Unable to migrate Daemonset resource due to mismatch apiVersion

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Tried migrating daemonset resource from 3.11 to 4.10 cluster. Migration is getting failed due to the mismatch apiVersion.

      3.11 cluster

      $ oc explain ds
      KIND:     DaemonSet
      VERSION:  extensions/v1beta1
      

      4.10 cluster

      $ oc explain ds
      KIND:     DaemonSet
      VERSION:  apps/v1
      

       

      Version-Release number of selected component (if applicable):

      Source GCP 3.11
      Target GCP 4.10
      

      What actually happened?
      Migration is failing. 

      What did you expect to happen?
      Deprecated apiVersion should get updated to the preferred one.

      Logs:
      error: resource mapping not found for name: "hello-daemonset" namespace: "test-daemonset" from "/workspace/kustomize": no matches for kind "DaemonSet" in version "extensions/v1beta1"
      ensure CRDs are installed first
      

       

            rh-ee-dzager David Zager
            rhn-support-prajoshi Prasad Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: