<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Upgrades on JayeX - Cloud Native CI/CD Built On Kubernetes</title>
		<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/</link>
		<description>Recent content in Upgrades on JayeX - Cloud Native CI/CD Built On Kubernetes</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>CLI</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/cli/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/cli/</guid>
				<description>&lt;h2 id=&#34;cli&#34;&gt;CLI&lt;/h2&gt;&#xA;&lt;p&gt;To upgrade the jx CLI run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;jx upgrade cli&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To upgrade jx subcommand plugins run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;jx upgrade plugins&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;td-alert td-alert--md alert alert-note&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;td-alert-heading alert-heading&#34; role=&#34;heading&#34;&gt;Note&lt;/div&gt;&#xA;  &lt;div class=&#34;td-alert-body&#34;&gt;&#xA;    &lt;p&gt;If you encounter this error:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ERROR: failed to load plugin &amp;lt;plugin-name&amp;gt;: can&amp;#39;t find latest version of plugin: {&amp;#34;message&amp;#34;:&amp;#34;Not Found&amp;#34;,&amp;#34;documentation_url&amp;#34;:&amp;#34;https://docs.github.com/rest/reference/repos#get-the-latest-release&amp;#34;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then most probably it&amp;rsquo;s an old plugin which is not maintained, and can be removed from &lt;code&gt;~/.jx3/plugins/bin&lt;/code&gt; folder.&lt;/p&gt;&#xA;    &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;The &lt;code&gt;jx&lt;/code&gt; CLI version used to upgrade to is derived from the JayeX &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/about/concepts/version-stream/&#34;&gt;version stream&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Cluster</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/cluster/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/cluster/</guid>
				<description>&lt;h2 id=&#34;cluster&#34;&gt;Cluster&lt;/h2&gt;&#xA;&lt;h3 id=&#34;automatic-upgrades&#34;&gt;Automatic upgrades&lt;/h3&gt;&#xA;&lt;p&gt;To enable automatic upgrades of your cluster you need to modify your &lt;code&gt;jx-requirements.yml&lt;/code&gt; file in your development git cluster repository:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;apiVersion&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;core.jenkins-x.io/v4beta1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;kind&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Requirements&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;spec&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;autoUpdate&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;enabled&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;schedule&lt;/span&gt;: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;0 0 * * *&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;autoMerge&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Once you commit and push that change and your &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/about/how-it-works/#boot-job&#34;&gt;boot job has completed&lt;/a&gt; you should have a &lt;code&gt;CronJob&lt;/code&gt; running at the above schedule (every night at midnight) creating a Pull Request to upgrade your cluster&amp;rsquo;s versions of charts and images.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Infrastructure</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/infrastructure/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/infrastructure/</guid>
				<description>&lt;h2 id=&#34;infrastructure&#34;&gt;Infrastructure&lt;/h2&gt;&#xA;&lt;p&gt;If you have used one of the JayeX Terraform Git repositories to create and manage your cloud resources then you have two options.&lt;/p&gt;&#xA;&lt;h3 id=&#34;terraform-manual-apply&#34;&gt;Terraform manual apply&lt;/h3&gt;&#xA;&lt;p&gt;If you are running the Terraform apply commands yourself then from your infrastructure Git repository run:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;export TF_VAR_jx_bot_username=[your bot username]&#xA;export TF_VAR_jx_bot_token=[your bot token]&#xA;terraform get -update&#xA;terraform plan&#xA;terraform apply&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;terraform-cloud&#34;&gt;Terraform Cloud&lt;/h3&gt;&#xA;&lt;p&gt;If you are using &lt;a href=&#34;https://www.terraform.io/&#34;&gt;Terraform Cloud&lt;/a&gt; then from your infrastructure Git repository run:&lt;/p&gt;</description>
			</item>
			<item>
				<title>LTS</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/lts/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/lts/</guid>
				<description>&lt;div class=&#34;alert alert-warning&#34; role=&#34;alert&#34;&gt;&#xA;  &lt;h1&gt;WARNING: The LTS is not updated, so we don&#39;t recommend using it&lt;/h1&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;JayeX uses &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/about/concepts/version-stream/&#34;&gt;version streams&lt;/a&gt; as a quality gate when promoting plugins, charts, cli packages, container images etc.  This results in a release of JayeX.&lt;/p&gt;&#xA;&lt;p&gt;The default version stream for JayeX 3.x is &lt;a href=&#34;https://github.com/jenkins-x/jx3-versions&#34;&gt;https://github.com/jenkins-x/jx3-versions&lt;/a&gt;.  The JayeX own infrastructure runs a number of end to end BDD tests for different base install options which covers the core of JayeX.  Provided these tests pass on from a Pull Request it will be merged and users can upgrade their &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/guides/upgrades/cli&#34;&gt;CLI&lt;/a&gt; and &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/guides/upgrades/cluster&#34;&gt;Cluster&lt;/a&gt; bringing in the versions that make that release.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Version Stream Manual Migrations</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/migrations/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/upgrades/migrations/</guid>
				<description>&lt;h2 id=&#34;version-stream-manual-migrations&#34;&gt;Version Stream Manual Migrations&lt;/h2&gt;&#xA;&lt;p&gt;The sections below document manual migration steps required that occur from time to time where an automated upgrade is&#xA;not possible or practical&lt;/p&gt;&#xA;&lt;h3 id=&#34;v00969&#34;&gt;v0.0.969&lt;/h3&gt;&#xA;&lt;p&gt;NB: These steps are only relevant if you are using Hashicorp Vault as secret storage within &lt;code&gt;jx&lt;/code&gt;. Ignore for all other secret stores&lt;/p&gt;&#xA;&lt;p&gt;v0.0.969 introduced a change to remove Hashicorp Vault from &lt;code&gt;jx&lt;/code&gt; control and become an explicit cluster dependency&#xA;installed either via Terraform (for cloud environments) or Helm (for on-premises). The reasoning behind this is to reduce&#xA;cyclic complexity within &lt;code&gt;jx&lt;/code&gt; where the platform requires secrets and the &lt;code&gt;jx&lt;/code&gt; platform is also responsible for provisioning&#xA;where to store these secrets.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
