Bug 1277091 - Missing documentation for aws/gce cloud provider setup
Missing documentation for aws/gce cloud provider setup
Status: NEW
Product: OpenShift Origin
Classification: Red Hat
Component: Documentation (Show other bugs)
3.x
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Vikram Goyal
Bilhar
Vikram Goyal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-02 05:34 EST by chaoyang
Modified: 2017-05-15 23:53 EDT (History)
3 users (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description chaoyang 2015-11-02 05:34:18 EST
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.