<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://doc.ruscomtech.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2</id>
	<title>Назначение владельцев объектов - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://doc.ruscomtech.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2"/>
	<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;action=history"/>
	<updated>2026-09-16T15:57:32Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4565&amp;oldid=prev</id>
		<title>ENetrebin в 18:07, 5 сентября 2024</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4565&amp;oldid=prev"/>
		<updated>2024-09-05T18:07:25Z</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;Версия от 18:07, 5 сентября 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-l1&quot;&gt;Строка 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&#039;&#039;&#039;&#039;&#039;[[Применение Ключ-АСТРОМ]] / [[Применение Ключ-АСТРОМ#.D0.92.D0.BB.D0.B0.D0.B4.D0.B5.D0.BD.D0.B8.D0.B5|Владение]] / Назначение владельцев объектов&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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;div&gt;Вы можете назначить &amp;#039;&amp;#039;&amp;#039;Команды владения&amp;#039;&amp;#039;&amp;#039; для любого контролируемого объекта в Ключ-АСТРОМ, используя основной идентификатор команды или дополнительные идентификаторы (определяемые при настройке команды). Это упрощает мгновенный поиск ответственной команды и связь с ней в случае возникновения какой-либо проблемы с объектом, например, если объект затронут уязвимостью.&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;#039;&amp;#039;&amp;#039;Команды владения&amp;#039;&amp;#039;&amp;#039; для любого контролируемого объекта в Ключ-АСТРОМ, используя основной идентификатор команды или дополнительные идентификаторы (определяемые при настройке команды). Это упрощает мгновенный поиск ответственной команды и связь с ней в случае возникновения какой-либо проблемы с объектом, например, если объект затронут уязвимостью.&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;!-- diff cache key ka_db:diff:1.41:old-4375:rev-4565:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>ENetrebin</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4375&amp;oldid=prev</id>
		<title>IKuznetsov: /* Переменные среды процесса */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4375&amp;oldid=prev"/>
		<updated>2024-08-22T15:11:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Переменные среды процесса&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;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;Версия от 15:11, 22 августа 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-l96&quot;&gt;Строка 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 96:&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;См. &amp;#039;&amp;#039;&amp;#039;Формат заполнения информации о владении (выше)&amp;#039;&amp;#039;&amp;#039; ко всем существующим параметрам «ключ-значение» или для создания собственного.&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;#039;&amp;#039;&amp;#039;Формат заполнения информации о владении (выше)&amp;#039;&amp;#039;&amp;#039; ко всем существующим параметрам «ключ-значение» или для создания собственного.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Теги ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Используйте теги для применения владения только для объектов, которые не охватываются описанными выше методами. Обычно это объекты, такие как фронтенд-приложения, которые стабильны и малочисленны.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;=== Методы тегов ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Вы можете использовать теги для применения владения в парах &#039;&#039;&#039;«ключ-значение» (раздел выше)&#039;&#039;&#039; к любому отслеживаемому объекту — &#039;&#039;&#039;&#039;&#039;[[Теги и метаданные|подробнее о тегах]]&#039;&#039;&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:230.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;owner&amp;lt;/code&amp;gt;и &amp;lt;code&amp;gt;dt.owner&amp;lt;/code&amp;gt;), легко применяются через веб-интерфейс.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Вы также можете настроить правила автоматических тегов через веб-интерфейс.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Мы рекомендуем использовать API пользовательских тегов вместо правил автоматических тегов для применения владения к объектам. API пользовательских тегов позволяет вам удобно применять теги к большой группе объектов в рамках одного вызова API, выполняемого немедленно.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Обратите внимание, что вручную примененные теги можно удалить вручную. Автоматически примененные теги нельзя удалить вручную из отдельных служб, групп процессов, экземпляров групп процессов, приложений или хостов.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;См. раздел &#039;&#039;&#039;&#039;&#039;[[Лучшие команды для владения]]&#039;&#039;&#039;&#039;&#039; для получения дополнительной информации о преимуществах и ограничениях тегов для назначения владельцев объектов.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;=== Разрешения ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Для добавления, изменения или удаления владения через API пользовательских тегов вам потребуются все следующие разрешения.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;entities.write&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;settings.read&amp;lt;/code&amp;gt; или политика IAM &amp;lt;code&amp;gt;ALLOW settings:objects:read WHERE settings:schemaId = &quot;builtin:ownership.teams&quot;;&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Для добавления, изменения или удаления тегов через веб-интерфейс вам необходимо разрешение &#039;&#039;&#039;Управление параметрами мониторинга&#039;&#039;&#039; на уровне среды или зоны управления.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Просмотр информации о владельце в веб-интерфейсе ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Для хостов и всех сущностей &#039;&#039;&#039;Kubernetes&#039;&#039;&#039; выберите &#039;&#039;&#039;Владельцы&#039;&#039;&#039; на странице сведений о объекте, чтобы просмотреть информацию о владельце.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;В этом примере показано сопоставление рабочей нагрузки Kubernetes с объектом &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Разверните имя команды, чтобы просмотреть ее данные. Выберите на странице &#039;&#039;&#039;Владельцы&#039;&#039;&#039;, чтобы изменить данные команды в &#039;&#039;&#039;Настройках&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:231.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;В этом примере показана информация о владельце модуля Kubernetes.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:232.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;На странице &#039;&#039;&#039;Хосты&#039;&#039;&#039; можно искать хосты с владением — фильтровать по &#039;&#039;&#039;Тегам&#039;&#039;&#039; с ключевыми префиксами, которые вы определили, например, &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;и &amp;lt;code&amp;gt;dt-owner&amp;lt;/code&amp;gt;. Обратите внимание, что пары ключ-значение владение должны быть применены как минимум к одному хосту, чтобы ключ был доступен в фильтре &#039;&#039;&#039;Теги&#039;&#039;&#039; . Этот метод поиска владения доступен на всех страницах групп объектов, которые можно фильтровать по тегам.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:233.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;На странице сведений о хосте, в примере ниже, у хоста есть три владельца команды. Один из владельцев отмечен как &#039;&#039;&#039;Неизвестный идентификатор команды&#039;&#039;&#039; . Это связано с тем, что даже если идентификатор команды был применен к хосту (например, через oneagentctl или ручной тег) в паре ключ-значение, команда не существует. Недействительный идентификатор команды означает, что команда или дополнительный идентификатор были применены к хосту в неправильном формате .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Выберите &#039;&#039;&#039;Свойства и теги&#039;&#039;&#039; , чтобы просмотреть все теги, примененные к хосту.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:234.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Выберите [[Файл:235.png|граница|23x23пкс]] рядом с неизвестной командой, а затем выберите &#039;&#039;&#039;Добавить команду&#039;&#039;&#039; , чтобы определить информацию о команде в &#039;&#039;&#039;Настройках&#039;&#039;&#039; . Затем сущность автоматически обновляется с определением команды.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:236.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ka_db:diff:1.41:old-4357:rev-4375:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4357&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4357&amp;oldid=prev"/>
		<updated>2024-08-22T13:14:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 13:14, 22 августа 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-l53&quot;&gt;Строка 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 53:&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;       &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;       &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.    &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.      &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.    &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.      &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.    &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;  &amp;lt;br /&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;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.    &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;  &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ka_db:diff:1.41:old-4356:rev-4357:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4356&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4356&amp;oldid=prev"/>
		<updated>2024-08-22T13:14:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 13:14, 22 августа 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-l53&quot;&gt;Строка 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 53:&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;       &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;       &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;  &amp;lt;br /&amp;gt;&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;  &amp;lt;br /&amp;gt;&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;  &amp;lt;br /&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;  &amp;lt;br /&amp;gt;&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;* Метки Kubernetes для сервиса &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&amp;gt;&amp;lt;br /&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;* Метки Kubernetes для сервиса &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&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;* Метки Kubernetes для namespace &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&amp;lt;/code&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;* Метки Kubernetes для namespace &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&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;&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;== Метаданные хоста ==&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;== Метаданные хоста ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4355&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4355&amp;oldid=prev"/>
		<updated>2024-08-22T13:14:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 13:14, 22 августа 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-l53&quot;&gt;Строка 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 53:&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &lt;/del&gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;      &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;  &amp;lt;br /&lt;/ins&gt;&amp;gt;&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;br /&amp;gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;  &amp;lt;br /&lt;/ins&gt;&amp;gt;&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;  &amp;lt;br /&lt;/ins&gt;&amp;gt;&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;* Метки Kubernetes для сервиса   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&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;* Метки Kubernetes для сервиса   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&amp;lt;br /&lt;/ins&gt;&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;* Метки Kubernetes для namespace   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&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;* Метки Kubernetes для namespace   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&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;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4353&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4353&amp;oldid=prev"/>
		<updated>2024-08-22T13:13:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 13:13, 22 августа 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-l54&quot;&gt;Строка 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 54:&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;     &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;      &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&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;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;&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;* Метки Kubernetes для сервиса &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&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;* Метки Kubernetes для сервиса &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&amp;gt;&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;* Метки Kubernetes для namespace &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&amp;lt;/code&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;* Метки Kubernetes для namespace &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&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;&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;== Метаданные хоста ==&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;== Метаданные хоста ==&lt;/div&gt;&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-l91&quot;&gt;Строка 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 91:&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;#039;&amp;#039;&amp;#039;не рекомендуем&amp;#039;&amp;#039;&amp;#039; использовать теги для назначения владения процессам или группам процессов.&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;#039;&amp;#039;&amp;#039;не рекомендуем&amp;#039;&amp;#039;&amp;#039; использовать теги для назначения владения процессам или группам процессов.&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;Узнайте больше об определении метаданных &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;группы процессов &lt;/del&gt;, например, о настройке переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; для IIS и Windows .&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;[[Теги и метаданные хоста|&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;определении &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;тегов и &lt;/ins&gt;метаданных &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;для хостов&#039;&#039;&#039;&#039;&#039;]]&lt;/ins&gt;, например, о настройке переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; для IIS и Windows .&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;См. Формат &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;для применения &lt;/del&gt;информации о &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;владельце &lt;/del&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;code&amp;gt;export DT_CUSTOM_PROP dt.owner=DemoTeam&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&#039;&#039;&#039;&lt;/ins&gt;Формат &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;заполнения &lt;/ins&gt;информации о &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;владении (выше)&#039;&#039;&#039; &lt;/ins&gt;ко всем существующим параметрам «ключ-значение» или для создания собственного.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ka_db:diff:1.41:old-4345:rev-4353:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4345&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4345&amp;oldid=prev"/>
		<updated>2024-08-22T10:51:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 10:51, 22 августа 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-l53&quot;&gt;Строка 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 53:&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;В примере кода ниже показана аннотация для владения на уровне развертывания.    &amp;lt;br /&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&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;div&gt;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    - containerPort: 80&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    - containerPort: 80&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;div&gt;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&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;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ka_db:diff:1.41:old-4344:rev-4345:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4344&amp;oldid=prev</id>
		<title>IKuznetsov: /* Метки и аннотации Kubernetes */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4344&amp;oldid=prev"/>
		<updated>2024-08-22T10:50:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Метки и аннотации Kubernetes&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;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;Версия от 10:50, 22 августа 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-l53&quot;&gt;Строка 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 53:&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[Лучшие команды для владения]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;В примере кода ниже показана аннотация для владения на уровне развертывания. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;В примере кода ниже показана аннотация для владения на уровне развертывания. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &amp;lt;br /&amp;gt;&lt;/ins&gt;&amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;&amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&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;div&gt;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    - containerPort: 80&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    imageregistry: &amp;quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    - containerPort: 80&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;div&gt;* Для процесса укажите владельца, используя пары ключ-значение с переменной среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&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;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;              value: &amp;quot;owner=team-automation owner=team-dev&amp;quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ka_db:diff:1.41:old-4342:rev-4344:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4342&amp;oldid=prev</id>
		<title>IKuznetsov: /* Поддерживаемые методы применения владения */</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4342&amp;oldid=prev"/>
		<updated>2024-08-21T21:21:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Поддерживаемые методы применения владения&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;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;Версия от 21:21, 21 августа 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-l16&quot;&gt;Строка 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 16:&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;|-&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;|-&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;|Хост метаданных через &amp;lt;code&amp;gt;oneagentctl&amp;lt;/code&amp;gt;или&amp;lt;code&amp;gt;hostcustomproperties.conf&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;oneagentctl&amp;lt;/code&amp;gt;или&amp;lt;code&amp;gt;hostcustomproperties.conf&amp;lt;/code&amp;gt;&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;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Хозяева&lt;/del&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;Хосты&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;div&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;|-&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;|Переменные среды&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;|Переменные среды&lt;/div&gt;&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-l47&quot;&gt;Строка 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 47:&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;* Вы можете определить максимум пять и минимум один ключ.&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;* Вы можете определить максимум пять и минимум один ключ.&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;* Вы можете использовать любой из определенных вами ключей в качестве префикса в парах ключ-значение. Например, для ключей &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner&amp;lt;/code&amp;gt; вы можете использовать &amp;lt;code&amp;gt;owner-1&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner-test&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;owner&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner&amp;lt;/code&amp;gt; вы можете использовать &amp;lt;code&amp;gt;owner-1&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner-test&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Метки и аннотации Kubernetes ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Вы можете указать &#039;&#039;&#039;команды владения&#039;&#039;&#039; для различных объектов &#039;&#039;&#039;Kubernetes&#039;&#039;&#039;, таких как &#039;&#039;&#039;Deployments&#039;&#039;&#039;, &#039;&#039;&#039;Pods&#039;&#039;&#039;, &#039;&#039;&#039;Services&#039;&#039;&#039; или &#039;&#039;&#039;namespaces&#039;&#039;&#039;. Чтобы гарантировать, что объекты Kubernetes имеют адекватное покрытие владения, что особенно важно для недолговечных сущностей, таких как Pods, предоставьте информацию о владельце в виде меток или аннотаций Kubernetes с парами ключ-значение в файле спецификации развертывания, например, &amp;lt;code&amp;gt;deployment.yaml&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Мы рекомендуем определить владельца для Deployment и всех других объектов, для которых вы хотите охват владения. См. также &#039;&#039;&#039;&#039;&#039;[[Лучшие команды для владения]]&#039;&#039;&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Установка идентификатора команды в качестве метки или аннотации для Deployment, CronJob, Job, DaemonSet или StatefulSet предоставляет информацию о владении командой для соответствующих объектов &amp;lt;code&amp;gt;CLOUD_APPLICATION&amp;lt;/code&amp;gt;. Обратите внимание, что это владение не распространяется на &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;.  В этом примере двойное владение устанавливается через две метки для Deployment. Каждая метка имеет уникальный ключ. Уникальные ключи являются обязательным требованием в метках и аннотациях Kubernetes.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner-1: my-team-1 # Dual team ownership defined for the Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner-2: my-team-2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  В примере кода ниже показана аннотация для владения на уровне развертывания.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team # Ownership defined for the Deployment&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Установите метки для Pod, чтобы указать владельца для соответствующего объекта &amp;lt;code&amp;gt;CLOUD_APPLICATION_INSTANCE&amp;lt;/code&amp;gt;. Укажите владельца для каждого Pod.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        dt.owner: my-team # Ownership defined for the Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  В примере кода ниже показан манифест для Pod, имеющего аннотацию &amp;lt;code&amp;gt;dt.owner: myTeam&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Pod&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: annotations-demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  annotations:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    imageregistry: &quot;&amp;lt;nowiki&amp;gt;https://hub.docker.com/&amp;lt;/nowiki&amp;gt;&quot;&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: my-team&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - name: nginx&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    image: nginx:1.14.2&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    - containerPort: 80&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; , которая определена для контейнера.  В переменных окружения можно указать несколько значений для одного и того же ключа. В этом примере двойное владение определяется с помощью ключа &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt;.  &amp;lt;code&amp;gt;apiVersion: apps/v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Deployment&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  replicas: 3&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    matchLabels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      app: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  template:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;      containers:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;        - name: demo&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          image: demo:1.0.0&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;          env:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;            - name: DT_CUSTOM_PROP ## Environment variable&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;              value: &quot;owner=team-automation owner=team-dev&quot; # Dual ownership for the process; team IDs are team-automation and team-dev.&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Метки Kubernetes для сервиса  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Service&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: my-service&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the Service&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;spec:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  selector:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  app.kubernetes.io/name: MyApp&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;ports:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  - protocol: TCP&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    port: 80&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    targetPort: 9376&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Метки Kubernetes для namespace  &amp;lt;code&amp;gt;apiVersion: v1&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;kind: Namespace&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;metadata:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  name: my-namespace&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;  labels:&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;    dt.owner: team-a # Ownership defined for the namespace&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Метаданные хоста ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Для хостов мы рекомендуем использовать метаданные хоста в качестве основного метода применения права собственности.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Узнайте больше об [[Теги и метаданные хоста|&#039;&#039;&#039;&#039;&#039;определении тегов и метаданных для хостов&#039;&#039;&#039;&#039;&#039;]] и интерфейсе командной строки ЕдиногоАгента &amp;lt;code&amp;gt;oneagentctl&amp;lt;/code&amp;gt; .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Вы также можете назначать владение хостам с помощью тегов .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;oneagentctl&amp;lt;/code&amp;gt; ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&#039;&#039;&#039;&#039;&#039;ЕдиныйАгент версии 1.189+&#039;&#039;&#039;&#039;&#039; Для хостов с ЕдинымАгентом версии 1.189+ используйте &amp;lt;code&amp;gt;oneagenctl&amp;lt;/code&amp;gt; интерфейс командной строки после установки, чтобы задать свойство метаданных для отдельного хоста. Запустите &amp;lt;code&amp;gt;oneagentctl&amp;lt;/code&amp;gt; с правами администратора или root из этих расположений по умолчанию.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* &#039;&#039;&#039;Windows&#039;&#039;&#039;: &amp;lt;code&amp;gt;%PROGRAMFILES%\astromkey\oneagent\agent\tools&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* &#039;&#039;&#039;Все Unix-подобные системы&#039;&#039;&#039;: &amp;lt;code&amp;gt;/opt/astromkey/oneagent/agent/tools&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;В этом примере для Unix-подобных систем используется &amp;lt;code&amp;gt;--set-host-property&amp;lt;/code&amp;gt; установка владения с помощью пары ключ-значение &amp;lt;code&amp;gt;owner-1=team-automation&amp;lt;/code&amp;gt; , где &amp;lt;code&amp;gt;team-automation&amp;lt;/code&amp;gt;— основной идентификатор команды или дополнительный идентификатор.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;./oneagentctl --set-host-property owner-1=team-automation&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;hostcustomproperties.conf&amp;lt;/code&amp;gt; ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&#039;&#039;&#039;&#039;&#039;ЕдиныйАгент версии 1.187 и более ранних&#039;&#039;&#039;&#039;&#039; Для хостов на ЕдиномАгенте 1.187 и более ранних версиях создайте или отредактируйте файл &amp;lt;code&amp;gt;hostcustomproperties.conf&amp;lt;/code&amp;gt; конфигурации ЕдиногоАгента в следующих местах.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* &#039;&#039;&#039;Windows&#039;&#039;&#039;: &amp;lt;code&amp;gt;%PROGRAMDATA%\astromkey\oneagent\agent\config&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* &#039;&#039;&#039;се Unix-подобные системы&#039;&#039;&#039;: &amp;lt;code&amp;gt;/var/lib/astromkey/oneagent/agent/config&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;В этом примере для Unix-подобных систем устанавливается влияние на хост с помощью пары ключ-значение &amp;lt;code&amp;gt;dt.owner-1=team-automation&amp;lt;/code&amp;gt; , где &amp;lt;code&amp;gt;team-automation&amp;lt;/code&amp;gt;— основной идентификатор команды или дополнительный идентификатор.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;cat hostcustomproperties.conf dt.owner-1=team-automation&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Переменные среды процесса ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Для процессов мы &#039;&#039;&#039;рекомендуем&#039;&#039;&#039; указывать владение в парах ключ-значение через переменную среды &amp;lt;code&amp;gt;DT_CUSTOM_PROP&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Мы &#039;&#039;&#039;не рекомендуем&#039;&#039;&#039; использовать теги для назначения владения процессам или группам процессов.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;DT_CUSTOM_PROP&amp;lt;/code&amp;gt; для IIS и Windows .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;См. Формат для применения информации о владельце ко всем существующим параметрам «ключ-значение» или для создания собственного.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
	<entry>
		<id>https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4331&amp;oldid=prev</id>
		<title>IKuznetsov в 12:45, 19 августа 2024</title>
		<link rel="alternate" type="text/html" href="https://doc.ruscomtech.ru/index.php?title=%D0%9D%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B2%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D1%8C%D1%86%D0%B5%D0%B2_%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2&amp;diff=4331&amp;oldid=prev"/>
		<updated>2024-08-19T12:45:50Z</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;Версия от 12:45, 19 августа 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-l1&quot;&gt;Строка 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Вы можете назначить &#039;&#039;&#039;Команды владения&#039;&#039;&#039; для любого контролируемого объекта в Ключ-АСТРОМ, используя основной идентификатор команды или дополнительные идентификаторы (определяемые при настройке команды). Это упрощает мгновенный поиск ответственной команды и связь с ней в случае возникновения какой-либо проблемы с объектом, например, если объект затронут уязвимостью.&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Владение можно применить с помощью нескольких методов, таких как метки и аннотации Kubernetes, метаданные хоста, переменные среды и теги (в том числе через API пользовательских тегов Ключ-АСТРОМ).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Поддерживаемые методы применения владения ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Поддерживаются следующие методы применения типов собственности и объектов.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Метаданные развертывания или конфигурации &#039;&#039;&#039;&#039;&#039;рекомендуется&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;{| class=&quot;wikitable&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;!Метод&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;!Типы сущностей&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|Метки и аннотации Kubernetes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|Все объекты Kubernetes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;oneagentctl&amp;lt;/code&amp;gt;или&amp;lt;code&amp;gt;hostcustomproperties.conf&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|Хозяева&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|Переменные среды&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|Процессы&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;|}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Теги (ручные, автоматические и через API) — все отслеживаемые объекты&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Формат заполнения информации о владении ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;owner&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner&amp;lt;/code&amp;gt; доступны в каждой среде мониторинга — см. &#039;&#039;&#039;Настройки &amp;gt; Владение &amp;gt; Настройка&#039;&#039;&#039;. Однако вы можете изменить или удалить ключи по умолчанию и определить свои собственные .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Значение всегда является уникальным идентификатором команды, указанным при создании команды. Вы также можете использовать дополнительные идентификаторы.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;У сущности может быть более одной команды владения. Вы можете добиться этого, применяя несколько пар ключ-значение, как показано в следующих разделах.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;=== Пользовательские ключи для информации владения ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;Вы можете определить максимум пять ключей для применения информации владения.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;# Перейдите в &#039;&#039;&#039;Настройки &amp;gt; Владение &amp;gt; Настроить&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;# Нажмите на кнопку &#039;&#039;&#039;Добавить ключ&#039;&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;# Введите ключ (&#039;&#039;&#039;Включено&#039;&#039;&#039; по умолчанию).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;# Сохраните изменения.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;[[Файл:229.png|граница]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;При отключении или удалении ключа объекта, назначенные командам через такие ключи, больше не будут отображать или хранить метаданные о владении. Однако такие ключи будут отображаться как обычные теги, применяемые к объектам.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;=== Дополнительные требования к ключам владения ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* Вы можете определить максимум пять и минимум один ключ.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;owner&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner&amp;lt;/code&amp;gt; вы можете использовать &amp;lt;code&amp;gt;owner-1&amp;lt;/code&amp;gt; и &amp;lt;code&amp;gt;dt.owner-test&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IKuznetsov</name></author>
	</entry>
</feed>