小编Arm*_*aie的帖子

无法从pod内部ping ClusterIP,DNS无法用于google.com等外部域

我在Bare-metal/Ubuntu上安装了Kubernetes.我正在使用6b649d7f9f2b09ca8b0dd8c0d3e14dcb255432d1git.我用cd kubernetes/cluster; KUBERNETES_PROVIDER=ubuntu ./kube-up.sh后来cd kubernetes/cluster/ubuntu; ./deployAddons.sh启动集群.一切都很顺利,集群起来了.

我的/ubuntu/config-default.sh情况如下:

# Define all your cluster nodes, MASTER node comes first"
# And separated with blank space like <user_1@ip_1> <user_2@ip_2> <user_3@ip_3> 
export nodes=${nodes:-"root@192.168.48.170 root@192.168.48.180"}

# Define all your nodes role: a(master) or i(minion) or ai(both master and minion), must be the order same 
role=${role:-"ai i"}
# If it practically impossible to set an array as an environment variable
# from a script, so assume variable is …
Run Code Online (Sandbox Code Playgroud)

kubernetes skydns

9
推荐指数
2
解决办法
9776
查看次数

如何在 MongoDB 副本集中实现强一致性?

在 MongoDB 文档中,here已经提到,在副本集中,即使使用多数 readConcern 我们也将实现最终一致性。我想知道当我们在读取和写入中占多数时,这怎么可能导致分布式系统中的法定人数(R+W>N)?我希望在这种情况下有一个强大的一致系统。这也是 Cassandra 使用的技术,以实现强一致性。

有人可以为我澄清一下吗?

replication distributed-system mongodb

4
推荐指数
1
解决办法
3241
查看次数