Change application configurations

Last Updated: Nov 15, 2017

Procedure

  1. Log on to the Container Service console.

  2. Click Applications in the left-side navigation pane.

  3. Select the cluster where the application you want to change configurations resides from the Cluster list.

  4. Click Update at the right of the application you want to change configurations.

    1

  5. The Change Configuration dialog box opens. Modify the configurations.

    1

    Note: You must update the Version. Otherwise, the OK button is not available.

    • Force Reschedule: By default, to avoid losing the container data in the local data volume on the current machine, Container Service restarts the container or recreates a container on the current machine when you change the application configurations. To schedule the container to another machine, turn on the Force Reschedule switch. Then, Container Service schedules the container to another machine according to your scheduling settings in the Template. For details, see Changing application configuration FAQs.

      Note: After scheduling the container to another machine by turning on the Force Reschedule switch, the container data in the local data volume on the former machine are lost. So proceed with caution.

    • Use Existing Orchestration Template: Click Use Existing Orchestration Template to select a template to change the application configurations. A confirmation dialog box opens. Click Confirm.

      Note: The new template will overwrite the current template.

  6. Click OK in the Change Configuration dialog box.

Subsequent operation

If the application is not updated after you change the configurations, you can redeploy the application to apply the configuration modifications. For details, see Redeploy an application.

Thank you! We've received your feedback.