2 - Amazon EC2 集群


    • From the Clusters page, click Add Cluster.
    • Choose Amazon EC2.
    • Enter a Cluster Name.

    Use Member Roles to configure user authorization for the cluster.

    • Click Add Member to add users that can access the cluster.
    • Use the Role drop-down to set permissions for each user.
    • Use Cluster Options to choose the version of Kubernetes, what network provider will be used and if you want to enable project network isolation. To see more cluster options, click on Show advanced options.

    • Click Add Node Template.Complete each of the following forms using information available from the EC2 Management Console.
      • Account Access holds the region and API Key used to create the cluster.
      • Zone and Network configures the availability zone and network settings for your cluster.
      • Security Groups configures the security groups applied to your cluster.
      • Instance provisions your VM instances.

    Docker object label documentation

    1. - **Docker Engine Install URL:** Determines what Docker version will be installed on the instance.When using RancherOS, please check what Docker versions are available using <code>sudo ros engine list</code> on the RancherOS version you want to use, as the default Docker version configured might not be available. If you experience issues installing Docker on other operating systems, please try to install Docker manually using the configured Docker Engine Install URL to troubleshoot.
    2. - **Registry mirrors:** Docker Registry mirror to be used by the Docker daemon

    • Click Create.
    • Optional: Add additional node pools.
      • Review your cluster settings to confirm they’re correct. Then click Create.

    Result:

    • Your cluster is created and assigned a state of Provisioning. Rancher is standing up your cluster.
    • Active clusters are assigned two Projects, Default (containing the namespace ) and System (containing the namespaces cattle-system,ingress-nginx,kube-public and , if present).