Skip to content

pezhore/vmware_coreos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Deploying CoreOS via PowerShell

This script will automatically build out CoreOS clusters of a given size on enterprise VMware infrastructure.

Taken from this blog post and expanded to include parameterized input, variable cluster size, and auto-generated/updated etcd discovery url.

Parameters

  • NodeCount: Defaults to 3, this is used to determine how many nodes are in the cluster (also used for generating IP addresses)
  • vCenterServer: The target vCenter Server (Defaults to my internal/isolated homelab... change this for your implementation)
  • ClusterDns: DNS server for use by the nodes
  • ClusterGateway: The node's IPv4 gateway
  • IPAddressStart: The first node's IP address. This will be incremented for each subsequent node. Note: The current version does not check for valid IP addresses at run time. If you start at 10.3.1.250 and make a cluster of 11 nodes, this will probably break things.
  • Cidr: Defaults to 24, this indicates the subnet mask in cidr notation
  • VMwareCred: Credentials for connecting to $vCenterServer
  • CoreOSTemplate: The name of the CoreOS template in vCenter

About

Deploying CoreOS via PowerShell (with PowerCLI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%