StandNorthStar commented on issue #12467: URL: https://github.com/apache/apisix/issues/12467#issuecomment-3130384591
解决了。 在deployment部署文件中把logs目录挂载到以pod命名的子目录下,相当于多了一级目录。 volumeMounts: - name: logs mountPath: /usr/local/apisix/logs subPathExpr: $(POD_NAME) env: - name: TZ value: "Asia/Shanghai" - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name volumes: - name: logs hostPath: path: /data/logs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org