Skip to content

Commit

Permalink
Generate new 'fluentd-sumologic.yaml.tmpl'
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI authored and vsinghal13 committed Aug 4, 2020
1 parent 4a9ad7f commit 0a488a9
Showing 1 changed file with 61 additions and 14 deletions.
75 changes: 61 additions & 14 deletions deploy/kubernetes/fluentd-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ data:
@log_level error
@include logs.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/logs.containers
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -183,7 +184,8 @@ data:
sumo_client "k8s_1.1.0"
@include logs.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/logs.default
@include buffer.output.conf
</buffer>
</store>
Expand Down Expand Up @@ -215,7 +217,8 @@ data:
sumo_client "k8s_1.1.0"
@include logs.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/logs.kubelet
@include buffer.output.conf
</buffer>
</store>
Expand Down Expand Up @@ -252,7 +255,8 @@ data:
sumo_client "k8s_1.1.0"
@include logs.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/logs.systemd
@include buffer.output.conf
</buffer>
</store>
Expand Down Expand Up @@ -307,7 +311,8 @@ data:
verify_ssl "true"
proxy_uri ""
<buffer>
@type memory
@type file
path /fluentd/buffer/events
@include buffer.output.conf
</buffer>
</store>
Expand Down Expand Up @@ -425,7 +430,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_APISERVER_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.apiserver
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -440,7 +446,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.container
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -455,7 +462,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_CONTROL_PLANE_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.control_plane
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -470,7 +478,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_CONTROLLER_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.controller
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -485,7 +494,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.kubelet
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -500,7 +510,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_NODE_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.node
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -515,7 +526,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_SCHEDULER_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.scheduler
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -530,7 +542,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_STATE_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.state
@include buffer.output.conf
</buffer>
</store>
Expand All @@ -545,7 +558,8 @@ data:
endpoint "#{ENV['SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE']}"
@include metrics.output.conf
<buffer>
@type memory
@type file
path /fluentd/buffer/metrics.default
@include buffer.output.conf
</buffer>
</store>
Expand Down Expand Up @@ -805,6 +819,8 @@ spec:
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
- name: buffer
mountPath: "/fluentd/buffer"
livenessProbe:
httpGet:
path: /fluentd.pod.healthcheck?json=%7B%22log%22%3A+%22health+check%22%7D
Expand All @@ -824,6 +840,15 @@ spec:
secretKeyRef:
name: sumologic
key: endpoint-events
volumeClaimTemplates:
- metadata:
name: buffer
spec:
accessModes: [ReadWriteOnce]
storageClassName:
resources:
requests:
storage: 10Gi
---
# Source: sumologic/templates/metrics-statefulset.yaml

Expand Down Expand Up @@ -909,6 +934,8 @@ spec:
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
- name: buffer
mountPath: "/fluentd/buffer"
env:
- name: SUMO_ENDPOINT_APISERVER_METRICS_SOURCE
valueFrom:
Expand Down Expand Up @@ -952,6 +979,15 @@ spec:
key: endpoint-metrics-kube-state
- name: ADDITIONAL_PLUGINS
value: ""
volumeClaimTemplates:
- metadata:
name: buffer
spec:
accessModes: [ReadWriteOnce]
storageClassName:
resources:
requests:
storage: 10Gi

---
# Source: sumologic/templates/statefulset.yaml
Expand Down Expand Up @@ -1038,6 +1074,8 @@ spec:
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
- name: buffer
mountPath: "/fluentd/buffer"
env:
- name: SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE
valueFrom:
Expand All @@ -1046,6 +1084,15 @@ spec:
key: endpoint-logs
- name: ADDITIONAL_PLUGINS
value: ""
volumeClaimTemplates:
- metadata:
name: buffer
spec:
accessModes: [ReadWriteOnce]
storageClassName:
resources:
requests:
storage: 10Gi

---
# Source: sumologic/templates/hpa.yaml
Expand Down

0 comments on commit 0a488a9

Please sign in to comment.