-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[ansible] add source_type: docker
(run Kubernetes parts in containers)
#673
Comments
source_type: docker
source_type: docker
(run Kubernetes parts in containers)
@rutsky +1 to this and make source_type: docker the default for coreos. I intended to bring coreos in this direction, I just wanted to follow existing design patterns of contrib/ansible and later align with upstream coreos. /cc: @adamschaub @stephenrlouie |
This may be related: kubernetes/kubernetes#23174 According to the initial bug report description it is assumed that everything (maybe except kubelet at this moment) will be deployed in containers. |
@rutsky are you waiting on the repo move or for running the kubelet in a docker container to work on this issue? I'm just trying to coordinate, as implementing K8S HA is a high priority in my world. From my understanding, we can implement K8S HA according to best practices [1] by using source_type: docker. If you think it's going to be a while for source_type: docker to drop, then I'm inclined to add K8S HA beforehand. |
Is 'source_type' the correct place for this configuration? In context of the current master role, source_type indicates the process of retrieving/installing the required binaries, not running/monitoring them. Would it be better to add in something like 'ansible_service_mgr=docker/systemd/sysvinit' as in https://github.com/kubespray/kargo/blob/master/roles/kubernetes/master/tasks/main.yml#L32? |
@danehans I don't understand how Masters HA setup is low priority for me atm.
|
@rutsky I met with @adamschaub yesterday to discuss k8s ha in more detail. I agree that We would like to implement k8s ha according to best practices [1], which deploys k8s api/scheduler/controller-manager services in pods. In this scenario, if more than 1 As @adamschaub mentioned above, maybe it makes sense to introduce I am open to other ideas on how to support running these k8s services in pods, while maintaining backwards compatibility. Let us know your thoughts. [1] http://kubernetes.io/docs/admin/high-availability/ /cc @eparis |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Most of Kubernetes parts that are being deployed can be run in Docker containers.
In Core OS installation guide all parts of Kubernetes cluster is deployed in Docker containers (with
kubelet
inrkt
container due to issues with mount namespace propagation AFAIK).Running Kubernetes in Docker should be almost identical on all platforms (since all platforms has Docker), so this may be good default way of running Kubernetes.
Also this corresponds to cluster deployment proposal: as I see all components will be run either as Docker container, systemd-nspawn container, or as DaemonSet.
I believe work on running Kubernetes components in containers is already started by core Kubernetes developers (for example kubernetes/kubernetes#23233) and it would be nice to coordinate our efforts so that we wouldn't do same job several times.
/cc: @eparis, @danehans, @mikedanese
The text was updated successfully, but these errors were encountered: