Merge pull request #439 from 3dwardch3ng/infra/new-relic
add vol for fluent bit
This commit is contained in:
@@ -37,3 +37,10 @@ spec:
|
||||
enabled: true
|
||||
newrelic-logging:
|
||||
lowDataMode: true
|
||||
fluentBit:
|
||||
persistence:
|
||||
mode: hostPath
|
||||
persistentVolume:
|
||||
storageClass: "local-path"
|
||||
existingVolume: "nr-fluentbit-pv"
|
||||
existingVolumeClaim: "nr-fluentbit-pvc"
|
||||
|
||||
46
kubernetes/infrastructure/new-relic/app/volume.yaml
Normal file
46
kubernetes/infrastructure/new-relic/app/volume.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nr-fluentbit-pv
|
||||
namespace: minio
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
volumeMode: Filesystem
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
local:
|
||||
path: "/mnt/nfs/AppData/new-relic/fluentbit"
|
||||
claimRef:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
name: nr-fluentbit-pvc
|
||||
namespace: minio
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- rpi5-cluster-node-1
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nr-fluentbit-pvc
|
||||
namespace: new-relic
|
||||
labels:
|
||||
name: nr-fluentbit-pvc
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
Reference in New Issue
Block a user