Update 'README.md'
This commit is contained in:
parent
99a66f4cfd
commit
bd6050ea3e
1 changed files with 8 additions and 1 deletions
|
@ -10,4 +10,11 @@ To run the container, use the following command adapted to your needs:
|
|||
## Kubernetes
|
||||
To run in Kubernetes, first you need to build the docker image and push it to a registry your cluster has access to.
|
||||
|
||||
Once you've done that, edit k8s/deployment.yaml
|
||||
Once you've done that, run `./bootstrap-k8s.sh <tag> <disk_filename>`. `tag` should be a ref to the docker image, uploaded to a registry the cluster can access. `disk_filename` should be an xz-compressed PDP-11 disk image, which will be extracted and attached to the pdp as rq0.
|
||||
|
||||
To expose the services on an external IP, first install MetalLB, and then use `./configure-metallb.sh <ip>`. `ip` should be an IP address on a broadcast domain the k8s nodes are on.
|
||||
|
||||
### k3s
|
||||
To use an external IP, MetalLB is required. Therefore, the cluster must not have ServiceLB enabled, as it will conflict. For k3s, just add `--disable=servicelb` to the server command line options. For k3d, create the cluster as follows:
|
||||
|
||||
k3d cluster create pdp --k3s-arg "--disable=servicelb@server:*"
|
Loading…
Reference in a new issue