Docker Community Forums

Share and learn in the Docker community.

Kubernetes api-server arguments

(Bryanl) #1

Is it possible to pass arguments to api-server? I would like to enable swagger-ui.

(Bklau) #2

I think specifically, the question that I would ask:
Q: Does Current Docker remote API seamlessly translates/proxy to Kubernetes API calls if I enabled a K8s cluster during install.
Why is this important?. Because there are lots of users and admins coding/scripting against Docker Remote API using their favourite language(Python, Java, Go, etc). So if there is a API proxying mechanism to K8s API server seamlessly, then that would be a great sell for existing Docker Swarm users because then they don’t have to learn a new K8s API.

(Jelmer Snoeck) #3

Besides adding optional flags, it would be great to be able to modify existing flags.

Flags like --admission-control are used to set up additional Admission Controllers like PodSecurityPolicy.