public String generateInternalKubeConfigYaml(String networkAlias) {
        if (this.getNetworkAliases().contains(networkAlias)) {
            String serverUrl = "https://" + networkAlias + ":" + KUBE_SECURE_PORT;
            return kubeConfigWithServerUrl(kubeConfigYaml, serverUrl);
        } else {
            throw new IllegalArgumentException(networkAlias + " is not a network alias for k3s container");
        }
    }
Generate a kubernetes client configuration for use on a docker internal network. The kubeConfig can be used by
another docker container running in the same network as the k3s container. For access from the host, use
the {@link #getKubeConfigYaml()} method instead.

@param networkAlias a valid network alias of the k3s container.
@return the kubeConfig yaml.
modules/k3s/src/main/java/org/testcontainers/k3s/K3sContainer.java