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

Add cluster name override instructions #189

Merged
merged 4 commits into from
Sep 12, 2019
Merged
Changes from 1 commit
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
8 changes: 7 additions & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ To run the script that creates the namespace and secret, use the following comma
curl -s https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/master/deploy/docker/setup/setup.sh \
| bash -s - -d false -y false <api_endpoint> <access_id> <access_key>
```
NOTE: You'll need to set `-d` and `-y` to false so the script does not download the YAML file or deploy the resources into your cluster yet. Details on the parameters are explained [here](#automatic-source-creation-and-setup-script).
NOTE: You'll need to set `-d` and `-y` to false so the script does not download the YAML file or deploy the resources into your cluster yet. To use a different cluster name than the defualt `kubernetes`, add the `-k <cluster_name>` parameter. Details on the parameters are explained [here](#automatic-source-creation-and-setup-script).
maimaisie marked this conversation as resolved.
Show resolved Hide resolved

_Soon this step will not be needed after we move the collection setup into a helm hook. Stay tuned._

Expand Down Expand Up @@ -165,6 +165,12 @@ Make any changes to the `values.yaml` file as needed, and run the following to i
```bash
helm install sumologic/sumologic --name my-release --namespace my-namespace -f values.yaml
```

If you would like to use a different cluster name than the default `kubernetes`, add this to the `helm install` command:
```
--set prometheus-operator.prometheus.prometheusSpec.externalLabels.cluster="<my-cluster-name>"
```

### How to install if you have an existing Prometheus operator

Run the following to download the `values.yaml` file
Expand Down