Implementation of KubeProxy EKS add-on.

Hierarchy

  • CoreAddOn
    • KubeProxyAddOn

Constructors

Properties

coreAddOnProps: CoreAddOnProps

Methods

  • Override this method to create namespace for the core addon. In many cases the addon is created in the kube-system namespace which does not require creation as it is always there. For addons that support other namespace as destinations this method should be implemented.

    Parameters

    Returns undefined | IConstruct

  • Override this method to control how service account is created.

    Parameters

    • clusterInfo: ClusterInfo
    • saNamespace: string
    • policies: IManagedPolicy[]

    Returns ServiceAccount

  • Parameters

    • version: KubernetesVersion

    Returns string

  • Template method to return managed policies for the service account. Allows overriding in subclasses to handle more complex cases of policies.

    Parameters

    Returns undefined | IManagedPolicy[]

  • Template method with default implementation to execute the supplied function of policyDocumentProvider. Allows overriding this method in subclasses for more complex cases of policies.

    Parameters

    Returns undefined | PolicyDocument

  • Parameters

    • clusterVersion: KubernetesVersion
    • region: string

    Returns Promise<string>