diff --git a/doc/source/admintasks/kubernetes/admin-application-commands-and-helm-overrides.rst b/doc/source/admintasks/kubernetes/admin-application-commands-and-helm-overrides.rst index c97c8fd09..c19f31770 100644 --- a/doc/source/admintasks/kubernetes/admin-application-commands-and-helm-overrides.rst +++ b/doc/source/admintasks/kubernetes/admin-application-commands-and-helm-overrides.rst @@ -387,7 +387,7 @@ commands to manage containerized applications provided as part of |prod|. .. code-block:: none - ~(keystone_admin)]$ system application-update [-n | --app-name] [-v | --app-version] + ~(keystone_admin)]$ system application-update [-n | --app-name] [-v | --app-version] [ --reuse-attributes ] [ --reuse-user-overrides ` ] where the following are optional arguments: @@ -416,6 +416,16 @@ commands to manage containerized applications provided as part of |prod|. **** The version to update the application to. + **reuse-attributes** + If the user disabled some Helm charts (using :command:`system helm-chart-attribute-modify --enabled false`) + and wants to keep them disabled during an app-update then the user + should use ``--reuse-attributes true``. + + **reuse-user-overrides** + If the user added some Helm chart overrides + (using :command:`system helm-override-update`) and wants to keep them + over an app-update then the user should use ``--reuse-user-overrides true``. + and the following is a positional argument which must come last: **** diff --git a/doc/source/admintasks/kubernetes/kubernetes-admin-tutorials-metrics-server.rst b/doc/source/admintasks/kubernetes/kubernetes-admin-tutorials-metrics-server.rst index 28c1ed801..e423ffd3e 100644 --- a/doc/source/admintasks/kubernetes/kubernetes-admin-tutorials-metrics-server.rst +++ b/doc/source/admintasks/kubernetes/kubernetes-admin-tutorials-metrics-server.rst @@ -79,7 +79,7 @@ of Metrics API. .. code-block:: none - ~(keystone_admin)]$ system application-update --reuse-user-overrides true /usr/local/share/applications/helm/metrics-server-1.0-18.tgz + ~(keystone_admin)]$ system application-update /usr/local/share/applications/helm/metrics-server-1.0-18.tgz For details on leveraging Metrics Server for horizontal autoscaling or for @@ -93,3 +93,4 @@ For more information see: `https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top `__ + diff --git a/doc/source/system_configuration/kubernetes/application-commands-and-helm-overrides.rst b/doc/source/system_configuration/kubernetes/application-commands-and-helm-overrides.rst index 97f29d87e..5b8f09f83 100644 --- a/doc/source/system_configuration/kubernetes/application-commands-and-helm-overrides.rst +++ b/doc/source/system_configuration/kubernetes/application-commands-and-helm-overrides.rst @@ -97,6 +97,7 @@ commands to manage containerized applications provided as part of |prod|. **** is the path to the tar file containing the application to be uploaded. + For example: .. parsed-literal:: @@ -395,7 +396,7 @@ commands to manage containerized applications provided as part of |prod|. .. code-block:: none - ~(keystone_admin)]$ system application-update [-n | --app-name] [-v | --app-version] + ~(keystone_admin)]$ system application-update [-n | --app-name] [-v | --app-version] [ --reuse-attributes ] [ --reuse-user-overrides ` ] where the following are optional arguments: @@ -422,6 +423,16 @@ commands to manage containerized applications provided as part of |prod|. **** The version to update the application to. + **reuse-attributes** + If the user disabled some Helm charts (using :command:`system helm-chart-attribute-modify --enabled false`) + and wants to keep them disabled during an app-update then the user + should use ``--reuse-attributes true``. + + **reuse-user-overrides** + If the user added some Helm chart overrides + (using :command:`system helm-override-update`) and wants to keep them + over an app-update then the user should use ``--reuse-user-overrides true``. + and the following is a positional argument which must come last: **** @@ -485,3 +496,5 @@ commands to manage containerized applications provided as part of |prod|. ~(keystone_admin)]$ system application-delete metrics-server Application metrics-server deleted. + +