Bug 1277091 - Missing documentation for aws/gce cloud provider setup
Summary: Missing documentation for aws/gce cloud provider setup
Keywords:
Status: NEW
Alias: None
Product: OKD
Classification: Red Hat
Component: Documentation
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Ronaldo Rivera
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-02 10:34 UTC by Chao Yang
Modified: 2023-05-15 19:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chao Yang 2015-11-02 10:34:18 UTC
Document URL: 
docs.openshift.org/latest/welcome/index.html
Section Number and Name: 
Administration/Master and Node configuration
Describe the issue: 
there is no description for how to config the aws/gce cloud provider for openshift
Suggestions for improvement: 
GCE:
1.On the master, edit (or create) /etc/openshift/master/master-config.yaml and update apiServerArguments and  controllerArguments:
    kubernetesMasterConfig:  
      apiServerArguments:  
        cloud-provider:  
          - "gce"  
      controllerArguments:  
        cloud-provider:  
          - "gce"  
2.On the node(s), edit (or create) /etc/openshift/node/node-config.yaml and add kubeletArguments section:
      kubeletArguments:  
      cloud-provider:  
        - "gce"  
AWS:
1.On all your VMs, both master and nodes, create /etc/aws/aws.conf file, which tells Kubernetes how to talk to AWS:
    [Global]  
    Zone = us-east-1c  
2.On the master, edit (or create) /etc/openshift/master/master-config.yaml and update apiServerArguments and  controllerArguments:
    kubernetesMasterConfig:  
      apiServerArguments:  
        cloud-provider:  
          - "aws"  
        cloud-config:  
          - "/etc/aws/aws.conf"  
      controllerArguments:  
        cloud-provider:  
          - "aws"  
        cloud-config:  
          - "/etc/aws/aws.conf"  
3.On the node(s), edit (or create) /etc/openshift/node/node-config.yaml and add kubeletArguments section:
    kubeletArguments:  
      cloud-provider:  
        - "aws"  
      cloud-config:  
        - "/etc/aws/aws.conf"  
4.(Re-)start openshift services on the master and all nodes and make sure they run with these environment variables:

    export AWS_ACCESS_KEY_ID=<key id>  
    export AWS_SECRET_ACCESS_KEY=<secret key>  
Additional information:


Note You need to log in before you can comment on or make changes to this bug.