Skip to content

Commit

Permalink
Merge pull request #415 from SumoLogic/vsinghal-0.14.0
Browse files Browse the repository at this point in the history
Cut release 0.14.0
  • Loading branch information
vsinghal13 committed Feb 12, 2020
2 parents 9796850 + ca57e44 commit 8a897ba
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 21 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ This repo contains all required resources to collect data from Kubernetes cluste

# Installation

Detailed instructions are available in our [Installation Guide](./deploy/README.md).
Detailed instructions are available in our Installation Guides below.

Sumo Logic Helm Chart Version
|:--------
[0.14.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.14.0/deploy/README.md)
[0.13.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.13.0/deploy/README.md)
[0.12.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.12.0/deploy/README.md)
[0.11.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.11.0/deploy/README.md)
[0.10.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.10.0/deploy/README.md)
[0.9.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.9.0/deploy/README.md)

# License

Expand Down
3 changes: 2 additions & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ The following matrix displays the tested package versions for our Helm chart.

Sumo Logic Helm Chart | Prometheus Operator | Fluent Bit | Falco | Metrics Server
|:-------- |:-------- |:-------- |:-------- |:--------
0.13.0 - Latest | 8.2.0 | 2.8.1 | 1.0.11 | 2.7.0
0.14.0 - Latest | 8.2.0 | 2.8.1 | 1.1.1 | 2.7.0
0.13.0 | 8.2.0 | 2.8.1 | 1.0.11 | 2.7.0
0.12.0 | 8.2.0 | 2.8.1 | 1.0.9 | -
0.9.0 - 0.11.0 | 6.2.1 | 2.4.4 | 1.0.8 | -
0.6.0 - 0.8.0 | 6.2.1 | 2.4.4 | 1.0.5 | -
4 changes: 2 additions & 2 deletions deploy/docs/Helm3.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ manifest_sorter.go:175: info: skipping unknown hook: "crd-install"
NOTE: If you need to install the chart with a different release name or namespace you will need to override some configuration fields for both Prometheus and fluent-bit. We recommend using an override file due to the number of fields that need to be overridden. In the following command, replace the `<RELEASE-NAME>` and `<NAMESPACE>` variables with your values and then run it to download the override file with your replaced values:

```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml | \
sed 's/\-sumologic.sumologic'"/-sumologic.<NAMESPACE>/g" | \
sed 's/\- sumologic'"/- <NAMESPACE>/g" | \
sed 's/\collection'"/<RELEASE-NAME>/g" > values.yaml
```

For example, if your release name is `my-release` and namespace is `my-namespace`:
```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml | \
sed 's/\-sumologic.sumologic'"/-sumologic.my-namespace/g" | \
sed 's/\collection'"/my-release/g" > values.yaml
```
Expand Down
6 changes: 3 additions & 3 deletions deploy/docs/Installation_with_Helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ ebpf:
To customize your configuration, download the values.yaml file by running

```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml
```

NOTE: If you need to install the chart with a different release name or namespace you will need to override some configuration fields for both Prometheus and fluent-bit. We recommend using an override file due to the number of fields that need to be overridden. In the following command, replace the `<RELEASE-NAME>` and `<NAMESPACE>` variables with your values and then run it to download the override file with your replaced values:

```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml | \
sed 's/\-sumologic.sumologic'"/-sumologic.<NAMESPACE>/g" | \
sed 's/\- sumologic'"/- <NAMESPACE>/g" | \
sed 's/\collection'"/<RELEASE-NAME>/g" > values.yaml
```

For example, if your release name is `my-release` and namespace is `my-namespace`:
```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml | \
sed 's/\-sumologic.sumologic'"/-sumologic.my-namespace/g" | \
sed 's/\collection'"/my-release/g" > values.yaml
```
Expand Down
12 changes: 6 additions & 6 deletions deploy/docs/Non_Helm_Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ kubectl create namespace sumologic
Run the following command to download and apply the YAML file containing all the Kubernetes resources. Replace the `<NAMESPACE>`, `<SUMOLOGIC_ACCESSID>`, `<SUMOLOGIC_ACCESSKEY>`, `<COLLECTOR_NAME>` and `<CLUSTER_NAME>` variables with your values.

