部署了一个测试应用,deployment 和 service 都工作正常,但日志查询界面无数据
容器 pod 正常

容器应用访问日志正常

日志服务组件工作正常

日志查询界面无记录

应用 yaml 文件
kind: Deployment
apiVersion: apps/v1
metadata:
name: nginx-demo-01
namespace: ops-private
labels:
app: nginx-demo-01
annotations:
deployment.kubernetes.io/revision: ‘1’
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
app: nginx-demo-01
template:
metadata:
creationTimestamp: null
labels:
app: nginx-demo-01
annotations:
kubesphere.io/collectSavedLog: ‘true’
logging.kubesphere.io/logsidecar-config: ‘{}’
spec:
volumes:
- name: nginx-demo-01
emptyDir: {}
containers:
- name: nginx-demo-01
image: ‘nginx:latest’
ports:
- name: tcp-80
containerPort: 80
protocol: TCP
resources:
limits:
cpu: 500m
memory: 300Mi
requests:
cpu: 100m
memory: 100Mi
volumeMounts:
- name: nginx-demo-01
mountPath: /var/log/nginx
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
serviceAccountName: default
serviceAccount: default
securityContext: {}
affinity: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
不知道 logging.kubesphere.io/logsidecar-config: ‘{}’ 这个注解值是否是对的?

日志收集功能是打开了的

在其中一个 logsidecar-injector-deploy 上找到如下日志报错:
