kubernetes - 我们如何在创建 configmap 时在 kubernetes 中使用数据源的 url
问题描述
我们如何在 kubernetes 中使用数据源的 url,同时创建像 ex 一样的 configmap。kubectl create configmap config-from-file --from-file= https://url-to-file-location
解决方案
kubectl 不支持使用 url 创建 configmaps https://github.com/kubernetes/website/pull/9903
推荐阅读
- sql - 如何强制执行最大限制编号。SQL 中每个日期每天的行数?
- python - 在 Jupyter Notebook 中使用 HyperNetX
- json - 最高值错误颜色
- azure-active-directory - 如何将 SSO 添加到 Microsoft 团队的 azure 机器人
- java - 使用递归无循环查找字符串列表的所有子集
- python - 收到十六进制输入后,我想知道如何输出 SHA1 哈希函数
- go - 如何设计 goroutines 程序来处理 api 限制错误
- java - Selenium Actions.click() 无需等待 Java Chromedriver
- android - 如何在撰写 TextField 中绘制平行水平线?
- .net-core - 在 .Net Core 项目中使用 REST API 上传带有 SharePoint 列表项的附件