Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 0.17.0 #502

Merged
merged 3 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Detailed instructions are available in our Installation Guides below.

Sumo Logic Helm Chart Version
|:--------
[0.17.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.17.0/deploy/README.md)
[0.16.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.16.0/deploy/README.md)
[0.15.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.15.0/deploy/README.md)
[0.14.0](https://github.com/SumoLogic/sumologic-kubernetes-collection/blob/v0.14.0/deploy/README.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@perk-sumo @samjsong I was thinking maybe we should just list the last 5 versions here so, until 0.13?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's the way to go, let's consult that with @breinero and push as a fix to this branch later on.

Expand Down
4 changes: 2 additions & 2 deletions deploy/docs/Helm3.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,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.16.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/helm/sumologic/values.yaml | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.0/deploy/helm/sumologic/values.yaml | \
sed 's/\-sumologic.sumologic'"/-sumologic.my-namespace/g" | \
sed 's/\collection'"/my-release/g" > values.yaml
```
Expand Down
2 changes: 1 addition & 1 deletion deploy/docs/Installation_with_Helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ebpf:
To customize your configuration, download the values.yaml file by running

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

#### To install the chart with a different release name or namespace:
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.16.0/deploy/kubernetes/setup-sumologic.yaml.tmpl | \
curl -s https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/kubernetes/fluentd-sumologic.yaml.tmpl | \
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/helm/prometheus-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/helm/fluent-bit-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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.16.0/deploy/helm/falco-overrides.yaml
$ curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.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
2 changes: 1 addition & 1 deletion deploy/docs/Upgrading_with_Helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In the above command, since no arguments were specified, the `--reuse-values` fl
**Always download the latest version of `values.yaml` from the following link and synchronize it based on your existing `values.yaml` file before running the upgrade.**

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

### Example to upgrade using the `--version` flag:
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.16.0/deploy/helm/sumologic/values.yaml
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.0/deploy/helm/sumologic/values.yaml
```

Edit the `values.yaml` file to `prometheus-operator.enabled = false`, and run
Expand All @@ -38,7 +38,7 @@ Run the following to update the [remote write configuration](https://prometheus.
In the below command, replace `<SUMOLOGIC_HELM_CHART_NAMESPACE>` with the actual namespace where the sumologic helm chart is installed. This is done to point the prometheus remote write URL to the Fluentd endpoints correctly.

```bash
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.16.0/deploy/helm/prometheus-overrides.yaml| \
curl -LJO https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/v0.17.0/deploy/helm/prometheus-overrides.yaml| \
sed 's/\$(NAMESPACE)/<SUMOLOGIC_HELM_CHART_NAMESPACE>/g' prometheus-overrides.yaml > prometheus-overrides.yaml
```

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.16.0
appVersion: 0.16.0
version: 0.17.0
appVersion: 0.17.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.16.0
tag: 0.17.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 @@ -548,7 +548,7 @@ spec:
name: collection-sumologic
containers:
- name: fluentd
image: sumologic/kubernetes-fluentd:0.16.0
image: sumologic/kubernetes-fluentd:0.17.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down Expand Up @@ -707,7 +707,7 @@ spec:
name: collection-sumologic-events
containers:
- name: fluentd-events
image: sumologic/kubernetes-fluentd:0.16.0
image: sumologic/kubernetes-fluentd:0.17.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.16.0
image: sumologic/kubernetes-fluentd:0.17.0
imagePullPolicy: IfNotPresent
command: ["/etc/terraform/setup.sh"]
volumeMounts:
Expand Down