OpenShift 4 requires reverse DNS and can verified thus: $ dig -x 192.168.1.161 +short Using the tool dig we can verify our records are as they should be, for example: $ dig +short Your clusterid uniquely identifies each OpenShift 4 cluster in your domain and also becomes part of the cluster's FQDN. One of the first things to take into consideration is picking a "cluster id" (in this case we are using ocp4). Pay close attention to the records you create and verify each one before installation, especially the first time. For your convenience there is an Ansible playbook and Terraform code to configure a node with HAProxy and Apache (running on port 8080) for this purpose in the git repo accompanying this post.īelow is a table showing the nodes we need and the IP addresses for each node.ĭNS is extremely important to the success of the OpenShift 4 installer. You'll also need a node to act as your load balancer and a webserver to serve ignition config files. The bootstrap node will be shortlived and is only required during the install phase to instantiate etcd after which time it can be safely deleted. Node LayoutĪs per the documentation a minimal install of OCP4 requires 1 temporary bootstrap node, 3 master nodes and 2 worker nodes. Here we will use ktz.lan for the base domain, ocp4 for a clusterid, and 192.168.1.0/24 for a subnet. The domains, subnets and clusterid used here are for illustration purposes only, and will need to be replaced with something appropriate for your own environment. They are provided as a guide to help you become familiar with OpenShift 4 in a lab environment. The steps and code associated with this post are recommendations for a dev/test/POC environment only and are not intended for production use. It is important that in addition to reading this blog post that you familiarize yourself with the official Openshift documentation for installation. This post was written and tested against ESXi 6.7.0 and vSphere 6.7.0u3. We will use as much automation as we can along the way whilst not abstracting away so much that familiarity with the overall process is impaired. In this blog post we will cover how to install Openshift 4.3.1 on VMware vSphere using UPI (User Provisioned Infrastructure).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2023
Categories |