Skip to content

Commit

Permalink
docs: refactor installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Oct 16, 2023
1 parent 5bcc43c commit ef74c4c
Show file tree
Hide file tree
Showing 4 changed files with 370 additions and 264 deletions.
1 change: 1 addition & 0 deletions .worktrees/backport-release-v3
Submodule backport-release-v3 added at 277d6d
151 changes: 151 additions & 0 deletions argocd-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sumologic
spec:
project: default
source:
repoURL: "https://sumologic.github.io/sumologic-kubernetes-collection/"
targetRevision: 3.8.0
helm:
releaseName: collection
values: >
sumologic:
setupEnabled: true
accessId: "dummy"
accessKey: "dummy"
endpoint: http://receiver-mock.receiver-mock:3000/terraform/api/
metrics:
collector:
otelcol:
scrapeInterval: 15s
resources:
requests:
memory: 128Mi
cpu: 50m
remoteWriteProxy:
resources:
requests:
cpu: 5m
memory: 16Mi
replicaCount: 1
kube-prometheus-stack:
prometheus:
prometheusSpec:
resources:
requests:
cpu: 100m
memory: 128Mi
# kind exposes etcd metrics in http on a different port, and enables TLS for the default
# port. This change is simpler than configuring TLS for the default port.
# TODO: Should we use TLS for our default values.yaml here?
kubeEtcd:
service:
targetPort: 2381
metadata:
persistence:
size: 128Mi
logs:
statefulset:
resources:
requests:
cpu: 100m
memory: 128Mi
replicaCount: 1
metrics:
statefulset:
resources:
requests:
cpu: 100m
memory: 128Mi
replicaCount: 1
otelevents:
config:
merge:
receivers:
raw_k8s_events:
# we want to get all historical events for this test
max_event_age: 1h
statefulset:
resources:
requests:
memory: 64Mi
cpu: 100m
otelcol:
logs:
statefulset:
replicaCount: 1
metrics:
statefulset:
replicaCount: 1
tracesSampler:
config:
# Default otlp pipeline from values.yaml is used.
exporters:
otlphttp:
traces_endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}/v1/traces
deployment:
replicas: 1
resources:
requests:
memory: 64Mi
cpu: 10m
tracesGateway:
deployment:
replicas: 1
resources:
requests:
memory: 64Mi
cpu: 10m
otelcolInstrumentation:
enabled: true
statefulset:
replicaCount: 1
resources:
requests:
memory: 64Mi
cpu: 10m
otellogs:
config:
merge:
receivers:
journald:
directory: /run/log/journal
# Prevent snowball effect by filtering out receiver mock logs
filelog/containers:
exclude:
- /var/log/pods/receiver-mock_*/*/*.log
daemonset:
extraVolumeMounts:
- mountPath: /run/log/journal
name: run-log-journal
extraVolumes:
# kind doesn't enable journald persistence, and the journal resides at /run/log/journal
# instead of /var/log/journal
- hostPath:
path: /run/log/journal
type: DirectoryOrCreate
name: run-log-journal
telegraf-operator:
enabled: true
resources:
requests:
cpu: 5m
memory: 32Mi
sidecarResources:
requests:
cpu: 5m
memory: 10Mi
chart: sumologic
destination:
server: "https://kubernetes.default.svc"
namespace: sumologic
Loading

0 comments on commit ef74c4c

Please sign in to comment.