首页 > 解决方案 > 我们如何在创建 configmap 时在 kubernetes 中使用数据源的 url

问题描述

我们如何在 kubernetes 中使用数据源的 url,同时创建像 ex 一样的 configmap。kubectl create configmap config-from-file --from-file= https://url-to-file-location

标签: kubernetesconfigmap

解决方案


kubectl 不支持使用 url 创建 configmaps https://github.com/kubernetes/website/pull/9903


推荐阅读