Whereabouts also accepts all options from the static IPAM plugin:
https://github.com/containernetworking/plugins/tree/master/plugins/ipam/static
Whereabouts also accepts all options from the static IPAM plugin:
https://github.com/containernetworking/plugins/tree/master/plugins/ipam/static
This details a reference deployment of Istio w/ Multus CNI to demonstrate a problem where annotations are being clobbered by the Istio webhook. It also provides a patch and workflow for a possible fix.
This article first demonstrates how to reproduce the article, then proposes a patch, and demonstrates a way to build and deploy Istio with the modified code.
NOTE: Ignore the 1.5.1 through the install, I replicate it with latest (Nov 2021), and provide further steps following the rest of the installation.
This describes how to run the cluster-network-operator for development purposes, using the ./hack/run-locally.sh script.
You'll need:
Once that's in place you'll need to know:
Covers installing & configuring an example cni-route-override instance.
This example simply adds a static route.
Install using the provided daemonset, this will copy the route-override binary to the /opt/cni/bin on each machine in your Kubernetes cluster.
Install an etcd for data storage for Whereabouts.
$ git clone https://github.com/coreos/etcd-operator.git
$ cd etcd-operator/
$ example/rbac/create_role.sh
$ kubectl create -f example/deployment.yaml
$ watch -n1 kubectl get pods -o wide --all-namespaces
| #!/bin/bash | |
| get_sriov_pci_root_addresses() { | |
| for dir in $(find /sys/devices/ -name sriov_totalvfs -exec dirname {} \;); do | |
| if [ $(cat $dir/sriov_numvfs) -gt 0 ]; then | |
| # use perl because sed doesn't support non-greedy matching | |
| basename $dir | perl -pe 's|(.*?:)(.*)|\2|' | |
| fi | |
| done | |
| } |
A demo of the Whereabouts plugin.
Clone Whereabouts and install it...
Spin up Kubernetes without a network, then... install weave per the installation guide
In theory before CNI plugin install nodes should be not ready & the CNI net.d folder should be empty...
[centos@kube-nonetwork-master ~]$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
kube-nonetwork-master NotReady master 58s v1.13.3