private void propagateRestartOnDeploy() {
        if (applicationPackage.getMetaData().isInternalRedeploy()) return;

        // Propagate application config setting of restartOnDeploy to cluster deferChangesUntilRestart
        for (ApplicationContainerCluster containerCluster : getContainerClusters().values()) {
            QrConfig config = getConfig(QrConfig.class, containerCluster.getConfigId());
            if (config.restartOnDeploy())
                containerCluster.setDeferChangesUntilRestart(true);
        }
    }
Constructs vespa model using config given in app

@param configModelRegistry a registry of config model "main" classes which may be used
       to instantiate config models
@param deployState the global deploy state to use for this model.
config-model/src/main/java/com/yahoo/vespa/model/VespaModel.java