<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.cless.pro/index.php?action=history&amp;feed=atom&amp;title=Minikube._Almalinux_8._Installation</id>
	<title>Minikube. Almalinux 8. Installation - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cless.pro/index.php?action=history&amp;feed=atom&amp;title=Minikube._Almalinux_8._Installation"/>
	<link rel="alternate" type="text/html" href="https://wiki.cless.pro/index.php?title=Minikube._Almalinux_8._Installation&amp;action=history"/>
	<updated>2026-10-22T22:02:51Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://wiki.cless.pro/index.php?title=Minikube._Almalinux_8._Installation&amp;diff=1909&amp;oldid=prev</id>
		<title>Cless в 16:50, 12 декабря 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.cless.pro/index.php?title=Minikube._Almalinux_8._Installation&amp;diff=1909&amp;oldid=prev"/>
		<updated>2024-12-12T16:50:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия 16:50, 12 декабря 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot;&gt;Строка 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;curl -LO &amp;lt;nowiki&amp;gt;https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;curl -LO &amp;lt;nowiki&amp;gt;https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;install minikube-linux-amd64 /usr/local/bin/minikube&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;install minikube-linux-amd64 /usr/local/bin/minikube&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Check for the Minikube version to confirm successful installation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Check for the Minikube version to confirm successful installation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cless</name></author>
	</entry>
	<entry>
		<id>https://wiki.cless.pro/index.php?title=Minikube._Almalinux_8._Installation&amp;diff=1383&amp;oldid=prev</id>
		<title>Cless: Новая страница: «= Links = https://technixleo.com/run-minikube-kubernetes-on-centos-almalinux-rhel/  = Description = Minikube requires your system to be running on a virtual machi...»</title>
		<link rel="alternate" type="text/html" href="https://wiki.cless.pro/index.php?title=Minikube._Almalinux_8._Installation&amp;diff=1383&amp;oldid=prev"/>
		<updated>2023-03-25T05:57:29Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «= Links = https://technixleo.com/run-minikube-kubernetes-on-centos-almalinux-rhel/  = Description = Minikube requires your system to be running on a virtual machi...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Links =&lt;br /&gt;
https://technixleo.com/run-minikube-kubernetes-on-centos-almalinux-rhel/&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
Minikube requires your system to be running on a virtual machine environment or a docker container.&lt;br /&gt;
&lt;br /&gt;
= Common installation =&lt;br /&gt;
&amp;lt;code&amp;gt;dnf update -y&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install KVM and its dependencies with the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dnf install -y qemu-kvm qemu-img libvirt virt-install libvirt-client conntrack&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enable and start the libvirtd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl enable --now libvirtd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for the libvirtd service status&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl status libvirtd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Docker install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dnf -y config-manager --add-repo &amp;lt;nowiki&amp;gt;https://download.docker.com/linux/centos/docker-ce.repo&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dnf -y remove podman buildah&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dnf -y install docker-ce docker-ce-cli containerd.io&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl enable --now docker.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;docker version&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create user libvirt and add one to groups libvirt, docker&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;adduser libvirt -g libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;passwd libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo usermod -a -G libvirt libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo usermod -a -G docker libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;newgrp libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sdoers file edit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano /etc/sudoers&amp;lt;/code&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 %libvirt ALL=(ALL) NOPASSWD: ALL&lt;br /&gt;
Edit the main configuration file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano /etc/libvirt/libvirtd.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the UNIX domain socket group ownership to libvirt by uncommenting the following line. In other words, remove the #.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;unix_sock_group = &amp;quot;libvirt&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the UNIX socket permissions for the R/W socket by uncommenting the following line and setting the correct permissions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;unix_sock_rw_perms = &amp;quot;0770&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and restart the Libvirtd service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl restart libvirtd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Install minikube =&lt;br /&gt;
Download the latest release of Minikube from the Github Latest releases page and install it.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can install Minikube using the following command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;curl -LO &amp;lt;nowiki&amp;gt;https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
install minikube-linux-amd64 /usr/local/bin/minikube&lt;br /&gt;
&lt;br /&gt;
Check for the Minikube version to confirm successful installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;minikube version&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure kubectl =&lt;br /&gt;
Install kubectl Locally&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;curl -LO &amp;lt;nowiki&amp;gt;https://storage.googleapis.com/kubernetes-release/release/`curl&amp;lt;/nowiki&amp;gt; -s &amp;lt;nowiki&amp;gt;https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make the file executable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chmod +x ./kubectl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move it to a directory that is on $PATH.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mv ./kubectl /usr/local/bin/kubectl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Confirm successful installation by checking the version.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;kubectl version --client -o json&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start minikube =&lt;br /&gt;
Login to libvirt user&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su - libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start using Minikube as a single node cluster, run the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;minikube start --addons=ingress&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Run as service =&lt;br /&gt;
EXIT to root&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano /etc/systemd/system/minikube.service&amp;lt;/code&amp;gt;&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Runs minikube on startup&lt;br /&gt;
 After=docker&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 ExecStart=/usr/local/bin/minikube start&lt;br /&gt;
 ExecStop=/usr/local/bin/minikube stop&lt;br /&gt;
 Type=oneshot&lt;br /&gt;
 RemainAfterExit=yes&lt;br /&gt;
 User=libvirt&lt;br /&gt;
 Group=libvirt&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl enable --now minikube&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to work with minikube as user &amp;quot;libvirt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su - libvirt&amp;lt;/code&amp;gt;&lt;br /&gt;
[[Категория:AlmaLinux 8]]&lt;br /&gt;
[[Категория:Kubernetes]]&lt;br /&gt;
__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__&lt;/div&gt;</summary>
		<author><name>Cless</name></author>
	</entry>
</feed>