Skip to content
  • Paul Czarkowski's avatar
    c226b4e5
    fixes issue #258 · c226b4e5
    Paul Czarkowski authored
    Kubernetes API server has an option:
    
    ```
    --advertise-address=<nil>: The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.
    ```
    
    kargo does not set --bind-address, thus it binds to eth0, in vagrant and similar
    environments this causes issues because nodes cannot talk to eachother over eth0.
    
    This sets `--advertise-address` to `ip` if its set, otherwise the default behavior
    of is persisted by using `ansible_default_ipv4.address`.
    c226b4e5
    fixes issue #258
    Paul Czarkowski authored
    Kubernetes API server has an option:
    
    ```
    --advertise-address=<nil>: The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.
    ```
    
    kargo does not set --bind-address, thus it binds to eth0, in vagrant and similar
    environments this causes issues because nodes cannot talk to eachother over eth0.
    
    This sets `--advertise-address` to `ip` if its set, otherwise the default behavior
    of is persisted by using `ansible_default_ipv4.address`.
Loading