Bug 1277091

Summary: Missing documentation for aws/gce cloud provider setup
Product: OKD Reporter: Chao Yang <chaoyang>
Component: DocumentationAssignee: Nobody <nobody>
Status: NEW --- QA Contact: Ronaldo Rivera <rrivera>
Severity: low Docs Contact:
Priority: low    
Version: 3.xCC: aos-bugs, chaoyang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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: