Skip to content

Commit

Permalink
docs: --resources replaced with --collectors in the CLI
Browse files Browse the repository at this point in the history
This is related to kubernetes#915
  • Loading branch information
stigok authored Feb 14, 2020
1 parent 9216f8b commit f5fbb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ subjects:
namespace: your-namespace-where-kube-state-metrics-will-deployed
```

- then specify a set of namespaces (using the `--namespace` option) and a set of kubernetes objects (using the `--resources`) that your serviceaccount has access to in the `kube-state-metrics` deployment configuration
- then specify a set of namespaces (using the `--namespace` option) and a set of kubernetes objects (using the `--collectors`) that your serviceaccount has access to in the `kube-state-metrics` deployment configuration

```yaml
spec:
Expand All @@ -268,7 +268,7 @@ spec:
containers:
- name: kube-state-metrics
args:
- '--resources=pods'
- '--collectors=pods'
- '--namespace=project1'
```

Expand Down

0 comments on commit f5fbb55

Please sign in to comment.