Red Hat Leftovers
-
How to debug OpenShift operators on a live cluster using dlv
Debugging operators can be tricky, especially if the operator needs to be debugged on a live cluster, which is useful for developing Red Hat OpenShift cluster operators. Remotely running delve debugger inside the container helps in this case. This article is about debugging operators live in an OpenShift cluster on the fly by rebuilding the operator container image and using
go dlv
remotely through theoc
port-forward. -
Optimize container images for NGINX and Apache HTTPd
Container image size matters. Let’s look at an experiment that reduced Apache HTTP and NGINX servers to micro container images. This article walks through the process we used to achieve the final result, plus how many megabytes (MB) this approach saved.
For this experiment, we used Fedora RPMs, but a similar approach should work in other operating systems or container images, as you see in the list of available images (there is an Apache HTTP server image that uses CentOS Stream 8 and 9 RPMs).
A shortcut: If you are only interested in the result and want to try out the micro variant of Apache HTTP or NGINX server container images, check out the images in the following registries.
-
How to install Red Hat OpenShift Local on your laptop
Install Red Hat OpenShift Local on your own machine to test your applications and configurations before deployment.
-
GPT-4: 5 ways it can help your digital transformation [Ed: Red Hat hyping up Microsoft. Who does this company exist to serve anyway?]
-
Artificial intelligence: 6 ways it improves decision-making [Ed: Did Red Hat outsource marketing to Microsoft?]
-
5 Harvard Business Review articles that will resonate with CIOs right now
-
4 ways CIOs are rethinking digital transformation
-
Reimagining employee retention: 4 tips