gznz12345 发表于 2018-1-4 19:02:39

kubernetes学习笔记1

  安装篇

Downloading Kubernetes

  You can either build a>

[*]Prebuilt Binary>
[*]Building from source
[*]Download Kubernetes and automatically set up a default cluster
Prebuilt Binary>
  The list of binary>  Download the latest>kubernetes/ directory, and then follow the getting started guide for your cloud.
  On OS X you can also use the homebrew package manager: brew install kubernetes-cli

Building from source

  Get the Kubernetes source. If you are simply building a>
  Building a>  

git clone https://github.com/kubernetes/kubernetes.git  
cd kubernetes

  
make>  

  

  For more details on the>build/ directory

Download Kubernetes and automatically set up a default cluster
  The bash script at https://get.k8s.io, which can be run with wget or curl, automatically downloads Kubernetes, and provisions a cluster based on your desired cloud provider.
  

# wget version  
export KUBERNETES_PROVIDER=YOUR_PROVIDER; wget -q -O - https://get.k8s.io | bash
  

  
# curl version
  
export KUBERNETES_PROVIDER=YOUR_PROVIDER; curl -sS https://get.k8s.io | bash
  

  

  Possible values for YOUR_PROVIDER include:


[*]gce - Google Compute Engine
[*]gke - Google Container Engine
[*]aws - Amazon EC2
[*]azure - Microsoft Azure
[*]vagrant - Vagrant (on local virtual machines)
[*]vsphere - VMWare VSphere
[*]rackspace - Rackspace
  For the complete, up-to-date list of providers supported by this script, see the /cluster folder in the main Kubernetes repo, where each folder represents a possible value for YOUR_PROVIDER. If you don’t see your desired provider, try looking at our getting started guides; there’s a good chance we have docs for them.
页: [1]
查看完整版本: kubernetes学习笔记1