Skip to content

Commit

Permalink
Merge pull request #8118 from gustavodiaz7722/feature/metrics-server
Browse files Browse the repository at this point in the history
Support create cluster default addon metrics-server
  • Loading branch information
gustavodiaz7722 authored Jan 9, 2025
2 parents 738177d + 1bc8116 commit 905e6e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/eksctl.io/v1alpha5/addon.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const (
KubeProxyAddon = "kube-proxy"
CoreDNSAddon = "coredns"
PodIdentityAgentAddon = "eks-pod-identity-agent"
MetricsServerAddon = "metrics-server"
AWSEBSCSIDriverAddon = "aws-ebs-csi-driver"
AWSEFSCSIDriverAddon = "aws-efs-csi-driver"
)
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/eksctl.io/v1alpha5/known_addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ var KnownAddons = map[string]struct {
},
AWSEBSCSIDriverAddon: {},
AWSEFSCSIDriverAddon: {},
MetricsServerAddon: {
IsDefault: true,
CreateBeforeNodeGroup: true,
},
}

// HasDefaultAddons reports whether addons contains at least one default addon.
Expand Down

0 comments on commit 905e6e9

Please sign in to comment.