" />

One Node Kubernetes Cluster

With Project Atomic on Linode

Derek Carter aka "goozbach"

Goozbach Infrastructure Solutions LLC

Why a One-Node Cluster?

Getting started – Create a Linode

choose linode

Create Bootstrapping OS

“Rebuild”

rebuild bootstrapper

Create Aux Disks

created_default_disks.png

atomic

cidata

Modify Initial Configuration Profile

Create Atomic Configuration Profile

Boot Into Bootstrapping Profile

Setup Bootstrapping Environment

OPTIONAL: ipv6 issues

put this in /etc/sysctl.d/99-noipv6.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Create cloud-init data files

meta-data

Contents:

instance-id: atomic-F329-458F-AB4E-147410BC283F
local-hostname: atomic.example.com

The field instance-id is a unique identifer for the machine. Cloud init only runs once based on instance-id.

user-data

#cloud-config
user: goozbach
ssh_pwauth: False
ssh_authorized_keys:
  - '<USERKEY1>'
  - '<USERKEY2>'
ssh_keys:
  rsa_private: |
    <INSERT CONTENTS HERE>

  rsa_public: <PUBKEY GOES HERE>

  ecdsa_private: |
    <INSERT CONTENTS HERE>

  ecdsa_public: <PUBKEY GOES HERE>


  ed25519_private: |
    <INSERT CONTENTS HERE>

  ed25519_public: <PUBKEY GOES HERE>

Copy cloud-init files into cidata partition

Write images into atomic disk

image atomic

Reboot into Atomic Configuration profile.

kubectl

Launch pods

Expose pods

Thank You!

More information can be found at:
http://presentation.goozbach.com/

Contact Derek at: