An open API service indexing awesome lists of open source software.

https://github.com/networkop/kubernetes-on-eos

Kubernetes ported to Arista EOS
https://github.com/networkop/kubernetes-on-eos

Last synced: about 2 months ago
JSON representation

Kubernetes ported to Arista EOS

Awesome Lists containing this project

README

        

# kubernetes-on-eos
Kubernetes ported to Arista EOS

# Build

[Build Instructions](build.md)

# Build test topology

```
docker-topo --create k8s.yml
```

![](mini-ls.png)

# Generate certificates

```
host-c1
sudo su
apk add --no-cache curl openssh
ip route add 1.1.1.1 via 10.0.0.0
ip route add 2.2.2.2 via 10.0.0.0
ip route add 3.3.3.3 via 10.0.0.0
curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
chmod +x cfssl cfssljson
sudo mv cfssl cfssljson /usr/local/bin/

mkdir k8s && cd k8s
```
* CA configuration file
```
cat > ca-config.json < ca-csr.json < admin-csr.json < ${instance}-csr.json < kube-proxy-csr.json < kubernetes-csr.json < encryption-config.yaml <> /etc/hosts

mkdir -p etc/etcd var/lib/etcd
cp ca.pem kubernetes-key.pem kubernetes.pem etc/etcd/
ETCD_NAME=`hostname -s`
IP=1.1.1.1
export PATH=$PATH:$(pwd)
```

```
cat > etcd.service < kube-apiserver.service < kube-controller-manager.service < kube-scheduler.service < kubelet.service < kube-proxy.service <] param_attr_store+0x68/0x8c
[ 340.573647] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.574682] Preemption disabled at:[] param_attr_store+0x68/0x8c
[ 340.576127] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.577048] Preemption disabled at:[] param_attr_store+0x68/0x8c
unexpected fault address [ 340.578792] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.579754] Preemption disabled at:[] param_attr_store+0x68/0x8c
0xb076500[ 340.581260] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.582159] Preemption disabled at:[] param_attr_store+0x68/0x8c

fatal error: fault
[ 340.583810] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.584663] Preemption disabled at:[] param_attr_store+0x68/0x8c
[ 340.587067] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.588728] Preemption disabled at:[] param_attr_store+0x68/0x8c
[signal [ 340.590196] BUG: scheduling while atomic: kube-proxy/2811/0x00000401
[ 340.591486] Preemption disabled at:[] param_attr_store+0x68/0x8c
SIGSEGV: segmentation violation code=0x1 addr=0xb076500 pc=0x809b858]
```