redhat-cop / ocp4-helpernode

This playbook helps set up an "all-in-one" node, that has all the infrastructure/services in order to install OpenShift 4.
342 stars 303 forks source link

Questions: Helper node and DHCP variables in the helpernode.yaml #230

Closed steve-delillo closed 3 years ago

steve-delillo commented 3 years ago

I am currently building an infrastructure node (helper node) where only the helper node will have access to the internet. The helper node will also have a private IP to communicate with the other cluster components, like the Masters and Workers.

My questions about the variables in the Helper section are as follows for my particular setup:

helper: name: "helper" ===> Can I name this the same as the public network name of my helper node. I am concerned that calling it "helper" will cause a conflict with the actual hostname. ipaddr: "192.168.7.77" ===> Is this supposed to be the public IP of the helper node, or the private IP that is communicating with the other cluster components?

With regards to the DHCP server section, I will need to use all private IPs, as I cannot connect this DHCP server to our public intranet for security reasons. So, are the IPs that are shown in the following example private IPs?

image
christianh814 commented 3 years ago

@steve-delillo Answers inline

I am currently building an infrastructure node (helper node) where only the helper node will have access to the internet. The helper node will also have a private IP to communicate with the other cluster components, like the Masters and Workers.

My questions about the variables in the Helper section are as follows for my particular setup:

helper: name: "helper" ===> Can I name this the same as the public network name of my helper node. I am concerned that calling it "helper" will cause a conflict with the actual hostname.

You can name this whatever you'd like. The caveat being is that the name will be used when the DNS server is set up.

ipaddr: "192.168.7.77" ===> Is this supposed to be the public IP of the helper node, or the private IP that is communicating with the other cluster components?

This is supposed to be the IP address of the ip address used to communicate with other cluster components.

With regards to the DHCP server section, I will need to use all private IPs, as I cannot connect this DHCP server to our public intranet for security reasons. So, are the IPs that are shown in the following example private IPs?

image

These are the IP ranges used to set up the DHCP server on the helpernode. This section is optional, but that means that you'll have to set up your cluster with static IPs.

HTH

steve-delillo commented 3 years ago

Great. Thank you for that information, Christian.