boolean isUseNodeNameAsExternalAddress() {
        return useNodeNameAsExternalAddress;
    }
@Test
    public void kubernetesApiNodeNameAsExternalAddress() {
        // given
        Map<String, Comparable> properties = createProperties();
        properties.put(KubernetesProperties.USE_NODE_NAME_AS_EXTERNAL_ADDRESS.key(), true);

        // when
        KubernetesConfig config = new KubernetesConfig(properties);

        // then
        assertTrue(config.isUseNodeNameAsExternalAddress());
    }