Skip to content

Instantly share code, notes, and snippets.

@andrewtchin
andrewtchin / networking-blog-1.md
Created January 6, 2017 16:40
Basic Network Configuration with vSphere Integrated Containers Engine

Basic Network Configuration with vSphere Integrated Containers Engine

This post will discuss how to configure some of the basic networking options when deploying a Virtual Container Host (VCH) to use vSphere Integrated Containers Engine (VICE).

VCH Static IP Address

A common use case is to give the VCH a static IP address. There are several networks used by the VCH detailed in Networks Used by vSphere Integrated Containers Engine.

// compareDateString returns if BuildDate string (e.g. 2009/11/10@23:00:00) of v is before that of b
func compareDateString(v, b string) (bool, error) {
layout := "2006/01/02@15:04:05"
tv, errv := time.Parse(layout, v)
tb, errb := time.Parse(layout, b)
if errv != nil {
return false, errv
}
if errb != nil {

Keybase proof

I hereby claim:

  • I am andrewtchin on github.
  • I am andrewtchin (https://keybase.io/andrewtchin) on keybase.
  • I have a public key whose fingerprint is 306C 5D9C C185 1A7A E4C9 DEC3 B2B8 5258 CDC5 F5D7

To claim this, I am signing this object: