I would like to add an additional node to the cluster without using ansible.
(We have modified our cluster in many ways and don't dare running ansible because it might break our cluster.)
All right, looks like it works. These are the commands for the master with 3.1:
oadm create-api-client-config \ --certificate-authority=/etc/origin/master/ca.crt \ --client-dir=/root/xyz4 \ --master=https://xyz1.eu:8443 \ --signer-cert=/etc/origin/master/ca.crt \ --signer-key=/etc/origin/master/ca.key \ --signer-serial=/etc/origin/master/ca.serial.txt \ --groups=system:nodes \ --user=system:node:xyz4.eu oadm create-node-config \ --node-dir=/root/xyz4 \ --node=xyz.eu \ --hostnames=xyz4.eu,123.456.0.5 \ --certificate-authority /etc/origin/master/ca.crt \ --signer-cert /etc/origin/master/ca.crt \ --signer-key /etc/origin/master/ca.key \ --signer-serial /etc/origin/master/ca.serial.txt \ --master=https://xyz1.eu:8443 \ --node-client-certificate-authority /etc/origin/master/ca.crt
Then I copied all the created files to /etc/origin/node on the new node.
Took node-config.yaml from an old, working node, edited the hostnames and used it as node-config.yaml on the new node.
It seems to work. The only thing that bugs me is that I'm being spammed with the following error on the new node:
manager.go:313] NetworkPlugin redhat/openshift-ovs-subnet failed on the status hook for pod 'xy-router-2-imubn' - exit status 1
manager.go:313] NetworkPlugin redhat/openshift-ovs-subnet failed on the status hook for pod 'ipf-default-1-dp4vc' - exit status 1
Can anyone tell me if this is something important or whether there are additional steps needed that I have missed?