<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.haidhi.my.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Microk8s%3A_setup_registry</id>
	<title>Microk8s: setup registry - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.haidhi.my.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Microk8s%3A_setup_registry"/>
	<link rel="alternate" type="text/html" href="https://wiki.haidhi.my.id/wiki/index.php?title=Microk8s:_setup_registry&amp;action=history"/>
	<updated>2026-11-01T22:43:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.haidhi.my.id/wiki/index.php?title=Microk8s:_setup_registry&amp;diff=387&amp;oldid=prev</id>
		<title>SanzSkuy: /* Last Step */</title>
		<link rel="alternate" type="text/html" href="https://wiki.haidhi.my.id/wiki/index.php?title=Microk8s:_setup_registry&amp;diff=387&amp;oldid=prev"/>
		<updated>2025-05-26T08:25:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Last Step&lt;/span&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:25, 26 May 2025&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-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&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;/syntaxhighlight&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;/syntaxhighlight&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;div&gt;Testing&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;Testing&lt;/div&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;syntaxhighlight lang=bash&amp;gt;&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;&lt;/ins&gt;syntaxhighlight lang=bash&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;div&gt;kubectl create deployment my-first-app --image=192.168.83.238:5000/haidhi/fastapi-app&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;kubectl create deployment my-first-app --image=192.168.83.238:5000/haidhi/fastapi-app&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;div&gt;kubectl get deployments&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;kubectl get deployments&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SanzSkuy</name></author>
	</entry>
	<entry>
		<id>https://wiki.haidhi.my.id/wiki/index.php?title=Microk8s:_setup_registry&amp;diff=386&amp;oldid=prev</id>
		<title>SanzSkuy: Created page with &quot;Kita bisa buat docker registry sendiri untuk microk8s seperti cara di sini Docker Registry &amp; Rootless Docker atau memakai registry bawaan microk8s dengan menjalankan: &lt;syntaxhighlight lang=bash&gt; microk8s enable registry &lt;/syntaxhighlight&gt; registry bawaan microk8s akan berjalan di &lt;code&gt;localhost:32000&lt;/code&gt;  = Config =  buat folder namanya &lt;code&gt;IP:PORT&lt;/code&gt; di &lt;code&gt;/var/snap/microk8s/current/args/certs.d&lt;/code&gt;. Contohnya saya pakai &lt;code&gt;192.168.83.238:5000&lt;/co...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.haidhi.my.id/wiki/index.php?title=Microk8s:_setup_registry&amp;diff=386&amp;oldid=prev"/>
		<updated>2025-05-26T08:25:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Kita bisa buat docker registry sendiri untuk microk8s seperti cara di sini &lt;a href=&quot;/wiki/index.php/Docker_Registry_%26_Rootless_Docker&quot; title=&quot;Docker Registry &amp;amp; Rootless Docker&quot;&gt;Docker Registry &amp;amp; Rootless Docker&lt;/a&gt; atau memakai registry bawaan microk8s dengan menjalankan: &amp;lt;syntaxhighlight lang=bash&amp;gt; microk8s enable registry &amp;lt;/syntaxhighlight&amp;gt; registry bawaan microk8s akan berjalan di &amp;lt;code&amp;gt;localhost:32000&amp;lt;/code&amp;gt;  = Config =  buat folder namanya &amp;lt;code&amp;gt;IP:PORT&amp;lt;/code&amp;gt; di &amp;lt;code&amp;gt;/var/snap/microk8s/current/args/certs.d&amp;lt;/code&amp;gt;. Contohnya saya pakai &amp;lt;code&amp;gt;192.168.83.238:5000&amp;lt;/co...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Kita bisa buat docker registry sendiri untuk microk8s seperti cara di sini [[Docker Registry &amp;amp; Rootless Docker]] atau memakai registry bawaan microk8s dengan menjalankan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
microk8s enable registry&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
registry bawaan microk8s akan berjalan di &amp;lt;code&amp;gt;localhost:32000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Config = &lt;br /&gt;
buat folder namanya &amp;lt;code&amp;gt;IP:PORT&amp;lt;/code&amp;gt; di &amp;lt;code&amp;gt;/var/snap/microk8s/current/args/certs.d&amp;lt;/code&amp;gt;. Contohnya saya pakai &amp;lt;code&amp;gt;192.168.83.238:5000&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo mkdir -p /var/snap/microk8s/current/args/certs.d/192.168.83.238:5000&lt;br /&gt;
sudo touch /var/snap/microk8s/current/args/certs.d/192.168.83.238:5000/hosts.toml &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
lalu di file &amp;lt;code&amp;gt;hosts.toml&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=toml&amp;gt;&lt;br /&gt;
server = &amp;quot;http://192.168.83.238:5000&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[host.&amp;quot;http://192.168.83.238:5000&amp;quot;]&lt;br /&gt;
  capabilities = [&amp;quot;pull&amp;quot;, &amp;quot;resolve&amp;quot;]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
lalu edit di &amp;lt;code&amp;gt;/var/snap/microk8s/8148/args/containerd-template.toml&amp;lt;/code&amp;gt;. Tambahin di paling bawah&lt;br /&gt;
&amp;lt;syntaxhighlight lang=toml&amp;gt;&lt;br /&gt;
[plugins.&amp;quot;io.containerd.grpc.v1.cri&amp;quot;.registry.configs.&amp;quot;192.168.83.238:5000&amp;quot;.auth]&lt;br /&gt;
    username = &amp;quot;username&amp;quot;&lt;br /&gt;
    password = &amp;quot;password&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;*note: katanya spasi gak ngaruh di toml, cuma buat jaga2 sesuaiin aja&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
= Last Step = &lt;br /&gt;
Restart microk8s&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
microk8s stop&lt;br /&gt;
microk8s start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Testing&lt;br /&gt;
syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
kubectl create deployment my-first-app --image=192.168.83.238:5000/haidhi/fastapi-app&lt;br /&gt;
kubectl get deployments&lt;br /&gt;
# output&lt;br /&gt;
NAME           READY   UP-TO-DATE   AVAILABLE   AGE&lt;br /&gt;
my-first-app   1/1     1            1           11s&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>SanzSkuy</name></author>
	</entry>
</feed>