<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Helm - 标签 - Gene.Tech</title>
        <link>https://geneliu.itaghome.win/zh-cn/tags/helm/</link>
        <description>Helm - 标签 - Gene.Tech</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>gene.liu@live.com (Gene Liu)</managingEditor>
            <webMaster>gene.liu@live.com (Gene Liu)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Sat, 27 Feb 2021 14:55:56 &#43;0000</lastBuildDate><atom:link href="https://geneliu.itaghome.win/zh-cn/tags/helm/" rel="self" type="application/rss+xml" /><item>
    <title>升级/更新 Helm Chart</title>
    <link>https://geneliu.itaghome.win/zh-cn/2021-02-27-15-how-to-upgrade-update-helm/</link>
    <pubDate>Sat, 27 Feb 2021 14:55:56 &#43;0000</pubDate>
    <author>gene.liu@live.com (Gene Liu)</author>
    <guid>https://geneliu.itaghome.win/zh-cn/2021-02-27-15-how-to-upgrade-update-helm/</guid>
    <description><![CDATA[<p>我从 ChartCenter 安装了一些 chart，但想稍后切换到每个 chart 的原始仓库，以防 ChartCenter 以后不再可用。</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">helm list -n hass
</span></span><span class="line"><span class="cl">WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
</span></span><span class="line"><span class="cl">WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
</span></span><span class="line"><span class="cl">NAME     	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART               	APP VERSION
</span></span><span class="line"><span class="cl">hass     	hass     	<span class="m">1</span>       	2021-01-22 16:01:56.958870812 -0500 EST	deployed	home-assistant-5.4.1	2020.12.1
</span></span><span class="line"><span class="cl">mosquitto	hass     	<span class="m">1</span>       	2021-01-22 14:37:06.899630717 -0500 EST	deployed	mosquitto-0.7.0     	2.0.4
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">helm upgrade -n hass hass home-assistant --repo https://k8s-at-home.com/charts/ -f hass/hass-values.yml</span></span></code></pre></div></div>]]></description>
</item>
<item>
    <title>升级 Home Assistant</title>
    <link>https://geneliu.itaghome.win/zh-cn/2020-02-05-upgrade-hass/</link>
    <pubDate>Wed, 05 Feb 2020 00:00:00 &#43;0000</pubDate>
    <author>gene.liu@live.com (Gene Liu)</author>
    <guid>https://geneliu.itaghome.win/zh-cn/2020-02-05-upgrade-hass/</guid>
    <description><![CDATA[<p>升级 Home Assistant 以使用最新的 Helm chart 和应用程序版本。</p>
<h3 id="检查现有的-chart">检查现有的 Chart</h3>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">helm list
</span></span><span class="line"><span class="cl">NAME     	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                	APP VERSION
</span></span><span class="line"><span class="cl">emqx     	default  	<span class="m">1</span>       	2020-01-15 09:50:07.876751946 -0500 EST	deployed	emqx-v4.0.0          	v4.0.0     
</span></span><span class="line"><span class="cl">hass     	default  	<span class="m">3</span>       	2020-01-22 14:40:55.119051419 -0500 EST	deployed	home-assistant-0.9.11	0.101.2    
</span></span><span class="line"><span class="cl">nextcloud	default  	<span class="m">1</span>       	2019-12-24 16:39:19.78369805 -0500 EST 	deployed	nextcloud-1.9.1      	17.0.0</span></span></code></pre></div></div>
<h3 id="更新-helm-仓库">更新 Helm 仓库</h3>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-shell">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">helm repo update
</span></span><span class="line"><span class="cl">Hang tight <span class="k">while</span> we grab the latest from your chart repositories...
</span></span><span class="line"><span class="cl">...Successfully got an update from the <span class="s2">&#34;geneliu&#34;</span> chart repository
</span></span><span class="line"><span class="cl">...Successfully got an update from the <span class="s2">&#34;emqx&#34;</span> chart repository
</span></span><span class="line"><span class="cl">...Successfully got an update from the <span class="s2">&#34;stable&#34;</span> chart repository
</span></span><span class="line"><span class="cl">Update Complete. ⎈ Happy Helming!⎈ </span></span></code></pre></div></div>
<h3 id="升级-home-assistant-chart">升级 Home Assistant Chart</h3>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">helm upgrade hass stable/home-assistant -f ./hass.yaml 
</span></span><span class="line"><span class="cl">Release <span class="s2">&#34;hass&#34;</span> has been upgraded. Happy Helming!
</span></span><span class="line"><span class="cl">NAME: hass
</span></span><span class="line"><span class="cl">LAST DEPLOYED: Wed Feb  <span class="m">5</span> 13:10:39 <span class="m">2020</span>
</span></span><span class="line"><span class="cl">NAMESPACE: default
</span></span><span class="line"><span class="cl">STATUS: deployed
</span></span><span class="line"><span class="cl">REVISION: <span class="m">4</span>
</span></span><span class="line"><span class="cl">TEST SUITE: None
</span></span><span class="line"><span class="cl">NOTES:
</span></span><span class="line"><span class="cl">1. Get the application URL by running these commands:
</span></span><span class="line"><span class="cl">  http://myhome.example.com/</span></span></code></pre></div></div>]]></description>
</item>
<item>
    <title>Kubernetes 作为 IoT 基础 (用于 Home Assistant 等)</title>
    <link>https://geneliu.itaghome.win/zh-cn/2020-02-04-k3s-iot-base/</link>
    <pubDate>Tue, 04 Feb 2020 00:00:00 &#43;0000</pubDate>
    <author>gene.liu@live.com (Gene Liu)</author>
    <guid>https://geneliu.itaghome.win/zh-cn/2020-02-04-k3s-iot-base/</guid>
    <description><![CDATA[<p>我已经有不少应用程序被容器化并由 Docker Compose 管理。维护应用级别的 Docker Compose YAML 文件工作量很小。然而，仍有一些零碎的组件需要我不时手动更新或升级。因此，我决定进行迁移，这是记录该任务的第一篇博客。</p>]]></description>
</item>
</channel>
</rss>
