<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>labels Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/labels/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/labels/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:07:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>What is Annotations in Kubernetes?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-annotations-in-kubernetes/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-annotations-in-kubernetes/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 10 Aug 2018 09:21:50 +0000</pubDate>
				<category><![CDATA[Kubernetes]]></category>
		<category><![CDATA[Annotations]]></category>
		<category><![CDATA[kubernetes]]></category>
		<category><![CDATA[labels]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5134</guid>

					<description><![CDATA[<p>What is Annotations in Kubernetes? There are two way using you can attach metadata to Kubernetes objects. labels annotations Kubernetes [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-annotations-in-kubernetes/">What is Annotations in Kubernetes?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5143" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/kubernetes-copy.png" alt="" width="600" height="315" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/kubernetes-copy.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/kubernetes-copy-300x158.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p class="p1">What is Annotations in Kubernetes?</p>
<p class="p1">There are two way using you can attach metadata to Kubernetes objects.</p>
<ol class="ol1">
<li class="li1">labels</li>
<li class="li1">annotations</li>
</ol>
<p class="p1">Kubernetes annotations is used to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata.</p>
<p class="p1">In contrast, annotations are not used to identify and select objects. The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels.</p>
<p class="p1">Annotations, like labels, are key/value maps:</p>
<p class="p1">apiVersion: extensions/v1beta1</p>
<p class="p1">kind: Deployment</p>
<p class="p1">metadata:</p>
<p class="p1"><span class="Apple-converted-space">  </span>annotations:</p>
<p class="p1"><span class="Apple-converted-space">    </span>kompose.cmd: ./kompose convert</p>
<p class="p1"><span class="Apple-converted-space">    </span>kompose.version: &#8220;&#8221;</p>
<p><strong>FORMAT</strong></p>
<pre class="brush: plain; title: ; notranslate">&quot;metadata&quot;: {&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;  &lt;/span&gt;&quot;annotations&quot;: {&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;    &lt;/span&gt;&quot;key1&quot; : &quot;value1&quot;,&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;    &lt;/span&gt;&quot;key2&quot; : &quot;value2&quot;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;}&lt;/p&gt;
</pre>
<p class="p1">Here are some examples of information that could be recorded in annotations:</p>
<ol class="ol1">
<li class="li1">Build, release, or image information like timestamps, release IDs, git branch, PR numbers, image hashes, and registry address.</li>
<li class="li1">Pointers to logging, monitoring, analytics, or audit repositories.</li>
</ol>
<p class="p1">More</p>
<p class="p4"><a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/">https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-annotations-in-kubernetes/">What is Annotations in Kubernetes?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-annotations-in-kubernetes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
