Skip to content

Generate your cloud-init file personilazed to deploy k8s masters and nodes with kubeadm.

Notifications You must be signed in to change notification settings

EBMBA/PS_K8s-CloudInit-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Cloud-Init Tool

Generate your cloud-init file personilazed to deploy k8s masters and nodes with kubeadm.

Prerequisite

Install powershell-yaml, simply run the following command :

Install-Module powershell-yaml

Example with multipass

  • Deploy them :
multipass launch --cpus 2 --mem 2G --disk 20G --name master --cloud-init cloud-init-master-cd.yaml
multipass launch --cpus 2 --mem 2G --disk 20G --name node1 --cloud-init cloud-init-nodes-cd.yaml
multipass launch --cpus 2 --mem 2G --disk 20G --name node2 --cloud-init cloud-init-nodes-cd.yaml
  • Join nodes to the cluster (on the master) :
kubeadm token create --print-join-command

About

Generate your cloud-init file personilazed to deploy k8s masters and nodes with kubeadm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published