I'm using Pulumi to configure an Azure AKS managed...
# azure
a
I'm using Pulumi to configure an Azure AKS managed cluster. It's a test cluster, and so I'm using some ephemeral volumes in my pods with
emptyDir
, and I needed more disk space. I haven't figured out a way to do that so that the existing nodes get replaced with nodes that have the amount of disk space I need. What I've tried: • update
os_disk_size_gb
in
agent_pool_profiles
and run
pulumi up
- this doesn't seem to have any effect • change
count
to 0 in
agent_pool_profiles
and run
pulumi up
- this results in an error that
count
is invalid • change
name
in
agent_pool_profiles
to try to have the pool replaced - this also results in an error (see thread)
Copy code
Diagnostics:
  azure-native:containerservice:ManagedCluster (steve-test):
    error: Code="BadRequest" Message="A new agent pool was introduced. Adding agent pools to an existing cluster is not allowed through managed cluster operations. For agent pool specific change, please use per agent pool operations: <https://aka.ms/agent>
-pool-rest-api" Target="agentPoolProfiles"

  pulumi:pulumi:Stack (infrastructure-internal):
    error: update failed
Is there a way to replace nodes in a node pool without destroying everything?