Skip to content

Commit b655cf6

Browse files
authored
Merge pull request #339 from openinfradev/etcd_metric
fix etcd metrics port for aws security rule
2 parents 552b743 + 34816e6 commit b655cf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tks-cluster/manage-internal-communication.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ spec:
6464
# Create Security Group
6565
SG=$(aws ec2 create-security-group --group-name taco-internal --description "Security group for interanl communication among nodes" --vpc-id $VPC --output text)
6666
# Set ingress rule
67-
# - 2379 for kube-etcd
67+
# - 2381 for kube-etcd metrics
6868
# - 10249 for kube-proxy
69-
aws ec2 authorize-security-group-ingress --group-id $SG --protocol tcp --port 2379 --cidr $CIDR
69+
aws ec2 authorize-security-group-ingress --group-id $SG --protocol tcp --port 2381 --cidr $CIDR
7070
aws ec2 authorize-security-group-ingress --group-id $SG --protocol tcp --port 10249 --cidr $CIDR
7171
7272
# Add Security Group to all node in the VPC

0 commit comments

Comments
 (0)