Skip to content

Commit

Permalink
Update gcp images with security patches
Browse files Browse the repository at this point in the history
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
  • Loading branch information
serathius committed Mar 15, 2019
1 parent d5a3db0 commit 9e9b906
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
- --sink=stackdriver:?cluster_name={{ cluster_name }}&use_old_resources={{ use_old_resources }}&use_new_resources={{ use_new_resources }}&min_interval_sec=100&batch_export_timeout_sec=110&cluster_location={{ cluster_location }}
# BEGIN_PROMETHEUS_TO_SD
- name: prom-to-sd
image: k8s.gcr.io/prometheus-to-sd:v0.3.1
image: k8s.gcr.io/prometheus-to-sd:v0.5.0
command:
- /monitor
- --source=heapster:http://localhost:8082?whitelisted=stackdriver_requests_count,stackdriver_timeseries_count
Expand Down
12 changes: 6 additions & 6 deletions cluster/addons/fluentd-gcp/event-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,35 @@ subjects:
apiVersion: apps/v1
kind: Deployment
metadata:
name: event-exporter-v0.2.3
name: event-exporter-v0.2.4
namespace: kube-system
labels:
k8s-app: event-exporter
version: v0.2.3
version: v0.2.4
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
replicas: 1
selector:
matchLabels:
k8s-app: event-exporter
version: v0.2.3
version: v0.2.4
template:
metadata:
labels:
k8s-app: event-exporter
version: v0.2.3
version: v0.2.4
spec:
serviceAccountName: event-exporter-sa
containers:
- name: event-exporter
image: k8s.gcr.io/event-exporter:v0.2.3
image: k8s.gcr.io/event-exporter:v0.2.4
command:
- /event-exporter
- -sink-opts=-stackdriver-resource-model={{ exporter_sd_resource_model }}
# BEGIN_PROMETHEUS_TO_SD
- name: prometheus-to-sd-exporter
image: k8s.gcr.io/prometheus-to-sd:v0.3.1
image: k8s.gcr.io/prometheus-to-sd:v0.5.0
command:
- /monitor
- --stackdriver-prefix={{ prometheus_to_sd_prefix }}/addons
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
fi;
# BEGIN_PROMETHEUS_TO_SD
- name: prometheus-to-sd-exporter
image: k8s.gcr.io/prometheus-to-sd:v0.3.1
image: k8s.gcr.io/prometheus-to-sd:v0.5.0
command:
- /monitor
- --stackdriver-prefix={{ prometheus_to_sd_prefix }}/addons
Expand Down
4 changes: 2 additions & 2 deletions cluster/addons/fluentd-gcp/scaler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: kube-system
labels:
k8s-app: fluentd-gcp-scaler
version: v0.5.0
version: v0.5.1
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector:
Expand All @@ -19,7 +19,7 @@ spec:
serviceAccountName: fluentd-gcp-scaler
containers:
- name: fluentd-gcp-scaler
image: k8s.gcr.io/fluentd-gcp-scaler:0.5
image: k8s.gcr.io/fluentd-gcp-scaler:0.5.1
command:
- /scaler.sh
- --ds-name=fluentd-gcp-{{ fluentd_gcp_yaml_version }}
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/metadata-proxy/gce/metadata-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
cpu: "30m"
# BEGIN_PROMETHEUS_TO_SD
- name: prometheus-to-sd-exporter
image: k8s.gcr.io/prometheus-to-sd:v0.3.1
image: k8s.gcr.io/prometheus-to-sd:v0.5.0
# Request and limit resources to get guaranteed QoS.
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func prometheusExporterPodSpec(metricName string, metricValue int64, port int32)
},
{
Name: "prometheus-to-sd",
Image: "k8s.gcr.io/prometheus-to-sd:v0.3.1",
Image: "k8s.gcr.io/prometheus-to-sd:v0.5.0",
ImagePullPolicy: corev1.PullPolicy("Always"),
Command: []string{"/monitor", fmt.Sprintf("--source=:http://localhost:%d", port),
"--stackdriver-prefix=custom.googleapis.com", "--pod-id=$(POD_ID)", "--namespace-id=$(POD_NAMESPACE)"},
Expand Down

0 comments on commit 9e9b906

Please sign in to comment.