kube-proxy有一个名为--proxy-mode的选项,根据帮助消息,这个选项可以是userspace或iptables.(见下文)
# kube-proxy -h
Usage of kube-proxy:
...
--proxy-mode="": Which proxy mode to use: 'userspace' (older, stable) or 'iptables' (experimental). If blank, look at the Node object on the Kubernetes API and respect the 'net.experimental.kubernetes.io/proxy-mode' annotation if provided. Otherwise use the best-available proxy (currently userspace, but may change in future versions). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace …Run Code Online (Sandbox Code Playgroud) 我现在可以将CursorAdapter绑定到ListView.并且ListView可以在修改数据库时自动更新.
对于数据库中的数据行,字段为"类型",它们可以是"每日","每周","每月",.etc.我想在ExpandableListView中显示行,以便每种类型的行可以组合在一起.我还希望ExpandableListView可以在修改数据库时自动更新.如何将CursorAdapter和ExpandableListView组合在一起?
我google了很多,但找不到解决方案,谢谢你的关注!