@Override
    public void getConfig(QrStartConfig.Builder builder) {
        cluster.getConfig(builder);

        if (clusterMembership.isPresent()) {
            boolean adminCluster = clusterMembership.get().cluster().type() == ClusterSpec.Type.admin;
            int maxHeapSize = adminCluster ? 96 : 256;
            builder.jvm
                    .gcopts(jvmGCOptions)
                    .heapsize(maxHeapSize);
            if (adminCluster) builder.jvm.minHeapsize(maxHeapSize);
        }
    }
Container running a metrics proxy.

@author gjoranv
config-model/src/main/java/com/yahoo/vespa/model/admin/metricsproxy/MetricsProxyContainer.java