准备工作

  • 所有节点开启ip_forward
cat <<EOF >  /etc/sysctl.d/ceph.conf
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
EOF
sysctl --system

开始部署Operator

  • 部署Rook Operator
#无另外说明,全部操作都在master操作

cd $HOME
git clone https://github.com/rook/rook.git

cd rook
cd cluster/examples/kubernetes/ceph
kubectl apply -f operator.yaml
  • 查看Operator的状态
#执行apply之后稍等一会。
#operator会在集群内的每个主机创建两个pod:rook-discover,rook-ceph-agent

kubectl -n rook-ceph-system get pod -o wide

 

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2021-09-24
  • 2021-07-23
  • 2021-12-05
  • 2022-12-23
  • 2021-09-18
  • 2022-01-09
猜你喜欢
  • 2021-10-17
  • 2021-07-12
  • 2022-01-01
  • 2022-01-26
  • 2021-09-16
  • 2021-06-18
  • 2022-12-23
相关资源
相似解决方案