mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-30 19:01:22 +02:00
Merge pull request #414 from benjaminhuo/master
Change deprecated BaseImage to Image
This commit is contained in:
commit
3f3d4e2947
@ -141,7 +141,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
spec: {
|
spec: {
|
||||||
replicas: $._config.alertmanager.replicas,
|
replicas: $._config.alertmanager.replicas,
|
||||||
version: $._config.versions.alertmanager,
|
version: $._config.versions.alertmanager,
|
||||||
baseImage: $._config.imageRepos.alertmanager,
|
image: $._config.imageRepos.alertmanager + ':' + $._config.versions.alertmanager,
|
||||||
nodeSelector: { 'kubernetes.io/os': 'linux' },
|
nodeSelector: { 'kubernetes.io/os': 'linux' },
|
||||||
serviceAccountName: 'alertmanager-' + $._config.alertmanager.name,
|
serviceAccountName: 'alertmanager-' + $._config.alertmanager.name,
|
||||||
securityContext: {
|
securityContext: {
|
||||||
|
@ -30,7 +30,7 @@ local servicePort = k.core.v1.service.mixin.spec.portsType;
|
|||||||
spec+: {
|
spec+: {
|
||||||
thanos+: {
|
thanos+: {
|
||||||
version: $._config.versions.thanos,
|
version: $._config.versions.thanos,
|
||||||
baseImage: $._config.imageRepos.thanos,
|
image: $._config.imageRepos.thanos + ':' + $._config.versions.thanos,
|
||||||
objectStorageConfig: $._config.thanos.objectStorageConfig,
|
objectStorageConfig: $._config.thanos.objectStorageConfig,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -178,7 +178,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
spec: {
|
spec: {
|
||||||
replicas: p.replicas,
|
replicas: p.replicas,
|
||||||
version: $._config.versions.prometheus,
|
version: $._config.versions.prometheus,
|
||||||
baseImage: $._config.imageRepos.prometheus,
|
image: $._config.imageRepos.prometheus + ':' + $._config.versions.prometheus,
|
||||||
serviceAccountName: 'prometheus-' + p.name,
|
serviceAccountName: 'prometheus-' + p.name,
|
||||||
serviceMonitorSelector: {},
|
serviceMonitorSelector: {},
|
||||||
podMonitorSelector: {},
|
podMonitorSelector: {},
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
name: main
|
name: main
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
baseImage: quay.io/prometheus/alertmanager
|
image: quay.io/prometheus/alertmanager:v0.20.0
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
replicas: 3
|
replicas: 3
|
||||||
|
@ -11,7 +11,7 @@ spec:
|
|||||||
- name: alertmanager-main
|
- name: alertmanager-main
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
port: web
|
port: web
|
||||||
baseImage: quay.io/prometheus/prometheus
|
image: quay.io/prometheus/prometheus:v2.15.2
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
podMonitorNamespaceSelector: {}
|
podMonitorNamespaceSelector: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user