```sh
curl -s https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/kubernetes/setup-sumologic.yaml.tmpl | \
curl -s https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/kubernetes/setup-sumologic.yaml.tmpl | \
sed 's/\$NAMESPACE'"/<NAMESPACE>/g" | \
sed 's/\$SUMOLOGIC_ACCESSID'"/<SUMOLOGIC_ACCESSID>/g" | \
sed 's/\$SUMOLOGIC_ACCESSKEY'"/<SUMOLOGIC_ACCESSKEY>/g" | \
Expand Down Expand Up @@ -153,7 +153,7 @@ In this step you will deploy Fluentd using a Sumo-provided .yaml manifest.
If you don't need to customize the configuration apply the `fluentd-sumologic.yaml` manifest with the following command:

```sh
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
sed 's/\$NAMESPACE'"/sumologic/g" | \
kubectl -n sumologic apply -f -
```
Expand All @@ -163,7 +163,7 @@ kubectl -n sumologic apply -f -
If you need to customize the configuration there are two commands to run. First, get the `fluentd-sumologic.yaml` manifest with following command:

```sh
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
sed 's/\$NAMESPACE'"/sumologic/g" >> fluentd-sumologic.yaml
```

Expand Down Expand Up @@ -191,7 +191,7 @@ In this step, you will configure the Prometheus server to write metrics to Fluen
Download the Prometheus Operator `prometheus-overrides.yaml` by running

```bash
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/prometheus-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/prometheus-overrides.yaml
```

Before installing `prometheus-operator`, edit `prometheus-overrides.yaml` to define a unique cluster identifier. The default value of the `cluster` field in the `externalLabels` section of `prometheus-overrides.yaml` is `kubernetes`. If you will be deploying the metric collection solution on multiple Kubernetes clusters, you will want to use a unique identifier for each. For example, you might use “Dev”, “Prod”, and so on.
Expand Down Expand Up @@ -247,7 +247,7 @@ In this step, you will deploy FluentBit to forward logs to Fluentd.
Run the following commands to download the FluentBit `fluent-bit-overrides.yaml` file and install `fluent-bit`

```bash
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/fluent-bit-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/fluent-bit-overrides.yaml
$ helm fetch stable/fluent-bit --version 2.8.1
$ helm template fluent-bit-2.8.1.tgz --name fluent-bit --namespace=sumologic -f fluent-bit-overrides.yaml > fluent-bit.yaml
$ kubectl apply -f fluent-bit.yaml
Expand All @@ -262,7 +262,7 @@ In this step, you will deploy [Falco](https://falco.org/) to detect anomalous ac
Download the file `falco-overrides.yaml` from GitHub:

```bash
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/falco-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/falco-overrides.yaml
$ helm fetch stable/falco --version 1.0.9
$ helm template falco-1.0.9.tgz --name falco --namespace=sumologic -f falco-overrides.yaml > falco.yaml
$ kubectl apply -f falco.yaml
Expand Down
4 changes: 2 additions & 2 deletions deploy/docs/existingPrometheusDoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Run the following to download the `values.yaml` file

```bash
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/sumologic/values.yaml
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/sumologic/values.yaml
```

Edit the `values.yaml` file to `prometheus-operator.enabled = false`, and run
Expand All @@ -27,7 +27,7 @@ helm install sumologic/sumologic --name collection --namespace sumologic -f valu
If you have not already customized your [remote write configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write), run the following to update the [remote write configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write) of the prometheus operator by installing with the prometheus overrides file we provide below.

```bash
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.13.0/deploy/helm/prometheus-overrides.yaml
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.14.0/deploy/helm/prometheus-overrides.yaml
```

Then run
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/sumologic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: sumologic
version: 0.13.0
appVersion: 0.13.0
version: 0.14.0
appVersion: 0.14.0
description: A Helm chart for collecting Kubernetes logs, metrics and events into Sumo Logic.
keywords:
- monitoring
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: sumologic/kubernetes-fluentd
tag: 0.13.0
tag: 0.14.0
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down
4 changes: 2 additions & 2 deletions deploy/kubernetes/fluentd-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ spec:
name: collection-sumologic
containers:
- name: fluentd
image: sumologic/kubernetes-fluentd:0.13.0
image: sumologic/kubernetes-fluentd:0.14.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down Expand Up @@ -665,7 +665,7 @@ spec:
name: collection-sumologic-events
containers:
- name: fluentd-events
image: sumologic/kubernetes-fluentd:0.13.0
image: sumologic/kubernetes-fluentd:0.14.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/setup-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ spec:
defaultMode: 0777
containers:
- name: setup
image: sumologic/kubernetes-fluentd:0.13.0
image: sumologic/kubernetes-fluentd:0.14.0
imagePullPolicy: IfNotPresent
command: ["/etc/terraform/setup.sh"]
volumeMounts:
Expand Down

0 comments on commit 8a897ba

Please sign in to comment.