Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions kubernetes/kube.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,6 @@ local environment = std.extVar('environment');
},
metadata: {
labels: deployment.metadata.labels,
annotations: {
'cluster-autoscaler.kubernetes.io/safe-to-evict': 'true',
},
},
},
strategy: {
Expand Down Expand Up @@ -624,9 +621,6 @@ local environment = std.extVar('environment');
},
metadata: {
labels: sset.metadata.labels,
annotations: {
'cluster-autoscaler.kubernetes.io/safe-to-evict': 'true',
},
},
},

Expand All @@ -652,9 +646,6 @@ local environment = std.extVar('environment');
},
metadata: {
labels: job.metadata.labels,
annotations: {
'cluster-autoscaler.kubernetes.io/safe-to-evict': 'true',
},
},
},

Expand Down Expand Up @@ -687,9 +678,6 @@ local environment = std.extVar('environment');
template: {
metadata: {
labels: ds.metadata.labels,
annotations: {
'cluster-autoscaler.kubernetes.io/safe-to-evict': 'true',
},
},
spec: $.PodSpec,
},
Expand Down
2 changes: 0 additions & 2 deletions tests/kube.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ spec:
type: RollingUpdate
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
labels:
app: test
name: test
Expand Down