fix ns and volumes for logstash

This commit is contained in:
2024-07-30 01:49:21 +10:00
parent 272124212a
commit 0748934663
3 changed files with 20 additions and 10 deletions

View File

@@ -1,16 +1,26 @@
namespaceOverride: logstash
clusterDomain: logstash.logstash.svc.cluster.local
input: ""
output: ""
input: null
filter: null
output: null
existingConfiguration: "logstash-pipelines"
enableMultiplePipelines: true
extraVolumes:
- name: logstash-pipeline-configs
- name: logstash-config-http
hostPath:
path: /mnt/nfs/AppData/logstash/config
type: Directory
path: /mnt/nfs/AppData/logstash/config/http.conf
type: File
readOnly: true
- name: logstash-config-syslog
hostPath:
path: /mnt/nfs/AppData/logstash/config/syslog.conf
type: File
readOnly: true
extraVolumeMounts:
- name: logstash-pipeline-configs
mountPath: /opt/bitnami/logstash/config/
- name: logstash-config-http
mountPath: /bitnami/logstash/config/http.conf
- name: logstash-config-syslog
mountPath: /bitnami/logstash/config/syslog.conf
containerPorts:
- name: http
containerPort: 8080

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: logstash-data-pv
namespace: argocd
namespace: logstash
labels:
type: local
spec:
@@ -19,7 +19,7 @@ spec:
apiVersion: v1
kind: PersistentVolumeClaim
name: logstash-data-pvc
namespace: argocd
namespace: logstash
nodeAffinity:
required:
nodeSelectorTerms:

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: logstash-data-pvc
namespace: argocd
namespace: logstash
labels:
name: logstash-data-pvc
spec: