-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about possibility to use the role in production #1
Comments
Looks like I missed some parts of flannel, as if it is working as hostgateway, is the same as I have proposed above... right? |
@pablodav thanks for your messages - yes, the Ansible playbooks that are in this repository are capable of deploying a proper Flannel pod network, which is also handled by Flanneld on Windows machines. The only difference is that Windows nodes are not hosting Flannel as a pod but as a standalone service. This can be summed up as:
As to being production ready: the biggest problem with current hybrid Kubernetes clusters is the way how Windows HNS behaves, it is hard to debug and rather unpredictable. So it looks like Kubernetes itself would be ready for production but some underlying Docker/Windows components are unreliable yet. And of course, you are more than welcome to sending pull requests :) In the next few weeks I have a limited time for introducing changes to this repo, so this is also the reason why I am releasing this code in the current state. I bet that this could be a good starting point for supporting Windows in kubespray later. For now I can suggest installing Ubuntu 16.04 on a few Hyper-V VMs and Windows Server 1709 on a few Hyper-V VMs. When you have this, enable WinRM on Windows nodes (as in the official guide) so that you can use Ansible. From this point you should be able to use the playbooks, I am not sure if these playbooks will work properly when WITHOUT http proxy, as I was not testing it. But anyway these would be minor fixes. |
Thanks! This is very complete answer! Better than I was specting. |
I'm looking for something to reuse and help to implement kubernetes for windows.
As we know the limits with flannel, I'm thinking in the possibility to use what you have written for optional deployment with some of the working networkings for prod env.
Possibility with static routes:
https://docs.microsoft.com/en-us/virtualization/windowscontainers/kubernetes/configuring-host-gateway-mode
More details: https://kubernetes.io/docs/getting-started-guides/windows/
Do you feel it will be good to work on this direction?
Can I use your base and start sending pull requests once have some progress?
Do you have any recommendation before going to modify it?
I'm trying some other projects to like kubespray and kismatic, but both doesn't have any playbook for windows, so what you have written here is very useful to go into a new direction.
Probably this new project could be what I'm was looking for (still not tested, just got into this repository at this time).
The text was updated successfully, but these errors were encountered: