<p>what is the differentes of deployment of a self hosted gateway to docker or kubernets?</p>
<p>I had read that Kubernets allows local metrics and logs.
Link: <a href="https://learn.microsoft.com/en-us/azure/api-management/how-to-configure-local-metrics-logs" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/api-management/how-to-configure-local-metrics-logs</a></p>
<p>I also had read that kubernets would be necessary to use caching with a self hosted gateway.
Link: <a href="https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external</a></p>
<p>Would it be possible to use these capabilities with docker only? or is kubernets necessary to allow these capabilities?</p>
<p>Thanks.</p>

high5
<p>Kubernetes and Docker are not competing techonlogies. Docker is just a container runtime, bundled with extra tools to also build container images. Kubernetes &quot;can use&quot; docker as an option for its container runtime, which is what most people do in practice.</p>
<p>That said, Kubernetes adds a whole new layer dedicated to container orchestration, integration and automation. It addresses multiple concerns you would have to handle anyway if you decided to use plain Docker. Some of that includes: self-healing, health checks, workload distribution, auto scaling, blue/green application updates, native support for stateful or stateless applications, a framework for a variety of ingress controllers, cluster-wide application configuration, integration with storage providers, RBAC authorization for cluster management... it's a pretty big list.</p>
<p>It doesn't necessarily add anything new with respect to the applications themselves, such as caching, gateways or metrics... anymore than you would be able to with Docker. Except, with plain Docker, you would need to set things up yourself in your own way, while Kubernetes provides the necessary tools to automate most of it. Integrated solutions, like reverse proxies, elasticsearch, redis, prometheus, etc. they just leverage that potential for automation.</p>
