Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

README-idrange.md

Blame
    • Rafael Guterres Jeffman's avatar
      603bd618
      New idrange management module · 603bd618
      Rafael Guterres Jeffman authored
      There is a new idrange management module placed in the plugins folder:
      
          plugins/modules/ipaidrange.py
      
      The idrange module allows to ensure presence and absence of idranges.
      
      Here is the documentation of the module:
      
          README-idrange.md
      
      New example playbooks have been added:
      
          playbooks/idrange/idrange-absent.yml
          playbooks/idrange/idrange-ad-posix-present.yml
          playbooks/idrange/idrange-ad-present.yml
          playbooks/idrange/idrange-present.yml
      
      New tests for the module can be found at:
      
          tests/idrange/test_idrange.yml
          tests/idrange/test_idrange_client_context.yml
      603bd618
      History
      New idrange management module
      Rafael Guterres Jeffman authored
      There is a new idrange management module placed in the plugins folder:
      
          plugins/modules/ipaidrange.py
      
      The idrange module allows to ensure presence and absence of idranges.
      
      Here is the documentation of the module:
      
          README-idrange.md
      
      New example playbooks have been added:
      
          playbooks/idrange/idrange-absent.yml
          playbooks/idrange/idrange-ad-posix-present.yml
          playbooks/idrange/idrange-ad-present.yml
          playbooks/idrange/idrange-present.yml
      
      New tests for the module can be found at:
      
          tests/idrange/test_idrange.yml
          tests/idrange/test_idrange_client_context.yml
    flannel.md NaN GiB
    # Flannel
    
    Flannel is a network fabric for containers, designed for Kubernetes
    
    **Warning:** You may encounter this [bug](https://github.com/coreos/flannel/pull/1282) with `VXLAN` backend, while waiting on a newer Flannel version the current workaround (`ethtool --offload flannel.1 rx off tx off`) is showcase in kubespray [networking test](tests/testcases/040_check-network-adv.yml:31).
    
    ## Verifying flannel install
    
    * Flannel configuration file should have been created there
    
    ```ShellSession
    cat /run/flannel/subnet.env
    FLANNEL_NETWORK=10.233.0.0/18
    FLANNEL_SUBNET=10.233.16.1/24
    FLANNEL_MTU=1450
    FLANNEL_IPMASQ=false
    ```
    
    * Check if the network interface has been created
    
    ```ShellSession
    ip a show dev flannel.1
    4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default
        link/ether e2:f3:a7:0f:bf:cb brd ff:ff:ff:ff:ff:ff
        inet 10.233.16.0/18 scope global flannel.1
           valid_lft forever preferred_lft forever
        inet6 fe80::e0f3:a7ff:fe0f:bfcb/64 scope link
           valid_lft forever preferred_lft forever
    ```
    
    * Try to run a container and check its ip address
    
    ```ShellSession
    kubectl run test --image=busybox --command -- tail -f /dev/null
    replicationcontroller "test" created
    
    kubectl describe po test-34ozs | grep ^IP
    IP:                             10.233.16.2
    ```
    
    ```ShellSession
    kubectl exec test-34ozs -- ip a show dev eth0
    8: eth0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
        link/ether 02:42:0a:e9:2b:03 brd ff:ff:ff:ff:ff:ff
        inet 10.233.16.2/24 scope global eth0
           valid_lft forever preferred_lft forever
        inet6 fe80::42:aff:fee9:2b03/64 scope link tentative flags 08
           valid_lft forever preferred_lft forever
    ```