zoukankan      html  css  js  c++  java
  • kubernetes学习笔记1

    安装篇

    Downloading Kubernetes

    You can either build a release from sources or download a pre-built release. If you do not plan on developing Kubernetes itself, we suggest a pre-built release.

    Prebuilt Binary Release

    The list of binary releases is available for download from the GitHub Kubernetes repo release page.

    Download the latest release and unpack this tar file on Linux or OS X, cd to the created 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 release from source there is no need to set up a full golang environment as all building happens in a Docker container.

    Building a release is simple.

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

    For more details on the release process see 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 [default]
    • 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.

  • 相关阅读:
    【转】ON_COMMAND ON_MESSAGE ON_NOTIFY区别与联系
    Eureka
    application.yml-mysql8
    sprigcloud
    springboot
    maven
    排序算法之基数排序
    排序算法之桶排序
    排序算法之计数排序
    排序算法之堆排序
  • 原文地址:https://www.cnblogs.com/kevinX/p/5435550.html
Copyright © 2011-2022 走看看