Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-865

Warning while scaling: extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.10.z
    • kube-apiserver
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Users facing the below warning while scaling:
      `Warning: extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+`
      
      IHAC who is using OCP 4.10.3 now, but facing same issue.
      They are getting below alerts:
      ~~~
      $ oc version 
      Client Version: 4.10.3 
      Server Version: 4.10.3 
      Kubernetes Version: v1.23.3+e419edf 
      ~~~
      ~~~
      $ oc scale dc postgresql -n jfrog --replicas=1 
      Warning: extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+ 
      deploymentconfig.apps.openshift.io/postgresql scaled 
      ~~~
      
      Original BugZilla opened for this issue : https://bugzilla.redhat.com/show_bug.cgi?id=1931897

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

      OCP 4.10.3

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      Customer getting Warnings like below while scaling :
      $ oc scale dc postgresql -n jfrog --replicas=1 
      Warning: extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+ 
      deploymentconfig.apps.openshift.io/postgresql scaled

      Expected results:

      Customer should not get these Warnings while scaling :
      $ oc scale dc postgresql -n jfrog --replicas=1 
      Warning: extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+ 
      deploymentconfig.apps.openshift.io/postgresql scaled

      Additional info:

      Note : Original BugZilla opened for this issue : https://bugzilla.redhat.com/show_bug.cgi?id=1931897

              Unassigned Unassigned
              rhn-support-sdharma Suruchi Dharma
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: