Skip to content
khodayard edited this page Apr 14, 2020 · 17 revisions

Table of contents:

I couldn't find a good and complete guide on the web to install a working (production ready) cluster of OpenShift (OKD) 3.11 with all of it's requirements. So this is a guide to install a OKD 3.11 with this spec:

  1. All Nodes with CentOS 7.7.1908 (Core)

  2. 20 Nodes

    • 1 Edge Server (DNS, Chrony-ntp, Router, Ansible Management) (172.17.7.34) (hostname: dns##.okd.lcl)
    • 2 External Load Balancers (10.1.1.35 (vip),10.1.1.36, 10.1.1.37) (hostname: xlb##.okd.lcl) (vip name: xlb.okd.lcl)
    • 2 Internal Load Balancers ((10.1.1.30 (vip),10.1.1.31, 10.1.1.32) (hostname: nlb##.okd.lcl) (vip name: nlb.okd.lcl)
    • 3 Master Nodes (10.1.1.21, 10.1.1.22, 10.1.1.23) (hostname: mst##.okd.lcl)
    • 3 Worker Nodes (10.1.1.41, 10.1.1.42, 10.1.1.43) (hostname: wrk##.okd.lcl)
    • 3 Infra Nodes (10.1.1.51, 10.1.1.52, 10.1.1.53) (hostname: inf##.okd.lcl)
    • 3 GlusterFS Storage Nodes (10.1.1.61, 10.1.1.62, 10.1.1.63) (hostname: glf##.okd.lcl)
    • 3 GlusterFS Registry Storage Nodes ((10.1.1.71, 10.1.1.72, 10.1.1.73) (hostname: glr##.okd.lcl)
  3. Only Edge server has access to internet and all the other servers are routed through this server which is set as dns server, Chrony server and network gateway for all the other servers.

  4. As it may be obvious we have two networks:

    • One which can access internet (Public) with this IP: 172.17.7.34 and is provided by IaaS provider. We only have 1 IP address in this range which is set on router.
    • One which is private and in our full control with this IP range: 10.1.1.1/24
  5. Main domain name for this cluster is okd.lcl and OKD router will work with *.apps.okd.lcl which is set in DNS zone.

  6. I've mainly used OKD documentsation here: https://docs.okd.io/3.11/welcome/index.html and specially here: https://docs.okd.io/3.11/install/index.html These docs are very good but there could be some ambiguity for newbies like me in some aspects.