Skip to content

Instantly share code, notes, and snippets.

@DenisIzmaylov

DenisIzmaylov/NOTES.md

Last active Jun 7, 2016
Embed
What would you like to do?
Step By Step Guide to Kubernetes over CoreOS Cluster

Kubernetes over CoreOS Cluster

  1. Configure CoreOS Cluster
  2. Install Kubernetes
  3. Install kubectl
  4. Install kubedash

kubectl

curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.4/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/kubectl
kubectl config set-cluster default-cluster --server=https://MASTER_HOST --certificate-authority=ca.pem
kubectl config set-credentials default-admin --certificate-authority=ca.pem --client-key=admin-key.pem --client-certificate=admin.pem
kubectl config set-context default-system --cluster=default-cluster --user=default-admin
kubectl config use-context default-system

Kubedash

  1. Create kube-system.json:

    {
       "kind": "Namespace",
       "apiVersion": "v1",
       "metadata": {
         "name": "kube-system"
       }
     }
  2. Create namespace - kubectl create -f kube-system.json

  3. Install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.