Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

howaboutwe/knife-rackspace-load-balancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Add region to your knife configuration:

#knife.rb
knife[:rackspace_api_region] = "ord"

Commands

List:

bundle exec knife rackspace load balancer list

Show:

bundle exec knife rackspace load balancer show <load_balancer_id>
bundle exec knife rackspace load balancer show <load_balancer_id> <load_balancer_id> --resolve-node-names

Create:

bundle exec knife rackspace load balancer create "some.site.com" --port 80 --node-port 80 --add-nodes-by-name "app1,app2" --algorithm RANDOM

Delete:

bundle exec knife rackspace load balancer delete <load_balancer_id>

Add Node:

bundle exec knife rackspace load balancer add node --by-name "app1" --port 80 --only "<load_balancer_id>,<load_balancer_id>"
bundle exec knife rackspace load balancer add node --by-name "app1,app2" --auto-resolve-port --except "<load_balancer_id>"

Delete Node:

bundle exec knife rackspace load balancer delete node --by-search "chef_environment:staging AND name:staging-app" --all

Copyright © 2012 HowAboutWe. See LICENSE.txt for further details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages