Skip to content

Conversation

@xmcqueen
Copy link
Contributor

The general Annotations in the ClusterSpec get applied to both the Services and the Pods. There are cases where the user wants annotation exclusively for the Pod, such as when marking a Pod to be scraped by Prometheus. This PR puts in an ObjectMeta at the PodMetadata metav1.ClusterSpec level to facilitate specifying Pod-only Metadata. I've only implemented Annotations. I've added a test case for the Pod-only annotations.

@codecov
Copy link

codecov bot commented Apr 23, 2020

Codecov Report

Merging #210 into master will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
+ Coverage   75.23%   75.30%   +0.07%     
==========================================
  Files          30       30              
  Lines        2104     2110       +6     
==========================================
+ Hits         1583     1589       +6     
  Misses        393      393              
  Partials      128      128              

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 895fc3f...ac05ef2. Read the comment docs.

@schallert schallert merged commit d63d5f3 into m3db:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants