我正在尝试创建自定义 FlexVolume,但无法附加/挂载并显示超时消息。我在哪里可以找到日志以确定失败的原因?
这是我的 StatefulSet 规范:
kind: StatefulSet
...
spec:
...
template:
...
spec:
...
volumes:
- name: "ignite-storage"
flexVolume:
driver: "co.mira/lvm"
fsType: "ext4"
options:
awsRegion: "us-east-1"
vols: "2"
tag: "ignite"
ebsType: "{{ ignite_storage_ebs_volume_type }}"
sizeGb: "{{ ignite_storage_ebs_volume_size_gb }}"
iopsPerGb: "2"
containers:
- name: ignite
...
volumeMounts:
- name: "ignite-storage"
mountPath: "..."
我的 FlexVolume 使用守护程序部署在所有节点上:/usr/libexec/kubernetes/kubelet-plugins/volume/exec/mira.co~lvm/lvm