-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for user-defined per-keyspace images #524
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4770,10 +4770,11 @@ <h3 id="planetscale.com/v2.VitessKeyspace">VitessKeyspace | |
</em> | ||
</td> | ||
<td> | ||
<p>Images are not customizable by users at the keyspace level because version | ||
skew across the cluster is discouraged except during rolling updates, | ||
in which case this field is automatically managed by the VitessCluster | ||
controller that owns this VitessKeyspace.</p> | ||
<p>Images are inherited from the VitessCluster spec, unless the user has | ||
specified keyspace-level overrides. Version skew across the cluster is | ||
discouraged except during rolling updates, in which case this field is | ||
automatically managed by the VitessCluster controller that owns this | ||
VitessKeyspace.</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -5078,6 +5079,7 @@ <h3 id="planetscale.com/v2.VitessKeyspaceImages">VitessKeyspaceImages | |
<p> | ||
(<em>Appears on:</em> | ||
<a href="#planetscale.com/v2.VitessKeyspaceSpec">VitessKeyspaceSpec</a>, | ||
<a href="#planetscale.com/v2.VitessKeyspaceTemplate">VitessKeyspaceTemplate</a>, | ||
<a href="#planetscale.com/v2.VitessShardSpec">VitessShardSpec</a>) | ||
</p> | ||
<p> | ||
|
@@ -5557,10 +5559,11 @@ <h3 id="planetscale.com/v2.VitessKeyspaceSpec">VitessKeyspaceSpec | |
</em> | ||
</td> | ||
<td> | ||
<p>Images are not customizable by users at the keyspace level because version | ||
skew across the cluster is discouraged except during rolling updates, | ||
in which case this field is automatically managed by the VitessCluster | ||
controller that owns this VitessKeyspace.</p> | ||
<p>Images are inherited from the VitessCluster spec, unless the user has | ||
specified keyspace-level overrides. Version skew across the cluster is | ||
discouraged except during rolling updates, in which case this field is | ||
automatically managed by the VitessCluster controller that owns this | ||
VitessKeyspace.</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the version here was more about Vitess than MySQL. I think that we're now focusing on MySQL version rather than Vitess version, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah! Yes indeed, just focusing on MySQL. Hm..with that observation in mind, do you think it would make sense to scope this PR to only allow MySQL image overrides? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I went ahead an removed support for user-definable per-keyspace images for vttablet, vtorc, myqsld exporter along w/ removing support for setting mariadb images. |
||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -5936,6 +5939,24 @@ <h3 id="planetscale.com/v2.VitessKeyspaceTemplate">VitessKeyspaceTemplate | |
<p>Annotations can optionally be used to attach custom annotations to the VitessKeyspace object.</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>images</code></br> | ||
<em> | ||
<a href="#planetscale.com/v2.VitessKeyspaceImages"> | ||
VitessKeyspaceImages | ||
</a> | ||
</em> | ||
</td> | ||
<td> | ||
<p>Users are encouraged to let the VitessCluster controller automatically | ||
propagate image changes from the VitessCluster to the VitessKeyspace | ||
via rolling updates.</p> | ||
<p>For special cases, users may specify per-VitessKeyspace images. An | ||
example: migrating from MySQL 5.7 to MySQL 8.0 via a <code>MoveTables</code> | ||
operation, after which the source keyspace is destroyed.</p> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3 id="planetscale.com/v2.VitessKeyspaceTurndownPolicy">VitessKeyspaceTurndownPolicy | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we can remove these from all of the CRDs on main now, but for now I think we can NOT propagate them here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, done