Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Fix annotation prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Feb 3, 2020
1 parent c116ece commit 1dd19b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions cmd/evicter/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Evict tainted pods after period
Operator that runs within k8s to find and evict tainted pods

* `k-rails/tainted-timestamp`
* `k-rails/tainted-prevent-eviction`
* `k-rail/tainted-timestamp`
* `k-rail/tainted-prevent-eviction`
* `k-rail/reason`
6 changes: 3 additions & 3 deletions cmd/evicter/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ func (c *Controller) processNextItem() bool {
}

const (
annotationPreventEviction = "k-rails/tainted-prevent-eviction"
annotationTimestamp = "k-rails/tainted-timestamp"
annotationReason = "k-rails/tainted-reason"
annotationPreventEviction = "k-rail/tainted-prevent-eviction"
annotationTimestamp = "k-rail/tainted-timestamp"
annotationReason = "k-rail/tainted-reason"
)
const defaultEvictionReason = "exec"

Expand Down

0 comments on commit 1dd19b1

Please sign in to comment.