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

Split Kubermatic alerts into master and seed #2909

Merged
merged 2 commits into from
Mar 3, 2019

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Mar 2, 2019

What this PR does / why we need it:
The Kubermatic chart now allows to not deploy master components, so we need to make sure that there are no false positive alerts being fired all the time.

Existing installations will continue to work because their kubermatic-*.yaml expression in the values.yaml will match both new alert YAML files.

Which issue(s) this PR fixes:
Fixes #2861

Release note:

NONE

@xrstf xrstf requested a review from kron4eg March 2, 2019 20:33
@kubermatic-bot kubermatic-bot added release-note-none Denotes a PR that doesn't merit a release note. team/seed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 2, 2019
Copy link
Member

@kron4eg kron4eg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 3, 2019
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 761f76b0c52019ee679e92cd9c18c2825fb85457

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kron4eg

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2019
@kubermatic-bot kubermatic-bot merged commit 8b64016 into master Mar 3, 2019
@kubermatic-bot kubermatic-bot deleted the split-kubermatic-alerts branch March 3, 2019 12:06
alvaroaleman pushed a commit that referenced this pull request Mar 4, 2019
* split kubermatic alerts into master and seed

* rebuild outdated alerting rules
kubermatic-bot pushed a commit that referenced this pull request Mar 5, 2019
* Use downstream triple package

Upstream removed the triple package[0], in order to be able to upgrade
client-go we need to have a downsream version.

[0] kubernetes/kubernetes#70966

* WIP

* Update fixtures

* Override cluster-api dependency

* Fix linting

* Split Kubermatic alerts into master and seed (#2909)

* split kubermatic alerts into master and seed

* rebuild outdated alerting rules

* Remove clusterv1alpha1 clientset dependecy from cluster controller

* Remove unused script

* Use ctrlruntimeClient in pkg/handler/node_v1.go

* Finish moving handler to ctrlruntimeClient

* Remove GetAdminKubernetesClientForCustomerCluster from Clusterprovider

* Use dynamic client for machines in conformance tester

* Fix handler tests

* Remove unused script

* Fix linting

* Actually fix linting error

* Register schemes

* Register clusterapi scheme in usercluster connection provider

* Remove redundant options to the dynamic client

* Filter list calls

* Put impersonated users into system:authenticated group

This is required for some very basic things like API discovery to work

* Dep ensure

* Add permissions to get nodes

* Rbac generator script: Use a different metrics serving port than cluster controller

* Fixup rbac for usercluster nodes

* Dont fatalf outside of main

* Print reconciling info on level four
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable KubermaticAPIDown alerts for non-master seeds
3 participants