-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Split up the openshift image content to reduce total size. #19509
Conversation
7ac0cf9
to
4464d84
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smarterclayton The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e80e74e
to
22a18d2
Compare
/retest |
I think openshift/origin-cli needs to be added to hack/build-local-images.py for the catalog job. |
/test gcp |
167bb04
to
2b7b4a3
Compare
Exact description of image changes in this PR, targeted for 3.10 @jupierce @adammhaile @smunilla
Ansible is already updated to avoid the removed images. |
@smarterclayton Thanks for the heads up. If possible can we hold off on a merge until I can further update my PR to reflect these changes? As previously discussed I already PR'd the change to remove the STI image but this goes much beyond that. So I would like to have our end entirely ready as this will surely break our 3.10 build. |
@smarterclayton @jupierce - Looking into these changes further and I have some questions and housekeeping before I can start making changes to our automation:
|
These are in origin, whatever you do for origin sub packages. |
There is no impact, the reparenting is just a detail.
Right now openshift3/ose is aliased to openshift3/ose-control-plane. So you could leave that as is for now, but ose-control-plane == ose |
Breaks dependencies on the entire controller manager and apiserver stack in oc. Config diagnostics were of questionable value, validation was deprecated and experimental.
Move it closer to where we need to test it (config package doesn't bring those dependencies into scope anymore).
Move the dependency into the master startup flow.
Instead of calling the apiserver code, clear status. Mark deprecated in favor of oc get --export (which itself is now of questionable value). A future release should provide better logic for stripping out unnecessary fields.
Do not remove openshift binary from the node image quite yet.
New changes are detected. LGTM label has been removed. |
/test launch-gcp |
Will restore in the future. Also reduce logging level on tests below the unintelligible threshold.
Fixed the last service catalog issue, @jpeeler i grabbed two fixes from Jay's PR (but not all of them). This is blocking other changes. |
@smarterclayton I see you grabbed the change for the configmap resource lock, but not the RBAC for that resource. Am I missing something? FWIW, #19568 is in the merge pool now. |
/retest |
/refresh |
/skip |
Green buttoning since we need to make the split happen. |
As a result of openshift#19509, packages `iptables`, `ethtool`, and `socat` ended up being defined twice for `yum install`. This removes duplicate packages in the same command
Key changes
openshift/origin
andopenshift/node
(no longer supported)hypershift
andhyperkube
andoc
to their own imagescontrol-plane
depend oncli
oc
and the server.oc
binary from 220M to 110M.oc export
in favor ofoc get --export
(remove the server dependency)openshift start node
by creatingopenshift-node-config
which takesnode-config.yaml
and writes out kubelet flags (a future PR will switch ansible to use this)docker-build
image (same content in both) which will prepare to later split the build binary out.--check
flag.openshift-sdn
into its own binary by cutting dependencies with the master.@deads2k getting very close...