Skip to content

Commit 35f354a

Browse files
Merge pull request #37 from MaterializeInc/change_taint_name
Change taint name
2 parents a005867 + 9754783 commit 35f354a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ephemeral-storage-setup"
3-
version = "0.3.4"
3+
version = "0.4.0"
44
edition = "2024"
55
rust-version = "1.88.0"
66
resolver = "2"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ resource "kubernetes_daemonset" "disk_setup" {
166166
}
167167
# Node taint to prevent regular workloads from being scheduled until disks are configured
168168
toleration {
169-
key = "disk-unconfigured"
169+
key = "startup-taint.cluster-autoscaler.kubernetes.io/disk-unconfigured"
170170
operator = "Exists"
171171
effect = "NoSchedule"
172172
}

src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ struct CommonArgs {
9191
node_name: Option<String>,
9292

9393
/// Name of the taint to remove.
94-
#[clap(long, env, default_value = "disk-unconfigured")]
94+
#[clap(
95+
long,
96+
env,
97+
default_value = "startup-taint.cluster-autoscaler.kubernetes.io/disk-unconfigured"
98+
)]
9599
taint_key: String,
96100

97101
#[clap(long, env, requires_if("true", "node_name"))]

0 commit comments

Comments
 (0)