Comments (3)
部署,参考: https://kubeovn.github.io/docs/stable/start/underlay/
修改的配置如下:
NETWORK_TYPE=vlan
VLAN_INTERFACE_NAME=bond0 # 我的环境下宿主机节点网卡是mode4的bond
VLAN_ID=229 # 我的环境下给pod的vlan是229
POD_CIDR=10.229.0.0/24 # 设置为物理网络 CIDR
POD_GATEWAY=10.229.0.254 # 设置为物理网络网关
ENABLE_LB=true
不知道你的集群节点 bond0 被桥接到 ovs 网桥了没,如果没有,可能这个地方是主要问题,可以过滤下 kube-ovn-cni bond0 网卡相关的 log。
另外,我好久没有直接用这种模式了,我们这边使用的是默认部署,单独建 provider-network,vlan,subnet 的方式。我这边建议你使用这种方式。
当然如果你当前使用的这种方式有问题,这个应该也属于bug。
from kube-ovn.
你说的对,就是没有桥进去:
kube-ovn-cni的日志:
from kube-ovn.
我手动修改了ds kube-ovn-cni的配置如下:
securityContext:
capabilities:
add:
- NET_ADMIN
- NET_BIND_SERVICE
- NET_RAW
- SYS_ADMIN
privileged: true
runAsUser: 0
将privileged设置为true后,就可以设置sysctl了,就是权限不足
当前这个权限,在安装的时候,没有预留修改入口,除非直接修改helm模板才行
建议优化下
from kube-ovn.
Related Issues (20)
- [BUG] The Helm installation errors in Talos Linux HOT 1
- [BUG] kube-multus-ds crashloopbackoff - text file busy HOT 2
- [BUG] Statefulset 无法固定ip HOT 3
- [BUG] 使用underlay方式安装失败 HOT 8
- [BUG] Add new subnet will get "invalid memory address or nil pointer dereference" err HOT 2
- [BUG]subnet中AllowSubnets大写错误无法被检测&&缺少NatOutgoingPolicyRules中SrcIPs、DstIPs为空字符串的处理逻辑 HOT 1
- [BUG] ovs-ovn偶现启动失败,报错 br-int.mgmt: connection failed, 启动重试时间较长 HOT 1
- [Feature Request] 重新连接新的ovn-nb-db的leader节点后,全量拉取数据改为增量拉取monitor_cond_since HOT 1
- [BUG] Unable to start on Talos Linux HOT 9
- [BUG] OVS DPDK cannot be initialized HOT 1
- [BUG] Dual Stack Kube-OVN spams logs in kube-ovn-cni HOT 2
- [BUG] Recreating VPC/Subnet after their deletion yields errors HOT 5
- [Feature Request] 大规模节点下的性能优化问题 HOT 2
- [BUG] Initialization of nodes is too slow when adding new nodes or restarting kube-ovn-controller in a large-scale cluster HOT 3
- [BUG] Error in subnet calculation of usingIPs HOT 1
- [BUG] 1.11.20 kube-ovn cni failed to run
- Access Kubernetes API Server Service from Custom VPC HOT 7
- [BUG] Can not start kube-ovn-cni in v1.12.24 HOT 4
- [BUG] sometimes' pod always being status of ContainterCreating HOT 2
- [BUG] conflict, when two pvcs with different subnets, two nat gateways ( an external subnet ) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-ovn.