File tree 5 files changed +3
-70
lines changed
config/helm/aws-node-termination-handler
5 files changed +3
-70
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ Install AWS Node Termination Handler:
16
16
To install the chart with the release name aws-node-termination-handler and default configuration:
17
17
18
18
``` sh
19
- helm install --name aws-node-termination-handler \
20
- --namespace kube-system eks/aws-node-termination-handler
19
+ helm upgrade --install aws-node-termination-handler \
20
+ --namespace kube-system \
21
+ eks/aws-node-termination-handler
21
22
```
22
23
23
24
To install into an EKS cluster where the Node Termination Handler is already installed, you can run:
Original file line number Diff line number Diff line change @@ -40,22 +40,6 @@ set -x
40
40
helm " ${localstack_helm_args[@]} "
41
41
set +x
42
42
43
- aemm_helm_args=(
44
- upgrade
45
- --install
46
- " $CLUSTER_NAME -aemm"
47
- " $AEMM_DL_URL "
48
- --namespace default
49
- --set servicePort=" $IMDS_PORT "
50
- --wait
51
- )
52
- [[ ${# common_helm_args[@]} -gt 0 ]] &&
53
- aemm_helm_args+=(" ${common_helm_args[@]} " )
54
-
55
- set -x
56
- retry 5 helm " ${aemm_helm_args[@]} "
57
- set +x
58
-
59
43
sleep 10
60
44
61
45
RUN_INSTANCE_CMD=" awslocal ec2 run-instances --private-ip-address ${WORKER_IP} --region ${AWS_REGION} "
@@ -79,7 +63,6 @@ anth_helm_args=(
79
63
" $CLUSTER_NAME -acth"
80
64
" $SCRIPTPATH /../../config/helm/aws-node-termination-handler/"
81
65
--namespace kube-system
82
- --set instanceMetadataURL=" ${INSTANCE_METADATA_URL:- " http://$AEMM_URL :$IMDS_PORT " } "
83
66
--set image.repository=" $NODE_TERMINATION_HANDLER_DOCKER_REPO "
84
67
--set image.tag=" $NODE_TERMINATION_HANDLER_DOCKER_TAG "
85
68
--set awsAccessKeyID=foo
Original file line number Diff line number Diff line change @@ -40,22 +40,6 @@ set -x
40
40
helm " ${localstack_helm_args[@]} "
41
41
set +x
42
42
43
- aemm_helm_args=(
44
- upgrade
45
- --install
46
- " $CLUSTER_NAME -aemm"
47
- " $AEMM_DL_URL "
48
- --namespace default
49
- --set servicePort=" $IMDS_PORT "
50
- --wait
51
- )
52
- [[ ${# common_helm_args[@]} -gt 0 ]] &&
53
- aemm_helm_args+=(" ${common_helm_args[@]} " )
54
-
55
- set -x
56
- retry 5 helm " ${aemm_helm_args[@]} "
57
- set +x
58
-
59
43
sleep 10
60
44
61
45
RUN_INSTANCE_CMD=" awslocal ec2 run-instances --private-ip-address ${WORKER_IP} --region ${AWS_REGION} "
Original file line number Diff line number Diff line change @@ -40,23 +40,6 @@ set -x
40
40
helm " ${localstack_helm_args[@]} "
41
41
set +x
42
42
43
- aemm_helm_args=(
44
- upgrade
45
- --install
46
- " $CLUSTER_NAME -aemm"
47
- " $AEMM_DL_URL "
48
- --namespace default
49
- --set servicePort=" $IMDS_PORT "
50
- --wait
51
- )
52
-
53
- [[ ${# common_helm_args[@]} -gt 0 ]] &&
54
- aemm_helm_args+=(" ${common_helm_args[@]} " )
55
-
56
- set -x
57
- retry 5 helm " ${aemm_helm_args[@]} "
58
- set +x
59
-
60
43
sleep 10
61
44
62
45
RUN_INSTANCE_CMD=" awslocal ec2 run-instances --private-ip-address ${WORKER_IP} --region ${AWS_REGION} "
@@ -80,7 +63,6 @@ anth_helm_args=(
80
63
" $CLUSTER_NAME -acth"
81
64
" $SCRIPTPATH /../../config/helm/aws-node-termination-handler/"
82
65
--namespace kube-system
83
- --set instanceMetadataURL=" ${INSTANCE_METADATA_URL:- " http://$AEMM_URL :$IMDS_PORT " } "
84
66
--set image.repository=" $NODE_TERMINATION_HANDLER_DOCKER_REPO "
85
67
--set image.tag=" $NODE_TERMINATION_HANDLER_DOCKER_TAG "
86
68
--set awsAccessKeyID=foo
Original file line number Diff line number Diff line change @@ -40,22 +40,6 @@ set -x
40
40
helm " ${localstack_helm_args[@]} "
41
41
set +x
42
42
43
- aemm_helm_args=(
44
- upgrade
45
- --install
46
- " $CLUSTER_NAME -aemm"
47
- " $AEMM_DL_URL "
48
- --namespace default
49
- --set servicePort=" $IMDS_PORT "
50
- --wait
51
- )
52
- [[ ${# common_helm_args[@]} -gt 0 ]] &&
53
- aemm_helm_args+=(" ${common_helm_args[@]} " )
54
-
55
- set -x
56
- retry 5 helm " ${aemm_helm_args[@]} "
57
- set +x
58
-
59
43
sleep 10
60
44
61
45
RUN_INSTANCE_CMD=" awslocal ec2 run-instances --private-ip-address ${WORKER_IP} --region ${AWS_REGION} "
@@ -79,7 +63,6 @@ anth_helm_args=(
79
63
" $CLUSTER_NAME -acth"
80
64
" $SCRIPTPATH /../../config/helm/aws-node-termination-handler/"
81
65
--namespace kube-system
82
- --set instanceMetadataURL=" ${INSTANCE_METADATA_URL:- " http://$AEMM_URL :$IMDS_PORT " } "
83
66
--set image.repository=" $NODE_TERMINATION_HANDLER_DOCKER_REPO "
84
67
--set image.tag=" $NODE_TERMINATION_HANDLER_DOCKER_TAG "
85
68
--set awsAccessKeyID=foo
You can’t perform that action at this time.
0 commit comments