-
Notifications
You must be signed in to change notification settings - Fork 119
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 separate components into seperate Images #309
Comments
I full agree with this. I know that @elfosardo was going to look in the same direction, please sync with him before taking any drastic actions. Some comments:
I'd like to use official images if possible. Maybe not straight away. If we need to start with our images - let's do it.
A small correction: it's TFTP+DHCP (no DNS, even though we use dnsmasq as the implementation).
This one is going to be quite tricky. We run ironic/inspector API as WSGI applications behind httpd. We could of course split all these, but I don't feel well running 3 (?) httpd instances just for Metal3. |
We currently handle that by having ironic in cluster and tying everything together using nginx Ingress, but doing that statically in an docker environment should also be possible. You would still need a seperate instance for wsgi tho, but with less config |
How exactly does it look? I see these possibilities:
Do you mean option 2? |
yes, we currently run option 2 |
@elfosardo I suspect it may cause issues for us downstream because we have neither uwsgi nor gunicorn? |
I just have started scratching the surface to finally split the different services in their own images, MariaDB would definitely be a good start point, the others are a bit tricky, especially the httpd service. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
we're currently in the process of separating mariadb #339 |
/remove-lifecycle stale |
/kind design |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/lifecycle frozen |
OCPBUGS-2992: Don't save OS_ prefixed variables
what progerss about this PR? |
@matthewei this was discussed a few times, the situation is more complicated it will be affected by both what @mboukhalfa is doing in relation to metal3-io/baremetal-operator#1739 and related to the work that is being done related to the ironic-standalone-operator. So for now the AFAIK separating these images is not a priority until the way(s) of Ironic deployment are not finalized. |
@Rozzii Many thanks! I see. |
Currently everything is bundled into one image, this is usually not good practice as its brings quite a few problems with it, like longer pull times, not being able to do granular updates and such. It also adds complexity to the image build.
I would see a few components that should probably be their own images:
Please correct me if im wrong with my assumption
The text was updated successfully, but these errors were encountered: