------loki-system目录中的configmap文件两处要去掉或者注释掉
insecure: true
----- loki-system目录中的statefulset.yaml中的pod亲和性这段配置是不是有问题,好像少了一些?
spec:
affinity:
podAffinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: loki-system
topologyKey: kubernetes.io/hostname
weight: 1
nodeAffinity: