Skip to content

Commit

Permalink
add pv fluentd plugin config to helm rs config (#477)
Browse files Browse the repository at this point in the history
* add pv fluentd plugin to helm rs config

* helm rbac permissions for pv api calls
  • Loading branch information
gracewehner authored Dec 15, 2020
1 parent 24b709f commit 9061201
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
heritage: {{ .Release.Service }}
rules:
- apiGroups: [""]
resources: ["pods", "events", "nodes", "nodes/stats", "nodes/metrics", "nodes/spec", "nodes/proxy", "namespaces", "services"]
resources: ["pods", "events", "nodes", "nodes/stats", "nodes/metrics", "nodes/spec", "nodes/proxy", "namespaces", "services", "persistentvolumes"]
verbs: ["list", "get", "watch"]
- apiGroups: ["apps", "extensions", "autoscaling"]
resources: ["replicasets", "deployments", "horizontalpodautoscalers"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ data:
log_level debug
</source>
#Kubernetes Persistent Volume inventory
<source>
type kubepvinventory
tag oms.containerinsights.KubePVInventory
run_interval 60
log_level debug
</source>
#Kubernetes events
<source>
type kubeevents
Expand Down Expand Up @@ -99,6 +107,21 @@ data:
max_retry_wait 5m
</match>
<match oms.containerinsights.KubePVInventory**>
type out_oms
log_level debug
num_threads 5
buffer_chunk_limit 4m
buffer_type file
buffer_path %STATE_DIR_WS%/state/out_oms_kubepv*.buffer
buffer_queue_limit 20
buffer_queue_full_action drop_oldest_chunk
flush_interval 20s
retry_limit 10
retry_wait 5s
max_retry_wait 5m
</match>
<match oms.containerinsights.KubeEvents**>
type out_oms
log_level debug
Expand Down

0 comments on commit 9061201

Please sign in to comment.