我试着建立库伯内斯群。我有持久卷,持久卷索赔和存储类所有设置和运行,但当我想创建吊舱从部署,吊舱创建,但它挂在挂起状态。在描述之后,我只得到了这个警告“1个节点有卷节点关联冲突”谁能告诉我,我的音量配置中缺少了什么?
apiVersion: v1
kind: PersistentVolume
metadata:
creationTimestamp: null
labels:
io.kompose.service: mariadb-pv0
name: mariadb-pv0
spec:
volumeMode: Filesystem
storageClassName: local-storage
local:
path: "/home/gtcontainer/applications/data/db/mariadb"
accessModes:
- ReadWriteOnce
capacity:
storage: 2Gi
claimRef:
namespace: default
name: mariadb-claim0
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/cvl-gtv-42.corp.globaltelemetrics.eu
operator: In
values:
- master
status: {}