Sign inSign up

wpcloud/controller

By wpcloud

•Updated about 8 years ago

Controller for wpcloud and rabbit.ci

Image
0

563

wpcloud/controller repository overview

This docker/service controls containers and maintains overall health and integrity of the infrastructure. It is deployed as a service container to each Container Cloud machine as well as a standalone VM for proxying SSH connections into containers.


List all machines:

gcloud --project=wpcloud-io compute instances list

Re-generate SSH keys for container access:

sudo DOCKER_PORT=2375 DOCKER_HOSTNAME=api.wpcloud.io DIRECTORY_KEYS_BASE=/etc/ssh/authorized_keys.d PASSWORD_FILE=/etc/passwd PASSWORDS_TEMPLATE=ubuntu.passwords controller.keys

SSH into Controller Worker:

ssh [email protected] -p 22

SSH into common container cloud machines:

ssh [email protected]
ssh [email protected] 
ssh [email protected] 
ssh [email protected]

ssh [email protected]
ssh [email protected]
ssh core@container-cloudtimeout  --preserve-status -s 9 2s df | echo "ok" | echo "Died"
-baghdad.c.wpcloud-io.internal 

SSH into client cluster machines:

ssh [email protected] -p 42891
ssh [email protected] -p 42769
ssh [email protected] -p 53212
ssh [email protected] -p 42891
ssh [email protected] -p 42891
⁠Cloud Config Update

Manulaly push to a machine

gcloud --project=wpcloud-io compute instances add-metadata  --zone=us-central1-c container-cloud-5 --metadata-from-file=user-data=./static/cloud-config/v6.1.yaml
⁠Meta

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

about 8 years ago

docker pull wpcloud/controller:3.0.0