Merge pull request #1072 from dgrisonnet/platform-patch

Allow configuring the platform used directly instead of having to use a patch
This commit is contained in:
Paweł Krupa
2021-04-09 14:29:34 +02:00
committed by GitHub
14 changed files with 85 additions and 66 deletions

View File

@@ -7,12 +7,14 @@ One fatal issue that can occur is that you run out of IP addresses in your eks c
You can monitor the `awscni` using kube-promethus with :
[embedmd]:# (../examples/eks-cni-example.jsonnet)
```jsonnet
local kp = (import 'kube-prometheus/main.libsonnet') +
(import 'kube-prometheus/platforms/eks.libsonnet') + {
local kp = (import 'kube-prometheus/main.libsonnet') + {
values+:: {
common+: {
namespace: 'monitoring',
},
kubePrometheus+: {
platform: 'eks',
},
},
kubernetesControlPlane+: {
prometheusRuleEksCNI+: {