For general deployments
- Review Requirements
- Configure DNS.
- Example Bind Setup
- Configure HAProxy. Provision the required load balancers.
- Example HAProxy Configuration
- Configure webserver
- Example WebServer Configuration
- Configure PXE servers
- Example PXE Configuration
- Configure installer
- see script
- Configure ignition files
- see README.md
- Startup Machines
- View run OpenShift installer
- Reference Run OpenShift installer
For Static IP deployments
Use filetranspiler this will generate a igition json file with addtions from a fake root.
Example is from bootstrap node.
mkdir -p bootstrap/etc/sysconfig/network-scripts/
Create network inside this fakeroot. nYour interface may be different.
cat < bootstrap/etc/sysconfig/network-scripts/ifcfg-enp1s0
DEVICE=enp1s0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.7.20
NETMASK=255.255.255.0
GATEWAY=192.168.7.1
DNS1=192.168.7.77
DNS2=8.8.8.8
DOMAIN=ocp4.example.com
PREFIX=24
DEFROUTE=yes
IPV6INIT=no
EOF
Using filetranspiler, create a new ignition file based on the one created by openshift-install.
filetranspiler -i bootstrap.ign -f bootstrap -o bootstrap-static.ign
Copy the ignition files to webserver.
This process needs to be done all all the nodes in the enviornment. Example configuration
tree /var/www/html/ignition/
├── bootstrap-static.ign
├── master0.ign
├── master1.ign
├── master2.ign
├── worker0.ign
└── worker1.ign
0 directories, 6 files
For static deployment you need to press tab on the CoreOS installer screen and edit the boot configuration with the following example.
ip=192.168.7.20::192.168.7.1:255.255.255.0:bootstrap:enp1s0:none:192.168.7.77
coreos.inst.install_dev=vda
coreos.inst.image_url=http://192.168.7.77:8080/install/rhcos-4.2.0-x86_64-metal-bios.raw.gz
coreos.inst.ignition_url=http://192.168.7.77:8080/ignition/bootstrap-static.ign
Links: