Skip to content

CoreDNS Addon gets created if Cluster is in AutoMode #1726

@nis-thac

Description

@nis-thac

Describe what happened

When creating a Cluster with AutoMode enabled, Pulumi tries to create the CoreDNS Addon by default, and fails. The CoreDNS Addon cannot be added to a AutoMode Cluster, as per the documentation.

This can be fixed by setting:

corednsAddonOptions: {
    enabled: false,
},

but this option should be set by Pulumi automatically when creating an AutoMode Cluster.

Sample program

import * as eks from '@pulumi/eks';

new eks.Cluster("sample-cluster", {
    [...]
    autoMode: {
        enabled: true,
        [...]
    },
});

Log output

No response

Affected Resource(s)

Cluster if AutoMode is enabled.

Output of pulumi about

CLI
Version 3.159.0
Go Version go1.24.1
Go Compiler gc

Plugins
KIND NAME VERSION
language nodejs 3.159.0

Host
OS Microsoft Windows 10 Pro
Version 10.0.19045 Build 19045
Arch x86_64

This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v18.20.5'

Backend is S3.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    impact/usabilitySomething that impacts users' ability to use the product easily and intuitivelykind/bugSome behavior is incorrect or out of spec

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions