tdihp / lxd-azurecni

azure cni on lxd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example for lxd users to use azure-CNI for provisioning IP for container.

For lxd integration, follows calico-for-lxc-and-lxd; For azure-CNI invoking, follows Azure Container Networking scripts.

Instructions

  1. Read and apply provision.sh for provisioning sample resources.
  2. ssh to the provisioned nodes
  3. To start a lxd container: ./lxd-create.sh default ubuntu:20.04 foobar.
  4. Start a service inside the container: lxc exec foobar -- bash, then python3 -m http.server.
  5. observe the assigned IP by lxc list
  6. try curl -vm5 http://<container-ip>:8000.

Limitation

For now only 20.04 has been tested.

About

azure cni on lxd


Languages

Language:Shell 100.0%