1 Star 0 Fork 0

zhuchance / kubernetes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
coreos_quick_start.md 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
Kelsey Hightower 提交于 2014-10-03 15:22 . add coreos setup guides

CoreOS Quick Start Guide

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 https://storage.googleapis.com/kubernetes/binaries.tar.gz
sudo tar -xvf binaries.tar.gz -C /opt/bin

Add the Kubernetes systemd units

git clone https://github.com/GoogleCloudPlatform/kubernetes.git
sudo cp kubernetes/docs/getting-started-guides/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:127.0.0.1:8080 core@${APISERVER}

Download a kubecfg client

Darwin

curl -o /usr/local/bin/kubecfg https://storage.googleapis.com/kubernetes/darwin/kubecfg
chmod +x /usr/local/bin/kubecfg

Linux

wget https://storage.googleapis.com/kubernetes/kubecfg -O /usr/local/bin/kubecfg

Issue commands remotely using the kubecfg command line tool.

kubecfg list /pods
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/meoom/kubernetes.git
git@gitee.com:meoom/kubernetes.git
meoom
kubernetes
kubernetes
v0.4.1

搜索帮助

344bd9b3 5694891 D2dac590 5694891