[Airship-discuss] Armada API connectivity to Tiller (proxy problem)
eli at mirantis.com
Wed Dec 26 18:56:06 UTC 2018
Thank you for the response!
>> The Armada API accepts a Tiller hostname as a safeguard in the event
that Armada is unable to find a running Tiller pod
Looking at the code  it seems to be that Armada will try to find Tiller
pod in the event Shipyard doesn't find one.
Was there some problem with Armada API not being able to retrieve Tiller
endpoint so it required a fallback? They both seem to use k8s API for that.
>> This can be changed per API request by providing the hostname of a
different Tiller pod.
>From architecture point of view, do we expect it to work with multiple
Tillers within a single Airship installation?
I'm asking these questions to explore the options for resolving GRPC (which
is used by Tiller client)  constraints, it does not handle CIDR in
no_proxy environment variables . One of the options is:
1. [high priority] Expose Tiller to create a DNS name for the pod, and use
it when making requests from Armada API to Tiller, in this case Aramada API
POD can have ".cluster.local" in NO_PROXY and everything would work just
fine (i.e. requests to Tiller won't go through the proxy).
2. [low priority] Reduce coupling between Tiller/k8s and Shipyard by
configuring Tiller endpoints in Armada API directly without requiring
Shipyard to pass one.
Prior to submitting any changes I would like to verify with you if this
makes sense or if I should explore other options.
On Thu, Dec 20, 2018 at 1:42 PM Drew Walters <drewwalters96 at gmail.com>
> Hi Eli,
> The Armada API accepts a Tiller hostname as a safeguard in the event that
> Armada is unable to find a running Tiller pod. Shipyard uses the Python
> Kubernetes client to retrieve the IP address that it provides to Armada.
> 1. It is possible to create a clusterIP with DNS and provide a domain name
> to Armada.
> 2. Armada only communicates with one Tiller pod at a time. This can be
> changed per API request by providing the hostname of a different Tiller
> pod. In the event that a Tiller hostname is not provided, Armada selects
> the first running Tiller pod it encounters.
> We invite you to join our IRC team meeting (#airshipit on freenode)
> January 8th to help us better understand your desired configuration and
> discuss in more detail. In the meantime, please let us know if you have any
> additional questions!
> Drew Walters
> On Wed, Dec 12, 2018 at 3:55 PM Evgeny L <eli at mirantis.com> wrote:
>> I've been working on getting behind the proxy configuration for AIAB to
>> work  and I stumbled across a problem related to GRPC , which does
>> not support CIDR notation for no_proxy entries, this make Armada API to
>> fail to connect to Tiller, because it tries to use proxy configured with
>> environment variables.
>> While looking for a solution other than doing some manual reconfiguration
>> , I started to have the following questions:
>> 1. Why does Shipyard uses  Tiller Pod IP? Can we create a
>> ClusterIP and use a DNS name?
>> 2. Why Shipyard is the one who provides Armada API with Tiller IP
>> address? If we do 1st we can possibly make endpoint a part of Armada API
>> configuration. Or is Armada API supposed to work with multiple Tillers at
>> the same time?
>> Any feedback and historical background would be really helpful!
>>  https://review.openstack.org/#/c/624122/
>> Airship-discuss mailing list
>> Airship-discuss at lists.airshipit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Airship-discuss