Building Weave - linux-on-ibm-z/docs GitHub Wiki
Building Weave
The instructions provided below specify the steps to build Weave version 2.8.1 on Linux on IBM Z for following distributions:
- RHEL (7.8, 7.9, 8.6, 8.8, 9.0, 9.2)
- SLES (12 SP5, 15 SP4, 15 SP5)
- Ubuntu (20.04, 22.04, 23.04)
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified.
-
A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it. -
Docker-ce versions between 17.06 and 18.02 have a known issue on IBM Z. This has been fixed in version 18.03, refer to docker release link for most up to date information on which another version might contain this fix.
Step 1: Install Docker
- Docker packages are provided for RHEL, SLES and Ubuntu in their respective repositories. You can also use the static binaries provided here. More information about Docker CE can be found here.
Step 2: Install & Launch Weave Net
sudo curl -L git.io/weave -o /usr/local/bin/weave
sudo chmod a+x /usr/local/bin/weave
weave launch
eval $(weave env)
weave status
Version: 2.8.1 (up to date; next check at 2021/02/09 13:53:46)
Service: router
Protocol: weave 1..2
Name: 72:6b:a0:2d:4d:29(ecos0022)
Encryption: disabled
PeerDiscovery: enabled
Targets: 0
Connections: 0
Peers: 1
TrustedSubnets: none
Service: ipam
Status: idle
Range: 10.32.0.0/12
DefaultSubnet: 10.32.0.0/12
Service: dns
Domain: weave.local.
Upstream: 127.0.0.53
TTL: 1
Entries: 0
Service: proxy
Address: unix:///var/run/weave/weave.sock
Service: plugin (legacy)
DriverName: weave
Following images are pulled for the weave launch:
weaveworks/weaveexec:2.8.1
weaveworks/weave:2.8.1
weaveworks/weavedb:latest
Note: Further information on launching weave net can be found here and information on running weave daemonset with k8s can be found here