+
+
+
+
diff --git a/feed_rss_created.xml b/feed_rss_created.xml
index c270cf6..f670f77 100644
--- a/feed_rss_created.xml
+++ b/feed_rss_created.xml
@@ -1 +1 @@
-Andreas Karis BlogAndreas Karis' blog about anything Kubernetes, OpenShift, Linux and Networkinghttps://andreaskaris.github.io/blog/enThu, 20 Jun 2024 12:59:48 -0000Thu, 20 Jun 2024 12:59:48 -00001440MkDocs RSS plugin - v1.11.1Protect Lenovo laptop battery<p>In order to protect your Lenovo battery, you can set charge start and end thresholds.According to [anecdotal evidence](https://linrunner.de/tlp/faq/battery....</p>https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/ Thu, 20 Jun 2024 14:59:35 +0000https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/Netlink and MAC addresses<h2>Netlink address fields IFLA_ADDRESS, IFLA_BROADCAST and IFLA_PERM_ADDRESS</h2><p>A few days ago, I had to figure out how applications such as iproute2 read the ...</p>https://andreaskaris.github.io/blog/networking/netlink-address-fields/ Sun, 12 May 2024 21:25:38 +0000https://andreaskaris.github.io/blog/networking/netlink-address-fields/CPU isolation in Red Hat OpenShift Container Platform<h2>CPU isolation in Red Hat OpenShift Container Platform</h2><p>Two complementary features allow admins to partition the node's CPUs according to their needs. The ...</p>https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/ Mon, 06 May 2024 20:08:03 +0000https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/udev rules to apply ethtool settings<h1>udev rules to apply ethtool settings</h1><p>In order to apply specific ethtool settings to all interfaces matching a specific regular expression, run:```cat <<...</p>https://andreaskaris.github.io/blog/linux/udev-ethtool/ Mon, 29 Apr 2024 19:44:04 +0000https://andreaskaris.github.io/blog/linux/udev-ethtool/OpenShift with iSCSI multipath<h2>Kubernets iSCSI volume driver</h2><p>The iSCSI volume driver can work as both a single path iSCSI initiator or with multipath.For some information about the dr...</p>https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/ Fri, 12 Jan 2024 17:53:42 +0000https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/kernel-ml on OpenShift<h1>kernel-ml on OpenShift</h1><p>In order to find out if a kernel bug was already fixed upstream, it may sometimes be necessary to test the upstreamkernel on top o...</p>https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/ Thu, 23 Nov 2023 18:41:02 +0000https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/Seccomp defaults in Red Hat OpenShift Container Platform<h1>Seccomp defaults in Red Hat OpenShift Container Platform</h1><p>Seccomp can be used to restrict the syscalls that processes running inside a container are allowe...</p>https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/ Mon, 25 Sep 2023 19:20:43 +0000https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/Hands-on with OVN Interconnection<h1>Hands-on with OVN Interconnection (OVN IC)</h1><p><a href="https://docs.ovn.org/en/latest/tutorials/ovn-interconnection.html">OVN Interconnection</a> (OVN IC) allows admini...</p>https://andreaskaris.github.io/blog/networking/ovn-interconnection/ Mon, 11 Sep 2023 19:06:05 +0000https://andreaskaris.github.io/blog/networking/ovn-interconnection/rpm-ostreed failed to find image<h2>rpm-ostreed failed to find image</h2><p>Today, I ran into a strange issue after messing around a bit too much with OpenShift's Machine Config Operator.After de...</p>https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/ Tue, 15 Aug 2023 20:03:49 +0000https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/Workaround for org.gnome.shell.overrides not installed<h1>Settings schema 'org.gnome.shell.overrides' is not installed</h1><p>I recently upgraded to Fedora 38 and Gnome 44, and one of my installed applications give this...</p>https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/ Wed, 03 May 2023 19:38:38 +0000https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/DedicatedServiceMonitors in OpenShift Monitoring<h2>DedicatedServiceMonitors in Red Hat OpenShift Monitoring</h2><h3>Introduction</h3><p>By default, OpenShift's Prometheus stack will pull pod CPU and memory usage fr...</p>https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/ Wed, 03 May 2023 15:53:44 +0000https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/Using cgroups for CFS bandwidth control<h1>Using cgroups for CFS bandwidth control (CPU quotas)</h1><p>CFS bandwidth control is a feature that allows you to limit the amount of CPU time that a control gro...</p>https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/ Mon, 27 Mar 2023 11:28:05 +0000https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/How kubelet monitors filesystems<h1>How kubelet monitors filesystems</h1><p>Kubelet can monitor 2 file systems, nodefs and imagefs. nodefs is auto-discovered by the presence of <code>/var/lib/kubelet</code>....</p>https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/ Wed, 22 Mar 2023 17:03:35 +0000https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/Golang IP address conversion<h2>IP address conversion with golang</h2><h3>Finding an IP network's broadcast IP</h3><p>The following function calculates the broadcast IP for both IPv4 and IPv6 net...</p>https://andreaskaris.github.io/blog/coding/golang-ip-conversion/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/golang-ip-conversion/Controller Reconciliation<h2>Reconciliation with the Operator SDK</h2><p>In the Operator SDK, controllers implement the [Reconciler](https://github.com/kubernetes-sigs/controller-runtime/bl...</p>https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/My vimrc<h1>My vimrc</h1><p>Below my configuration for vim which I use for go and python development:~~~cat <<'EOF' > ~/.vimrccall plug#begin() Plug 'vim-airline/vim-ai...</p>https://andreaskaris.github.io/blog/coding/vimrc/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/vimrc/SCCs and mutating webhooks - a lesson learned<p><img alt="title" src="https://user-images.githubusercontent.com/3291433/220175185-f58bf274-e886-45ef-ab32-92b6cd3f1739.png"></p><h1>SCCs and mutating webhooks - or how to lear...</h1>https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/ Mon, 13 Feb 2023 22:16:16 +0000https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/Building custom release images for OpenShift<h2>Building custom release images for OpenShift</h2><h3>Using custom container image for a specific component / operator</h3><p>The following example builds a custom ...</p>https://andreaskaris.github.io/blog/openshift/ocp-custom-release-image/ Wed, 19 Oct 2022 14:17:44 +0000https://andreaskaris.github.io/blog/openshift/ocp-custom-release-image/OVN standalone on Fedora<h1>OVN standalone on Fedora</h1><p>For instruction to build OVN and OVS from source, see: https://docs.ovn.org/en/latest/intro/install/fedora.html#fedora-rhel-7-...</p>https://andreaskaris.github.io/blog/networking/ovn_standalone_on_fedora/ Tue, 14 Jun 2022 13:38:40 +0000https://andreaskaris.github.io/blog/networking/ovn_standalone_on_fedora/Patch status.loadBalancer.ingress IP manually<h2>How to patch status.loadBalancer.ingress IPs manually to a service in a baremetal deployment?</h2><p>For testing purposes, you might want to modify the status.l...</p>https://andreaskaris.github.io/blog/openshift/patch-service-loadbalancer-ingress-ip/ Wed, 16 Feb 2022 17:58:27 +0000https://andreaskaris.github.io/blog/openshift/patch-service-loadbalancer-ingress-ip/
\ No newline at end of file
+Andreas Karis BlogAndreas Karis' blog about anything Kubernetes, OpenShift, Linux and Networkinghttps://andreaskaris.github.io/blog/enFri, 19 Jul 2024 13:04:34 -0000Fri, 19 Jul 2024 13:04:34 -00001440MkDocs RSS plugin - v1.11.1SELinux Cheat Sheet<h1>SELinux Cheat Sheet</h1><h3>Reading SELinux status</h3><p>| Command | Description | Examples ||---|---|---|| cat /etc/selinux/config | Get SELinux boot configu...</p>https://andreaskaris.github.io/blog/linux/selinux-cheatsheet/ Fri, 19 Jul 2024 15:04:32 +0000https://andreaskaris.github.io/blog/linux/selinux-cheatsheet/Protect Lenovo laptop battery<p>In order to protect your Lenovo battery, you can set charge start and end thresholds.According to [anecdotal evidence](https://linrunner.de/tlp/faq/battery....</p>https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/ Thu, 20 Jun 2024 14:59:35 +0000https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/Netlink and MAC addresses<h2>Netlink address fields IFLA_ADDRESS, IFLA_BROADCAST and IFLA_PERM_ADDRESS</h2><p>A few days ago, I had to figure out how applications such as iproute2 read the ...</p>https://andreaskaris.github.io/blog/networking/netlink-address-fields/ Sun, 12 May 2024 21:25:38 +0000https://andreaskaris.github.io/blog/networking/netlink-address-fields/CPU isolation in Red Hat OpenShift Container Platform<h2>CPU isolation in Red Hat OpenShift Container Platform</h2><p>Two complementary features allow admins to partition the node's CPUs according to their needs. The ...</p>https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/ Mon, 06 May 2024 20:08:03 +0000https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/udev rules to apply ethtool settings<h1>udev rules to apply ethtool settings</h1><p>In order to apply specific ethtool settings to all interfaces matching a specific regular expression, run:```cat <<...</p>https://andreaskaris.github.io/blog/linux/udev-ethtool/ Mon, 29 Apr 2024 19:44:04 +0000https://andreaskaris.github.io/blog/linux/udev-ethtool/OpenShift with iSCSI multipath<h2>Kubernets iSCSI volume driver</h2><p>The iSCSI volume driver can work as both a single path iSCSI initiator or with multipath.For some information about the dr...</p>https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/ Fri, 12 Jan 2024 17:53:42 +0000https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/kernel-ml on OpenShift<h1>kernel-ml on OpenShift</h1><p>In order to find out if a kernel bug was already fixed upstream, it may sometimes be necessary to test the upstreamkernel on top o...</p>https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/ Thu, 23 Nov 2023 18:41:02 +0000https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/Seccomp defaults in Red Hat OpenShift Container Platform<h1>Seccomp defaults in Red Hat OpenShift Container Platform</h1><p>Seccomp can be used to restrict the syscalls that processes running inside a container are allowe...</p>https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/ Mon, 25 Sep 2023 19:20:43 +0000https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/Hands-on with OVN Interconnection<h1>Hands-on with OVN Interconnection (OVN IC)</h1><p><a href="https://docs.ovn.org/en/latest/tutorials/ovn-interconnection.html">OVN Interconnection</a> (OVN IC) allows admini...</p>https://andreaskaris.github.io/blog/networking/ovn-interconnection/ Mon, 11 Sep 2023 19:06:05 +0000https://andreaskaris.github.io/blog/networking/ovn-interconnection/rpm-ostreed failed to find image<h2>rpm-ostreed failed to find image</h2><p>Today, I ran into a strange issue after messing around a bit too much with OpenShift's Machine Config Operator.After de...</p>https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/ Tue, 15 Aug 2023 20:03:49 +0000https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/Workaround for org.gnome.shell.overrides not installed<h1>Settings schema 'org.gnome.shell.overrides' is not installed</h1><p>I recently upgraded to Fedora 38 and Gnome 44, and one of my installed applications give this...</p>https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/ Wed, 03 May 2023 19:38:38 +0000https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/DedicatedServiceMonitors in OpenShift Monitoring<h2>DedicatedServiceMonitors in Red Hat OpenShift Monitoring</h2><h3>Introduction</h3><p>By default, OpenShift's Prometheus stack will pull pod CPU and memory usage fr...</p>https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/ Wed, 03 May 2023 15:53:44 +0000https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/Using cgroups for CFS bandwidth control<h1>Using cgroups for CFS bandwidth control (CPU quotas)</h1><p>CFS bandwidth control is a feature that allows you to limit the amount of CPU time that a control gro...</p>https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/ Mon, 27 Mar 2023 11:28:05 +0000https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/How kubelet monitors filesystems<h1>How kubelet monitors filesystems</h1><p>Kubelet can monitor 2 file systems, nodefs and imagefs. nodefs is auto-discovered by the presence of <code>/var/lib/kubelet</code>....</p>https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/ Wed, 22 Mar 2023 17:03:35 +0000https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/Golang IP address conversion<h2>IP address conversion with golang</h2><h3>Finding an IP network's broadcast IP</h3><p>The following function calculates the broadcast IP for both IPv4 and IPv6 net...</p>https://andreaskaris.github.io/blog/coding/golang-ip-conversion/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/golang-ip-conversion/Controller Reconciliation<h2>Reconciliation with the Operator SDK</h2><p>In the Operator SDK, controllers implement the [Reconciler](https://github.com/kubernetes-sigs/controller-runtime/bl...</p>https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/My vimrc<h1>My vimrc</h1><p>Below my configuration for vim which I use for go and python development:~~~cat <<'EOF' > ~/.vimrccall plug#begin() Plug 'vim-airline/vim-ai...</p>https://andreaskaris.github.io/blog/coding/vimrc/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/vimrc/SCCs and mutating webhooks - a lesson learned<p><img alt="title" src="https://user-images.githubusercontent.com/3291433/220175185-f58bf274-e886-45ef-ab32-92b6cd3f1739.png"></p><h1>SCCs and mutating webhooks - or how to lear...</h1>https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/ Mon, 13 Feb 2023 22:16:16 +0000https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/Building custom release images for OpenShift<h2>Building custom release images for OpenShift</h2><h3>Using custom container image for a specific component / operator</h3><p>The following example builds a custom ...</p>https://andreaskaris.github.io/blog/openshift/ocp-custom-release-image/ Wed, 19 Oct 2022 14:17:44 +0000https://andreaskaris.github.io/blog/openshift/ocp-custom-release-image/OVN standalone on Fedora<h1>OVN standalone on Fedora</h1><p>For instruction to build OVN and OVS from source, see: https://docs.ovn.org/en/latest/intro/install/fedora.html#fedora-rhel-7-...</p>https://andreaskaris.github.io/blog/networking/ovn_standalone_on_fedora/ Tue, 14 Jun 2022 13:38:40 +0000https://andreaskaris.github.io/blog/networking/ovn_standalone_on_fedora/
\ No newline at end of file
diff --git a/feed_rss_updated.xml b/feed_rss_updated.xml
index c34906c..060b6fe 100644
--- a/feed_rss_updated.xml
+++ b/feed_rss_updated.xml
@@ -1 +1 @@
-Andreas Karis BlogAndreas Karis' blog about anything Kubernetes, OpenShift, Linux and Networkinghttps://andreaskaris.github.io/blog/enThu, 20 Jun 2024 12:59:48 -0000Thu, 20 Jun 2024 12:59:48 -00001440MkDocs RSS plugin - v1.11.1Protect Lenovo laptop battery<p>In order to protect your Lenovo battery, you can set charge start and end thresholds.According to [anecdotal evidence](https://linrunner.de/tlp/faq/battery....</p>https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/ Thu, 20 Jun 2024 14:59:35 +0000https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/Netlink and MAC addresses<h2>Netlink address fields IFLA_ADDRESS, IFLA_BROADCAST and IFLA_PERM_ADDRESS</h2><p>A few days ago, I had to figure out how applications such as iproute2 read the ...</p>https://andreaskaris.github.io/blog/networking/netlink-address-fields/ Mon, 13 May 2024 11:22:39 +0000https://andreaskaris.github.io/blog/networking/netlink-address-fields/CPU isolation in Red Hat OpenShift Container Platform<h2>CPU isolation in Red Hat OpenShift Container Platform</h2><p>Two complementary features allow admins to partition the node's CPUs according to their needs. The ...</p>https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/ Mon, 06 May 2024 22:24:07 +0000https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/udev rules to apply ethtool settings<h1>udev rules to apply ethtool settings</h1><p>In order to apply specific ethtool settings to all interfaces matching a specific regular expression, run:```cat <<...</p>https://andreaskaris.github.io/blog/linux/udev-ethtool/ Mon, 29 Apr 2024 19:44:04 +0000https://andreaskaris.github.io/blog/linux/udev-ethtool/OpenShift with iSCSI multipath<h2>Kubernets iSCSI volume driver</h2><p>The iSCSI volume driver can work as both a single path iSCSI initiator or with multipath.For some information about the dr...</p>https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/ Fri, 12 Jan 2024 18:05:09 +0000https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/kernel-ml on OpenShift<h1>kernel-ml on OpenShift</h1><p>In order to find out if a kernel bug was already fixed upstream, it may sometimes be necessary to test the upstreamkernel on top o...</p>https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/ Thu, 23 Nov 2023 18:46:14 +0000https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/Setting journalctl limits<h2>Changing the size of data that journald retains</h2><p>The systemd journal by default retains 4GB of data. In order to increase or decrease that value, set `Sys...</p>https://andreaskaris.github.io/blog/linux/setting-journalctl-limits/ Thu, 09 Nov 2023 17:19:41 +0000https://andreaskaris.github.io/blog/linux/setting-journalctl-limits/Seccomp defaults in Red Hat OpenShift Container Platform<h1>Seccomp defaults in Red Hat OpenShift Container Platform</h1><p>Seccomp can be used to restrict the syscalls that processes running inside a container are allowe...</p>https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/ Wed, 11 Oct 2023 18:48:34 +0000https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/Hands-on with OVN Interconnection<h1>Hands-on with OVN Interconnection (OVN IC)</h1><p><a href="https://docs.ovn.org/en/latest/tutorials/ovn-interconnection.html">OVN Interconnection</a> (OVN IC) allows admini...</p>https://andreaskaris.github.io/blog/networking/ovn-interconnection/ Mon, 11 Sep 2023 19:16:51 +0000https://andreaskaris.github.io/blog/networking/ovn-interconnection/rpm-ostreed failed to find image<h2>rpm-ostreed failed to find image</h2><p>Today, I ran into a strange issue after messing around a bit too much with OpenShift's Machine Config Operator.After de...</p>https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/ Tue, 15 Aug 2023 20:03:49 +0000https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/My vimrc<h1>My vimrc</h1><p>Below my configuration for vim which I use for go and python development:~~~cat <<'EOF' > ~/.vimrccall plug#begin() Plug 'vim-airline/vim-ai...</p>https://andreaskaris.github.io/blog/coding/vimrc/ Tue, 25 Jul 2023 13:34:48 +0000https://andreaskaris.github.io/blog/coding/vimrc/Workaround for org.gnome.shell.overrides not installed<h1>Settings schema 'org.gnome.shell.overrides' is not installed</h1><p>I recently upgraded to Fedora 38 and Gnome 44, and one of my installed applications give this...</p>https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/ Wed, 03 May 2023 19:38:38 +0000https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/DedicatedServiceMonitors in OpenShift Monitoring<h2>DedicatedServiceMonitors in Red Hat OpenShift Monitoring</h2><h3>Introduction</h3><p>By default, OpenShift's Prometheus stack will pull pod CPU and memory usage fr...</p>https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/ Wed, 03 May 2023 16:41:21 +0000https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/Using cgroups for CFS bandwidth control<h1>Using cgroups for CFS bandwidth control (CPU quotas)</h1><p>CFS bandwidth control is a feature that allows you to limit the amount of CPU time that a control gro...</p>https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/ Mon, 27 Mar 2023 11:42:03 +0000https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/How kubelet monitors filesystems<h1>How kubelet monitors filesystems</h1><p>Kubelet can monitor 2 file systems, nodefs and imagefs. nodefs is auto-discovered by the presence of <code>/var/lib/kubelet</code>....</p>https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/ Wed, 22 Mar 2023 17:18:49 +0000https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/Golang IP address conversion<h2>IP address conversion with golang</h2><h3>Finding an IP network's broadcast IP</h3><p>The following function calculates the broadcast IP for both IPv4 and IPv6 net...</p>https://andreaskaris.github.io/blog/coding/golang-ip-conversion/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/golang-ip-conversion/Controller Reconciliation<h2>Reconciliation with the Operator SDK</h2><p>In the Operator SDK, controllers implement the [Reconciler](https://github.com/kubernetes-sigs/controller-runtime/bl...</p>https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/SCCs and mutating webhooks - a lesson learned<p><img alt="title" src="https://user-images.githubusercontent.com/3291433/220175185-f58bf274-e886-45ef-ab32-92b6cd3f1739.png"></p><h1>SCCs and mutating webhooks - or how to lear...</h1>https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/ Mon, 20 Feb 2023 19:22:20 +0000https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/Useful commands<h1>Useful commands</h1><h2>Tracking the evolution of conntrack with lnstat</h2><p>lnstat is a neat tool to check the evolution of entries (and other counters) in the co...</p>https://andreaskaris.github.io/blog/networking/useful-commands/ Tue, 17 Jan 2023 15:36:04 +0000https://andreaskaris.github.io/blog/networking/useful-commands/BPF and tcpdump<h2>Introduction</h2><p>I sometimes used to find myself in situations where tcpdump's filters seemingly did not work the way that I expected them to. In those situa...</p>https://andreaskaris.github.io/blog/networking/bpf-and-tcpdump/ Fri, 18 Nov 2022 20:08:32 +0000https://andreaskaris.github.io/blog/networking/bpf-and-tcpdump/
\ No newline at end of file
+Andreas Karis BlogAndreas Karis' blog about anything Kubernetes, OpenShift, Linux and Networkinghttps://andreaskaris.github.io/blog/enFri, 19 Jul 2024 13:04:34 -0000Fri, 19 Jul 2024 13:04:34 -00001440MkDocs RSS plugin - v1.11.1SELinux Cheat Sheet<h1>SELinux Cheat Sheet</h1><h3>Reading SELinux status</h3><p>| Command | Description | Examples ||---|---|---|| cat /etc/selinux/config | Get SELinux boot configu...</p>https://andreaskaris.github.io/blog/linux/selinux-cheatsheet/ Fri, 19 Jul 2024 15:04:32 +0000https://andreaskaris.github.io/blog/linux/selinux-cheatsheet/Protect Lenovo laptop battery<p>In order to protect your Lenovo battery, you can set charge start and end thresholds.According to [anecdotal evidence](https://linrunner.de/tlp/faq/battery....</p>https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/ Thu, 20 Jun 2024 14:59:35 +0000https://andreaskaris.github.io/blog/linux/protect-lenovo-battery/Netlink and MAC addresses<h2>Netlink address fields IFLA_ADDRESS, IFLA_BROADCAST and IFLA_PERM_ADDRESS</h2><p>A few days ago, I had to figure out how applications such as iproute2 read the ...</p>https://andreaskaris.github.io/blog/networking/netlink-address-fields/ Mon, 13 May 2024 11:22:39 +0000https://andreaskaris.github.io/blog/networking/netlink-address-fields/CPU isolation in Red Hat OpenShift Container Platform<h2>CPU isolation in Red Hat OpenShift Container Platform</h2><p>Two complementary features allow admins to partition the node's CPUs according to their needs. The ...</p>https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/ Mon, 06 May 2024 22:24:07 +0000https://andreaskaris.github.io/blog/openshift/cpu-isolation-in-openshift/udev rules to apply ethtool settings<h1>udev rules to apply ethtool settings</h1><p>In order to apply specific ethtool settings to all interfaces matching a specific regular expression, run:```cat <<...</p>https://andreaskaris.github.io/blog/linux/udev-ethtool/ Mon, 29 Apr 2024 19:44:04 +0000https://andreaskaris.github.io/blog/linux/udev-ethtool/OpenShift with iSCSI multipath<h2>Kubernets iSCSI volume driver</h2><p>The iSCSI volume driver can work as both a single path iSCSI initiator or with multipath.For some information about the dr...</p>https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/ Fri, 12 Jan 2024 18:05:09 +0000https://andreaskaris.github.io/blog/openshift/openshift-with-multipath/kernel-ml on OpenShift<h1>kernel-ml on OpenShift</h1><p>In order to find out if a kernel bug was already fixed upstream, it may sometimes be necessary to test the upstreamkernel on top o...</p>https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/ Thu, 23 Nov 2023 18:46:14 +0000https://andreaskaris.github.io/blog/openshift/kernel-ml-on-openshift/Setting journalctl limits<h2>Changing the size of data that journald retains</h2><p>The systemd journal by default retains 4GB of data. In order to increase or decrease that value, set `Sys...</p>https://andreaskaris.github.io/blog/linux/setting-journalctl-limits/ Thu, 09 Nov 2023 17:19:41 +0000https://andreaskaris.github.io/blog/linux/setting-journalctl-limits/Seccomp defaults in Red Hat OpenShift Container Platform<h1>Seccomp defaults in Red Hat OpenShift Container Platform</h1><p>Seccomp can be used to restrict the syscalls that processes running inside a container are allowe...</p>https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/ Wed, 11 Oct 2023 18:48:34 +0000https://andreaskaris.github.io/blog/openshift/seccomp-defaults-ocp/Hands-on with OVN Interconnection<h1>Hands-on with OVN Interconnection (OVN IC)</h1><p><a href="https://docs.ovn.org/en/latest/tutorials/ovn-interconnection.html">OVN Interconnection</a> (OVN IC) allows admini...</p>https://andreaskaris.github.io/blog/networking/ovn-interconnection/ Mon, 11 Sep 2023 19:16:51 +0000https://andreaskaris.github.io/blog/networking/ovn-interconnection/rpm-ostreed failed to find image<h2>rpm-ostreed failed to find image</h2><p>Today, I ran into a strange issue after messing around a bit too much with OpenShift's Machine Config Operator.After de...</p>https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/ Tue, 15 Aug 2023 20:03:49 +0000https://andreaskaris.github.io/blog/openshift/rpm-ostree-failed-to-find-image/My vimrc<h1>My vimrc</h1><p>Below my configuration for vim which I use for go and python development:~~~cat <<'EOF' > ~/.vimrccall plug#begin() Plug 'vim-airline/vim-ai...</p>https://andreaskaris.github.io/blog/coding/vimrc/ Tue, 25 Jul 2023 13:34:48 +0000https://andreaskaris.github.io/blog/coding/vimrc/Workaround for org.gnome.shell.overrides not installed<h1>Settings schema 'org.gnome.shell.overrides' is not installed</h1><p>I recently upgraded to Fedora 38 and Gnome 44, and one of my installed applications give this...</p>https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/ Wed, 03 May 2023 19:38:38 +0000https://andreaskaris.github.io/blog/linux/org-gnome-shell-overrides/DedicatedServiceMonitors in OpenShift Monitoring<h2>DedicatedServiceMonitors in Red Hat OpenShift Monitoring</h2><h3>Introduction</h3><p>By default, OpenShift's Prometheus stack will pull pod CPU and memory usage fr...</p>https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/ Wed, 03 May 2023 16:41:21 +0000https://andreaskaris.github.io/blog/openshift/dedicated-service-monitors/Using cgroups for CFS bandwidth control<h1>Using cgroups for CFS bandwidth control (CPU quotas)</h1><p>CFS bandwidth control is a feature that allows you to limit the amount of CPU time that a control gro...</p>https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/ Mon, 27 Mar 2023 11:42:03 +0000https://andreaskaris.github.io/blog/linux/cgroups_cpu_quota/How kubelet monitors filesystems<h1>How kubelet monitors filesystems</h1><p>Kubelet can monitor 2 file systems, nodefs and imagefs. nodefs is auto-discovered by the presence of <code>/var/lib/kubelet</code>....</p>https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/ Wed, 22 Mar 2023 17:18:49 +0000https://andreaskaris.github.io/blog/openshift/kubelet-filesystems/Golang IP address conversion<h2>IP address conversion with golang</h2><h3>Finding an IP network's broadcast IP</h3><p>The following function calculates the broadcast IP for both IPv4 and IPv6 net...</p>https://andreaskaris.github.io/blog/coding/golang-ip-conversion/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/golang-ip-conversion/Controller Reconciliation<h2>Reconciliation with the Operator SDK</h2><p>In the Operator SDK, controllers implement the [Reconciler](https://github.com/kubernetes-sigs/controller-runtime/bl...</p>https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/ Fri, 24 Feb 2023 12:45:32 +0000https://andreaskaris.github.io/blog/coding/operator-sdk-reconciliation/SCCs and mutating webhooks - a lesson learned<p><img alt="title" src="https://user-images.githubusercontent.com/3291433/220175185-f58bf274-e886-45ef-ab32-92b6cd3f1739.png"></p><h1>SCCs and mutating webhooks - or how to lear...</h1>https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/ Mon, 20 Feb 2023 19:22:20 +0000https://andreaskaris.github.io/blog/openshift/openshift-scc-with-mutating-webhooks/Useful commands<h1>Useful commands</h1><h2>Tracking the evolution of conntrack with lnstat</h2><p>lnstat is a neat tool to check the evolution of entries (and other counters) in the co...</p>https://andreaskaris.github.io/blog/networking/useful-commands/ Tue, 17 Jan 2023 15:36:04 +0000https://andreaskaris.github.io/blog/networking/useful-commands/
\ No newline at end of file
diff --git a/index.html b/index.html
index 444d31d..0d51850 100644
--- a/index.html
+++ b/index.html
@@ -461,6 +461,8 @@
+
+
@@ -822,6 +824,27 @@
+
+
+
+
+
+
+
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. # See also: # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#changing-selinux-modes-at-boot-time_changing-selinux-states-and-modes # # NOTE: Up to RHEL 8 release included, SELINUX=disabled would also # fully disable SELinux during boot. If you need a system with SELinux # fully disabled instead of SELinux running with no policy loaded, you # need to pass selinux=0 to the kernel command line. You can use grubby # to persistently set the bootloader to boot with selinux=0: # # grubby --update-kernel ALL --args selinux=0 # # To revert back to SELinux enabled: # # grubby --update-kernel ALL --remove-args selinux # SELINUX=enforcing # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
Disable SELinux permanently starting with next boot
+
+
+
+
grubby --update-kernel ALL --remove-args selinux
+
Enable SELinux permanently starting with next boot (if if was disabled)
+
+
+
+
+
Finding SELinux violations
+
+
+
+
Command
+
Description
+
Examples
+
+
+
+
+
journalctl -t setroubleshoot
+
Get journal logs for SELinux issues
+
Jul 19 07:09:41 rhel9-training setroubleshoot[47738]: SELinux is preventing /usr/lib/systemd/systemd from execute access on the file cause-violation. For co> Jul 19 07:09:41 rhel9-training setroubleshoot[47738]: SELinux is preventing /usr/lib/systemd/systemd from execute access on the file cause-violation.
If you believe that systemd should be allowed execute access on the cause-violation file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c '(iolation)' --raw