public ClusterInfo.Builder clusterInfo() {
        DeploymentSpec spec = getApplicationPackage().getDeploymentSpec();
        ClusterInfo.Builder builder = new ClusterInfo.Builder();
        spec.hostTTL(properties().applicationId().instance(), deployState.zone().environment(), deployState.zone().region())
            .filter(ttl -> ! ttl.isZero())
            .filter(__ -> deployState.getProperties().cloudAccount().map(account -> ! account.isUnspecified()).orElse(false))
            .ifPresent(builder::hostTTL);
        spec.instance(properties().applicationId().instance())
            .flatMap(instance -> instance.bcp().groups().stream()
                                         .filter(group -> group.memberRegions().contains(deployState.zone().region()))
                                         .map(Group::deadline)
                                         .min(Comparator.naturalOrder()))
            .ifPresent(builder::bcpDeadline);
        return builder;
    }
Returns a cluster info builder pre-populated with info known in this context.
config-model/src/main/java/com/yahoo/config/model/ConfigModelContext.java