Skip to content
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

merge upstream changes #13

Merged
merged 392 commits into from
Dec 5, 2018

Conversation

s-urbaniak
Copy link

cc @brancz

squat and others added 30 commits September 21, 2018 15:23
…riod

pkg/k8sutil: add test case for secret name sanitization
…figs

pkg/prometheus: Allow configuration of relabel_configs per ServiceMonitor
This is distributed as a library that the user is meant to import.
example:

```
kp =  (import 'kube-prometheus/kube-prometheus.libsonnet') +
      (import 'kube-prometheus/kube-prometheus-thanos.libsonnet') +
      {
        _config+:: {...}
      };
```
…heus-thanos

Add initial thanos support to kube-prometheus
contrib/kube-prometheus: Run jb update and generate all manifests.
…nager

contrib/kube-prometheus: Generate new manifests with antiAffinity

contrib/kube-prometheus: jb update

Documentation: Generate after updating kube-prometheus manifests

contrib/kube-prometheus: Move antiaffinity into own jsonnet file

foobar
As these docs are outdated, this patch removes the link in the
README.md.
OWNERS: Add metalmatze and s-urbaniak
remove duplicate alertmanager down alert
contrib/kube-prometheus: Set antiAffinity for Prometheus & Alertmanager
metalmatze and others added 17 commits November 28, 2018 14:31
the operator spec key is named "externalUrl", rather than "externalURL"
Remove GOARCH=amd64 to prevent cross-compiling go binaries
Increase CPU limits for small containers to not being throttled as often
Currently, listwatch is racy, as revealed by the following error, when
running in k8s:

```
W1128 16:49:11.288643       1 reflector.go:270] github.com/coreos/prometheus-operator/pkg/prometheus/operator.go:403: watch of *v1.ConfigMap ended with: too old resource version: 14464 (19288)
panic: send on closed channel

goroutine 1373 [running]:
github.com/coreos/prometheus-operator/pkg/listwatch.newMultiWatch.func1(0x17f1c00, 0xc00084cab0, 0xc0002bbce0)
    /home/sur/go/src/github.com/coreos/prometheus-operator/pkg/listwatch/listwatch.go:181 +0x4f
created by github.com/coreos/prometheus-operator/pkg/listwatch.newMultiWatch
    /home/sur/go/src/github.com/coreos/prometheus-operator/pkg/listwatch/listwatch.go:175 +0x298
```

This fixes it by ensuring that the event sender channel is closed,
once all sender dispatcher goroutines exited.

This also fixes a small concurrency issue in the tests and adds the
`-race` parameter to unit tests in the Makefile.
…iwatch

pkg/listwatch: fix racy multiwatch
kube-prometheus: bump prometheus-operator
@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Dec 4, 2018
@s-urbaniak
Copy link
Author

CI shows:

vendor/k8s.io/client-go/transport/round_trippers.go:437:9: undefined: strings.Builder

This is caused by the now generated kubernetes client which uses >= Go1.10 features. Apparently we are still using Go 1.9 for the build here. Trying to find out where we can bump this 🤔

@pgier Do you maybe have any ideas?

@pgier pgier mentioned this pull request Dec 4, 2018
@s-urbaniak
Copy link
Author

PTAL @brancz this looks like the build is green now :-) Note, this is a simple git merge based bump.

@brancz
Copy link

brancz commented Dec 5, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 5, 2018
@openshift-merge-robot openshift-merge-robot merged commit 508fd28 into openshift:master Dec 5, 2018
@s-urbaniak s-urbaniak deleted the openshift-master branch December 5, 2018 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet