Skip to content

Commit 30ffe78

Browse files
committed
update addon
1 parent f35fdeb commit 30ffe78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

eks_infrastructure/upgrade_operation.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ function upgrade_nodegroups() {
6666

6767
#Function to upgrade core k8s components
6868
function update_eksctl_utils() {
69-
eksctl utils update-kube-proxy \
69+
eksctl update addon \
70+
--name kube-proxy \
7071
--cluster ${1} \
71-
--region ${2} \
72-
--approve
72+
--region ${2}
7373

7474
eksctl utils update-aws-node \
7575
--cluster ${1} \
7676
--region ${2} \
7777
--approve
7878

79-
eksctl utils update-coredns \
79+
eksctl update addon \
80+
--name coredns \
8081
--cluster ${1} \
81-
--region ${2} \
82-
--approve
82+
--region ${2}
8383
}
8484

8585
if [ $# -lt 3 ]; then

0 commit comments

Comments
 (0)