Deploy a compute with Kubernetes to join an existing primary host in your
cluster.
About this task
You can deploy an IBM® Spectrum Symphony compute host with Kubernetes to join an existing IBM Spectrum Symphony
primary host. To do so, you
must install Weave on the primary host and connect it to the
Kubernetes Weave network in order to communicate with the compute host. Weave will assign a new IP
address to this physical host.
Procedure
-
Install the virtual network Weave on the primary host:
sudo curl -L git.io/weave -o /usr/local/bin/weave
sudo chmod +x /usr/local/bin/weave
systemctl start docker
weave setup
-
Connect Weave to the Kubernetes Weave network in order to communicate with the compute host.
Weave will assign a new IP address to the physical host:
-
Modify the Kubernetes YAML file for the compute hosts, and replace the host name and IP address
with the IBM Spectrum Symphony
primary host name
(example.ibm.com) and IP address
(10.32.0.2) provided by Weave.
Note: Do not use the physical IP address of the IBM Spectrum Symphony
primary host.
-
Use this YAML file to create the compute hosts. The compute hosts will be started in containers
and will be connected to the IBM Spectrum Symphony
primary host:
egosh resource list -1
NAME status mem swp tmp ut it pg r1m r15s r15m ls
example.ibm.com ok 2534M 2046M 94G 41% 208 0 3.8 9.1 5.2 0
sym-compute-68k4x ok 2726M 2042M 94G 24% 183 0 3.9 7.9 1.6 0
Results
The compute hosts are deployed with Kubernetes, and are connected to the IBM Spectrum Symphony
primary host.