v0.7.0
/etc/
- kubernetes/
- dropins/
- docker-flannel.conf - A dropin file which reads /var/lib/flannel/subnet.env and commands docker to use that flannel subnet. Is used when Kubernetes is running.
- docker-overlay.conf - The "normal" dropin, which is enabled when Kubernetes isn't. Fixes a systemd bug, uses overlay and plays well with system-docker
- dynamic-env/
- env.conf - A file specifies which OS and board it's running on. Options: the files that are in os/ and board/.
kube-config
uses these files to e.g install docker on various platforms. - os/
- Here are customization scripts for the OSes supported
- board/
- Here are customization scripts for the boards supported
- env.conf - A file specifies which OS and board it's running on. Options: the files that are in os/ and board/.
- static-pods/
- master/
- master.json - This file is important. This is the definition of the master´s Kubernetes components, which run as a static pod
- worker/
- Here and in master/ you may put
.json
files and they will run as static pods
- Here and in master/ you may put
- master/
- source/
- This project´s source. All
kubernetes-on-arm
code is copied when therootfs
is packaged.
- This project´s source. All
- binaries/
- Symlink to
source/images/kubernetesonarm/_bin/latest
- Here are the Kubernetes binaries stored.
- Symlink to
- addons/
- Symlink to
source/addons
- Symlink to
- k8s.conf - Configuration file for this project
- dropins/
- profile.d/
- binaries-in-PATH.sh - Adds
/etc/kubernetes/binaries
to $PATH - system-docker.sh - Adds the
system-docker
alias
- binaries-in-PATH.sh - Adds
- systemd/
- network/
- dns.network - A
.network
file for Arch Linux, enables DHCP foreth0
, sets thesearch
andnameserver
commands to/etc/resolv.conf
- dns.network - A
- network/
/usr/
- bin/
- kube-config - The heavy-lifting script. May install everything required for Kubernetes, start and stop it and much more.
- lib/systemd/system
- system-docker.socket - The
/var/run/system-docker.sock
socket. Required bysystem-docker
- system-docker.service - A bootstrap
docker daemon
, used for runningetcd
andflannel
- etcd.service -
etcd
is used as data store. Uses/var/lib/kubernetes/etcd
as storage dir. - flannel.service -
flannel
is the provider of the overlay network. - k8s-master.service - Runs
kubelet
andkube-proxy
in a container and also starts the master containers. - k8s-worker.service - Runs
kubelet
andkube-proxy
in a container /var/lib
- system-docker.socket - The
- kubernetes/
- certs/
- Kubernetes apiserver´s self-signed scripts are here
- etcd/
- Kubernetes data is stored here (when the master is running)
- flannel/
- subnet.env - Flannel subnet options
- certs/
- system-docker/
- Same as
/var/lib/docker
but forsystem-docker
- Same as
- kubelet/
- The
kubelet
directory
- The