<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Helm on IT-CNE Cloud-Native Core</title>
		<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/</link>
		<description>Recent content in Helm on IT-CNE Cloud-Native Core</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<atom:link href="https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Helm overview</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/overview/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/overview/</guid>
				<description>&lt;p&gt;Ok, let&amp;rsquo;s start with Helm.&#xA;First, you have to understand the following 3 Helm concepts: &lt;strong&gt;Chart&lt;/strong&gt;, &lt;strong&gt;Repository&lt;/strong&gt; and &lt;strong&gt;Release&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;A &lt;strong&gt;Chart&lt;/strong&gt; is a Helm package. It contains all of the resource definitions necessary to run an application, tool, or service inside of a Kubernetes cluster. Think of it like the Kubernetes equivalent of a Homebrew formula, an Apt dpkg, or a Yum RPM file.&lt;/p&gt;&#xA;&lt;p&gt;A &lt;strong&gt;Repository&lt;/strong&gt; is the place where charts can be collected and shared. It’s like Perl’s CPAN archive or the Fedora Package Database, but for Kubernetes packages.&lt;/p&gt;</description>
			</item>
			<item>
				<title>CLI installation</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/installation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/installation/</guid>
				<description>&lt;p&gt;This guide shows you how to install the &lt;code&gt;helm&lt;/code&gt; CLI tool. &lt;code&gt;helm&lt;/code&gt; can be installed either from source or from pre-built binary releases.&#xA;We are going to use the pre-built releases.&#xA;&lt;code&gt;helm&lt;/code&gt; binaries can be found on &lt;a href=&#34;https://github.com/helm/helm/releases&#34;&gt;Helm&amp;rsquo;s release page&lt;/a&gt; for the usual variety of operating systems.&lt;/p&gt;&#xA;&lt;div class=&#34;alert alert-warning&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;h4 alert-heading&#34; role=&#34;heading&#34;&gt;Warning&lt;/div&gt;&#xA;&lt;p&gt;If you do this training in our acend web based environment, no installation is required.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;task-121221-install-cli&#34;&gt;Task 1.2.12.2.1: Install CLI&lt;/h2&gt;&#xA;&lt;p&gt;Install the CLI for your &lt;strong&gt;Operating System&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Create a chart</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/simplechart/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/simplechart/</guid>
				<description>&lt;p&gt;In this lab we are going to create our very first Helm chart and deploy it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;task-121237-create-chart&#34;&gt;Task 1.2.12.3.7: Create Chart&lt;/h2&gt;&#xA;&lt;p&gt;First, let&amp;rsquo;s create our chart. Open your favorite terminal and make sure you&amp;rsquo;re in the workspace for this lab, e.g. &lt;code&gt;cd ~/&amp;lt;workspace-kubernetes-training&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;helm create mychart&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You will now find a &lt;code&gt;mychart&lt;/code&gt; directory with the newly created chart. It already is a valid and fully functional chart which deploys an nginx instance. Have a look at the generated files and their content. For an explanation of the files, visit the &lt;a href=&#34;https://docs.helm.sh/developing_charts/#the-chart-file-structure&#34;&gt;Helm Developer Documentation&lt;/a&gt;. In a later section you&amp;rsquo;ll find all the information about Helm templates.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Generic Chart setup</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/generic-chart-setup/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/generic-chart-setup/</guid>
				<description>&lt;p&gt;In the following labs we are going to create our first Helm Charts with the help of Baloise&amp;rsquo;s Generic Chart and deploy them.&lt;/p&gt;&#xA;&lt;p&gt;Baloise&amp;rsquo;s Generic Helm Chart is meant as a template and easy starting point to deploy common Kubernetes resource manifests.&#xA;By declaring the Generic Chart as a dependency of your own Chart, you can make use of all the features the Generic Chart offers.&lt;/p&gt;&#xA;&lt;h2 id=&#34;task-2-setup-the-dependency&#34;&gt;Task 2: Setup the dependency&lt;/h2&gt;&#xA;&lt;p&gt;So first, let&amp;rsquo;s create your own Chart. Open your favorite terminal and make sure you&amp;rsquo;re in the workspace for this lab, e.g. &lt;code&gt;cd ~/&amp;lt;workspace-kubernetes-training&amp;gt;&lt;/code&gt;:&lt;/p&gt;</description>
			</item>
			<item>
				<title>A first example using the Generic Chart</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/a-first-example-using-the-generic-chart/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/a-first-example-using-the-generic-chart/</guid>
				<description>&lt;p&gt;You&amp;rsquo;re now all set to begin with a first example!&lt;/p&gt;&#xA;&lt;h2 id=&#34;task-4-create-a-valuesyaml-file&#34;&gt;Task 4: Create a &lt;code&gt;values.yaml&lt;/code&gt; file&lt;/h2&gt;&#xA;&lt;p&gt;Still inside your &lt;code&gt;mychart&lt;/code&gt; Helm Chart directory, open the already existing &lt;code&gt;values.yaml&lt;/code&gt; file.&#xA;Inside you&amp;rsquo;ll find a host of defined parameters. Delete them all.&lt;/p&gt;&#xA;&lt;p&gt;Instead, fill in the following content:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;first-example-app&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;replicaCount&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;image&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;repository&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;REGISTRY-URL/example/nginx-sample&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;tag&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;latest&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;pullPolicy&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;IfNotPresent&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;ingress&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;controller&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Route&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;clusterName&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;CLUSTER-NAME&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;network&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;http&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;servicePort&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8080&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;ingress&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;clusterName&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;CLUSTER-NAME&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;readinessProbe&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;httpGet&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;path&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;/&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;port&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8080&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;initialDelaySeconds&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;5&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;timeoutSeconds&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;resources&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;requests&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;cpu&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;10m&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;memory&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;16Mi&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;limits&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;cpu&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;200m&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#f92672&#34;&gt;memory&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;32Mi&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;task-5-a-first-test&#34;&gt;Task 5: A first test&lt;/h2&gt;&#xA;&lt;p&gt;Before applying anything to the cluster, you should test if the current values have the desired effect.&#xA;In order to do so, execute the following command:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Complex example</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/complex-example/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/complex-example/</guid>
				<description>&lt;p&gt;In this extended lab, we are going to deploy an existing, more complex application with a Helm chart from the Artifact Hub.&lt;/p&gt;&#xA;&lt;h2 id=&#34;artifact-hub&#34;&gt;Artifact Hub&lt;/h2&gt;&#xA;&lt;p&gt;Check out &lt;a href=&#34;https://artifacthub.io/&#34;&gt;Artifact Hub&lt;/a&gt; where you&amp;rsquo;ll find a huge number of different Helm charts. For this lab, we&amp;rsquo;ll use the &lt;a href=&#34;https://artifacthub.io/packages/helm/bitnami/wordpress&#34;&gt;WordPress chart by Bitnami&lt;/a&gt;, a publishing platform for building blogs and websites.&lt;/p&gt;&#xA;&lt;h2 id=&#34;wordpress&#34;&gt;WordPress&lt;/h2&gt;&#xA;&lt;p&gt;As this WordPress Helm chart is published in Bitnami&amp;rsquo;s Helm repository, we&amp;rsquo;re first going to add it to our local repo list:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Generic Chart usage</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/generic-chart-usage/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/generic-chart-usage/</guid>
				<description>&lt;p&gt;You have now seen how to set up and use the Generic Chart. Now it&amp;rsquo;s your turn!&lt;/p&gt;&#xA;&lt;h2 id=&#34;task-1-setup&#34;&gt;Task 1: Setup&lt;/h2&gt;&#xA;&lt;p&gt;Repeat the steps from &lt;a href=&#34;https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/exercises/helm/generic-chart-setup/&#34;&gt; Generic Chart setup&lt;/a&gt; in order to create a new Chart.&lt;/p&gt;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;h4 alert-heading&#34; role=&#34;heading&#34;&gt;Note&lt;/div&gt;&#xA;&lt;p&gt;Note the &lt;code&gt;alias:&lt;/code&gt; line inside &lt;code&gt;Chart.yaml&lt;/code&gt;. You can change this value to whatever you&amp;rsquo;d like, but you need to use the same name as first line inside your &lt;code&gt;values.yaml&lt;/code&gt;!&lt;/p&gt;&#xA;&lt;p&gt;This is also how you can use the Generic Chart multiple times if you have more than one app/component.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
			</item>
	</channel>
</rss>
