Merge pull request #723 from 3dwardch3ng/infra/logstash

fix volumes mounts
This commit is contained in:
2024-07-30 07:37:02 +10:00
committed by GitHub
3 changed files with 7 additions and 19 deletions

View File

@@ -2,16 +2,16 @@ namespaceOverride: logstash
clusterDomain: logstash.logstash.svc.cluster.local
input: ""
output: ""
existingConfiguration: "logstash-pipelines"
existingConfiguration: ""
enableMultiplePipelines: true
extraVolumes:
- name: logstash-config-http
- name: configurations
hostPath:
path: /mnt/nfs/AppData/logstash/config/http.conf
type: File
path: /mnt/nfs/AppData/logstash/config
type: Directory
extraVolumeMounts:
- name: logstash-config-http
mountPath: /bitnami/logstash/config/http.conf
- name: configurations
mountPath: /bitnami/logstash/config
containerPorts:
- name: http
containerPort: 8080

View File

@@ -1,5 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ./pipelines.yaml
- ../../base

View File

@@ -1,11 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: logstash-pipelines
namespace: logstash
data:
pipelines.yaml: |
- pipeline.id: http
path.config: "/opt/bitnami/logstash/config/http.conf"
- pipeline.id: syslog
path.config: "/opt/bitnami/logstash/config/syslog.conf"