Configuring the Network - Kubernetes

Kubernetes Appliance Software Installation Guide

prodname
Kubernetes
created_date
June 2018
category
Installation
featnum
B035-6103-068K
At this point, no host table has been defined. Contact the site LAN administrator for network addresses or refer to your pre-installation notes for network addresses.
By default, eth0 and eth1 Ethernet interfaces are configured for DHCP at the time of installation. All other interfaces are not configured. Depending on the interfaces used for Server Management primary and secondary LANs, the Ethernet interfaces may need to be manually adjusted.
  1. Enter the IPADDRESS of the adapter in the /etc/sysconfig/network/ifcfg-ethx file, where x is a number for each network adapter.
  2. Edit the /etc/HOSTNAME file to set the host name.

    This file contains the host name without the domain name attached. It is displayed as a single line entry. For example, SMPx-yy, where x = the cabinet number and yy = the chassis number.

  3. Change the host name in the current shell environment by typing: hostname -F /etc/HOSTNAME

    This dynamically updates the host name so PUT can recognize it.

  4. Set the IP address, the fully-qualified domain name, and the host name in the /etc/hosts file. For example:

    <IP address> hostname.domainname hostname

  5. Edit the /etc/sysconfig/network/routes file to set the default route by entering the router's IP address in the default field. For example: default 10.25.17.254 - eth3
  6. Edit the /etc/resolv.conf file for the default domain and DNS information by replacing your nameserver and domain entries as needed. For example:

    search yourdomainname

    nameserver your_primary_nameserver_IP_address

    nameserver your_secondary_nameserver_IP_address

    This file is self-documenting.

  7. Restart the network by typing: rcnetwork restart