Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8480

OC (openshift-clients) stripped binaries

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • oc
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request

      `oc` binaries should be stripped binaries, producing a much smaller binaries.

      2. What is the nature and description of the request?

      Make sure the shipped binaries of `oc` and `kubectl` in the `openshift-clients` RPM package are stripped binaries. 

      https://github.com/openshift/oc/blob/main/oc.spec#L1-L4

      These lines are 6 years old, and might be very out of date.

      Stripping manually `/usr/bin/oc` produces a 130MB clean binary instead of 201MB one.

       

      3. Why does the customer need this? (List the business requirements here)

      The customer produces large CoreOS disk image which fails to boot due to size.

      4. List any affected packages or components.

      https://github.com/openshift/oc

      https://github.com/openshift/oc/issues/2141

              gausingh@redhat.com Gaurav Singh
              rh-ee-eelgaev Eli Elgaev
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                None
                None