terway | CNI plugin for Alibaba Cloud VPC/ENI | Networking library
kandi X-RAY | terway Summary
kandi X-RAY | terway Summary
CNI plugin for Alibaba Cloud VPC/ENI.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of terway
terway Key Features
terway Examples and Code Snippets
Community Discussions
Trending Discussions on terway
QUESTION
In Alibaba Cloud, I have a managed Kubernetes cluster and a MySQL RDS in the same VPC (the RDS endpoint is internal), and Kubernetes pods can reach to the RDS port 3306
just fine when the whitelist contains 0.0.0.0/0
. I'd like to limit that to the Kubernetes pods CIDRs.
The Kubernetes nodes and pods are of a 10.0.0.0/16 range (e.g 10.2.220.118). There are 3 v-switches and 3 terway v-switches in the VPC, where the node vswitch_cidrs are:
...ANSWER
Answered 2020-Jul-21 at 18:46well, it was 10.1.0.0/8 , after all
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terway
Prepare Aliyun ECS instance. The ECS OS we tested is Centos 7.4/7.6.
Install Kubernetes via kubeadm: create-cluster-kubeadm
Change iptables Forward default policy to ACCEPT on every node of cluster: iptables -P FORWARD ACCEPT.
Check the rp_filter in sysctl parameters, set them to "0" on every node of cluster.
ENI Secondary IP Mode. Terway requires the access_key have following RAM Permissions. Using kubectl get ds terway -n kube-system to watch plugin launching. Plugin install completed while terway daemonset available pods equal to nodes.
VPC Mode VPC Mode, Using `Aliyun VPC` route table to connect the pods. Can assign dedicated ENI to Pod. Install method: <br /> Replace `Network` and `access_key/access_secret` in [terway.yml](./terway.yml) with your cluster pod subnet and aliyun openapi credentials. Then use `kubectl apply -f terway.yml` to install Terway into kubernetes cluster.
ENI Secondary IP Mode ENI Secondary IP Mode, Using `Aliyun ENI's secondary ip` to connect the pods. This mode not limited by VPC route tables quotation. Install method: <br /> Replace `access_key/access_secret` and `security_group/vswitches` in [terway-multiip.yml](./terway-multiip.yml) with your aliyun openapi credentials and resources id. Then use `kubectl apply -f terway-multiip.yml` to install Terway into kubernetes cluster.
Docker >= 17.05 with multi-stage build
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page