【发布时间】:2022-12-10 21:54:39
【问题描述】:
我正在尝试将 Kubernetes 中的文件复制到现有目录。我收到错误
caused: mount through procfd: not a directory: unknown
我看过类似的问题,但似乎无法解决。这些是会议
配置图
apiVersion: v1
kind: ConfigMap
metadata:
name: hdfs-yarn
data:
yarn-site.xml: |
<?xml version="1.0" encoding="UTF-8"?>
...
这是我的部署 yaml
volumeMounts:
- mountPath: /opt/druid/conf/druid/cluster/_common/yarn-site.xml
name: hdfs-volume
subPath: yarn-site.xml
- mountPath: /druid/data
name: data-volume
...
volumes:
- name: hdfs-volume
configMap:
name: hdfs-yarn
items:
- key: yarn-site.xml
path: yarn-site.xml
...
谁能指出这里可能出了什么问题?在此先感谢您的所有帮助。
【问题讨论】:
标签: kubernetes configmap