public KubernetesConfigOptions.ServiceExposedType getRestServiceExposedType() {
        return flinkConfig.get(KubernetesConfigOptions.REST_SERVICE_EXPOSED_TYPE);
    }
@Test
    void testGetRestServiceExposedType() {
        flinkConfig.set(
                KubernetesConfigOptions.REST_SERVICE_EXPOSED_TYPE,
                KubernetesConfigOptions.ServiceExposedType.NodePort);
        assertThat(kubernetesJobManagerParameters.getRestServiceExposedType())
                .isEqualByComparingTo(KubernetesConfigOptions.ServiceExposedType.NodePort);
    }