StarlingUAS / ProjectStarling

BRL Flight Arena Infrastructure 2.0
Other
16 stars 3 forks source link

Kubernetes Config pull from local registry or docker.io #67

Closed mhl787156 closed 3 years ago

mhl787156 commented 3 years ago

Currently the kubernetes configs are hardcoded to pull from docker.io, need to agree on workflow for getting docker images on the drones.

mhl787156 commented 3 years ago

@liamf555 need to add the following onto the raspberry pis into the file /etc/docker/daemon.json

{
    "registry-mirror": ["https://192.168.10.80:5000"]
}

This will cause all docker pull's to proxy through this mirror first. If the mirror cannot be found it (I think) just goes straight to docker hub

mhl787156 commented 3 years ago

This is resolved by setting FlyingServer as a pull through cache. Has been verified that it works if the registry-mirror is set on the raspberry pis