-
Notifications
You must be signed in to change notification settings - Fork 277
Add check in the OSM CLI for available updates / upgrades / new versions #1720
Comments
For a first pass at this command, I envision a thin wrapper over Since all the parameters available to a user to change are in the chart's values.yaml, having a single CLI command that leverages ExamplesModify the ConfigMap, osm-controller not restarted: $ osm mesh update MESH_NAME --enable-egress Upgrade the control plane image versions, osm-controller restarted: $ osm mesh update MESH_NAME --osm-image-tag=v0.6.1 Modify both the ConfigMap and osm-controller deployment, osm-controller restarted: $ osm mesh update MESH_NAME --osm-image-tag=v0.6.1 --enable-egress Any concerns or other ways we can improve this approach? /cc @michelleN |
Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
Modify `osm version` cli command to print: (1) osm version installed remotely in mesh name and namespace, (2) local osm CLI version, (3) latest available release version. Add `remote` boolean flag to `osm version`, which can be used to suppress checking the remote osm version installed in the mesh. Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
Modify `osm version` cli command to print: (1) osm version installed remotely in mesh name and namespace, (2) local osm CLI version, (3) latest available release version. Add `remote` boolean flag to `osm version`, which can be used to suppress checking the remote osm version installed in the mesh. Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
Modify `osm version` cli command to print: (1) osm version installed remotely in mesh name and namespace, (2) local osm CLI version, (3) latest available release version. Add `remote` boolean flag to `osm version`, which can be used to suppress checking the remote osm version installed in the mesh. Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
Modify `osm version` cli command to print: (1) osm version installed remotely in mesh name and namespace, (2) local osm CLI version, (3) latest available release version. Add `remote` boolean flag to `osm version`, which can be used to suppress checking the remote osm version installed in the mesh. Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
Modify `osm version` cli command to print: (1) osm version installed remotely in mesh name and namespace, (2) local osm CLI version, (3) latest available release version. Add `remote` boolean flag to `osm version`, which can be used to suppress checking the remote osm version installed in the mesh. Resolves openservicemesh#1720. Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com>
@johnsonshi I see that you are assigned to this issue, please could you share the status of this? If you are no longer working on the please could you unassign yourself |
Resolved through #4416 |
This issue is to implement an OSM CLI command, which performs an upgrade of the control plane (and data plane if necessary) to the latest available version. For example:
osm check-update
could outputCurrent installed version: X; Available new version: Y
The design of this feature must ensure that Kubernetes clusters with older versions of the SMI CRDs continue to operate untinterrupted.
For instance: a cluster with version 1 of SMI and version 1 of OSM is upgraded to version 2 of OSM. Version 2 of OSM must continue to work with version 1 of SMI.
Unanswered questions:
Scope (please mark with X where applicable)
Possible use cases
The text was updated successfully, but these errors were encountered: