Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Kubernetes CoreOS

This how-to guide demostrates how to setup Google Kubernetes on CoreOS

Quick Start

The following steps will setup a single node Kubernetes cluster. For a more robust setup using cloud-config see the Installation Guide.

Install Kubernetes binaries

sudo mkdir -p /opt/bin
sudo wget
sudo tar -xvf binaries.tar.gz -C /opt/bin

Add the Kubernetes systemd units

git clone
sudo cp kubernetes-coreos/units/* /etc/systemd/system/

Start the Kubernetes services

sudo systemctl start apiserver
sudo systemctl start scheduler
sudo systemctl start controller-manager
sudo systemctl start kubelet
sudo systemctl start proxy

Running commands remotely

Setup a SSH tunnel to the Kubernetes API Server.

sudo ssh -f -nNT -L 8080: core@${APISERVER}

Download a kubecfg client


curl -o /usr/local/bin/kubecfg
chmod +x /usr/local/bin/kubecfg


wget -O /usr/local/bin/kubecfg

Issue commands remotely using the kubecfg command line tool.

kubecfg list /pods
Docker Pull Command
Source Repository

Comments (3)
15 days ago

This command does nt not able to download binaries.

2017-08-03 12:55:05 ERROR 403: Forbidden

2 years ago

Hi, sorry if is a basic question, but following the steps , when I try to add the Kubenetes Systemd units appears an error saying "cp: cannot stat 'kubernetes-coreos/units/*': No such file or directory". Effectively the units directory doesn´t exists, and obviously can´t start the services.
Thanks for help.