-
Notifications
You must be signed in to change notification settings - Fork 40k
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
New event exporter config with support for new stackdriver resources #63918
New event exporter config with support for new stackdriver resources #63918
Conversation
/cc @kawych @serathius |
/cc @x13n @MaciekPytel |
cluster/gce/gci/configure-helper.sh
Outdated
local -r location=${ZONE:-} | ||
fi | ||
sed -i -e "s@{{ *event_exporter_location *}}@${location}@g" "$1" | ||
stackdriver_resource_model="${LOGGING_STACKDRIVER_RESOURCE_TYPES:-old}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local -r?
16e7b49
to
38e04b7
Compare
/ok-to-test |
command: | ||
- /event-exporter | ||
- -sink-opts=-location={{ event_exporter_location }} | ||
- -sink-opts=-stackdriver-resource-model={{ exporter_sd_resource_model }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It the location parameter no longer required? I understand why you add the new parameter, but it's not obvious why you're also removing the old one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
event exporter now uses metadata server to figure out location. Metadata gives you correct location for regional, zonal and regular clusters.
/approve |
/test pull-kubernetes-e2e-gce |
/lgtm |
/hold |
38e04b7
to
173b3ec
Compare
/hold cancel |
spec: | ||
serviceAccountName: event-exporter-sa | ||
containers: | ||
- name: event-exporter | ||
image: k8s.gcr.io/event-exporter:v0.1.9 | ||
image: k8s.gcr.io/event-exporter:v0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're bumping this to 2.1, bump Deployment version as well.
173b3ec
to
03f5aac
Compare
/test pull-kubernetes-e2e-gce |
03f5aac
to
d611aea
Compare
/test pull-kubernetes-e2e-kops-aws |
@x13n @MaciekPytel can you approve and lgtm? |
I already approved (changes remove lgtm, not approval). I'll leave proper review and lgtm to people with more context. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cezarygerard, MaciekPytel, x13n The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubernetes-e2e-gce |
Automatic merge from submit-queue (batch tested with PRs 63569, 63918, 63980, 63295, 63989). If you want to cherry-pick this change to another branch, please follow the instructions here. |
New event exporter, with support for use new and old stackdriver resource model.
This should also be cherry-picked to release-1.10 branch, as all fluentd-gcp components support new and stackdriver resource model.