You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by Shenal Silva <sh...@gmail.com> on 2020/06/19 04:08:41 UTC
Few Questions about APISIX Kubernetes configurations
Hello All,
As I am working on the Helm chart for APISIX, I am using the existing
example given for kubernetes
(https://github.com/apache/incubator-apisix/tree/master/kubernetes) as
the base reference. I have few questions about the design decisions
made in the example and hope that some of you may be able to clarify
these points.
1) In the deployment.yaml there is an initContainer running in
privileged mode which increases some system limits including the
inotify watches. Is this configuration essential for the operation of
the apisix serer of is it set for performance reasons?
2) Currently the credentials are set in plaintext in the config. Does
the APISIX server support configuration parameters injected via
environment variables? If so we can leverage k8s secerts
Regards,
Shenal Silva (ෂෙනාල් සිල්වා)
twitter: shenalsilva
Public Key: shenalsilva.asc
Re: Few Questions about APISIX Kubernetes configurations
Posted by junxu chen <ch...@apache.org>.
1) I think it could be optional.
2) Not supported currently. Maybe we could leverage k8s secerts by
volumeMounts.
On Fri, Jun 19, 2020 at 12:09 PM Shenal Silva <sh...@gmail.com>
wrote:
> Hello All,
>
> As I am working on the Helm chart for APISIX, I am using the existing
> example given for kubernetes
> (https://github.com/apache/incubator-apisix/tree/master/kubernetes) as
> the base reference. I have few questions about the design decisions
> made in the example and hope that some of you may be able to clarify
> these points.
>
> 1) In the deployment.yaml there is an initContainer running in
> privileged mode which increases some system limits including the
> inotify watches. Is this configuration essential for the operation of
> the apisix serer of is it set for performance reasons?
> 2) Currently the credentials are set in plaintext in the config. Does
> the APISIX server support configuration parameters injected via
> environment variables? If so we can leverage k8s secerts
>
> Regards,
> Shenal Silva (ෂෙනාල් සිල්වා)
> twitter: shenalsilva
> Public Key: shenalsilva.asc
>