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

Add a canary pod label #52

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Conversation

ahmed-mez
Copy link
Contributor

What does this PR do?

Add the label extendeddaemonsetreplicaset.datadoghq.com/canary=true as canary pods label

Motivation

Ease monitoring canary pods

Describe your test plan

  • Start a canary deploy
  • Canary pods must have the extendeddaemonsetreplicaset.datadoghq.com/canary=true label (k get po -l extendeddaemonsetreplicaset.datadoghq.com/canary=true)
  • Validate the canary k eds canary validate <eds-name>
  • k get po -l extendeddaemonsetreplicaset.datadoghq.com/canary=true must return No resources found

@ahmed-mez ahmed-mez added this to the v0.4 milestone Oct 22, 2020
@ahmed-mez ahmed-mez requested a review from a team as a code owner October 22, 2020 11:05
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@ahmed-mez ahmed-mez force-pushed the ahmed-mez/canary-pod-annotation branch from b814fb7 to 2e6779a Compare October 22, 2020 11:10
@codecov-io
Copy link

codecov-io commented Oct 22, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@d72a1bc). Click here to learn what that means.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #52   +/-   ##
=========================================
  Coverage          ?   36.73%           
=========================================
  Files             ?       29           
  Lines             ?     1530           
  Branches          ?        0           
=========================================
  Hits              ?      562           
  Misses            ?      895           
  Partials          ?       73           
Flag Coverage Δ
#unittests 36.73% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ers/extendeddaemonsetreplicaset/strategy/canary.go 0.00% <0.00%> (ø)
...endeddaemonsetreplicaset/strategy/rollingupdate.go 9.00% <0.00%> (ø)
...lers/extendeddaemonsetreplicaset/strategy/utils.go 19.23% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d72a1bc...8c45c3f. Read the comment docs.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@ahmed-mez ahmed-mez force-pushed the ahmed-mez/canary-pod-annotation branch from 2e6779a to 8c45c3f Compare October 22, 2020 12:24
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@ahmed-mez ahmed-mez merged commit 50d7af1 into master Oct 22, 2020
@ahmed-mez ahmed-mez deleted the ahmed-mez/canary-pod-annotation branch October 22, 2020 14:20
ahmed-mez added a commit that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants