Skip to content

Instantly share code, notes, and snippets.

@PatrickLang
Last active January 15, 2019 21:31
Show Gist options
  • Save PatrickLang/ea181db63ada86a2b781cfee0c629c66 to your computer and use it in GitHub Desktop.
Save PatrickLang/ea181db63ada86a2b781cfee0c629c66 to your computer and use it in GitHub Desktop.
Improved Windows Kubernetes setup experience

This is a brief brain-dump of the investigations I've done into how to make Kubernetes easier to setup along with some options suggested by others in SIG-Windows.

Getting binaries on the machine

  • aks-engine set precedence of putting things in c:\k. Is that the best decision? Should executables, logs and config be separated and ACLd more strongly?

Options:

  • MSI - would need to be built along with binaries. Not useful for configuration management & transitions though
  • PowerShell OneGet Provider - similar to what's done for Docker. Would find right URL and download kubernetes-node-...tgz, then extract it to the right location

Setup steps:

  • expand archive
  • register service
    • issue: logs? if kubelet doesn't start, how to troubleshoot it

Kubernetes Configuration Management

kubeadm

  • issue: uses Linuxy paths and creates files under c:\var and c:\etc
  • issue: adds Linux-only kubelet parameters

Full Deployment & Configuration management

  • Possible solution: Ansible
  • Possible solution: PowerShell DSC partial config
  • Possible solution: Chef
  • Possible solution: Puppet
  • Possible solution: Vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment