https://github.com/debianmaster/openshift-aws-installer-image
Docker container for openshift development
https://github.com/debianmaster/openshift-aws-installer-image
Last synced: over 1 year ago
JSON representation
Docker container for openshift development
- Host: GitHub
- URL: https://github.com/debianmaster/openshift-aws-installer-image
- Owner: debianmaster
- Created: 2016-02-22T22:25:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T19:12:21.000Z (about 10 years ago)
- Last Synced: 2025-01-29T14:52:47.554Z (over 1 year ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> This container has necessary packages like ansible/python ("the right versions") to run openshift-ansible scripts located at https://github.com/openshift/openshift-ansible.git
#### Clone repo and add your aws pem file
```sh
git clone https://github.com/debianmaster/openshift-aws-installer-image.git
cd openshift-aws-installer-image
```
> Copy your aws pem file and rename it to *ck_workshop.pem*
#### Edit your .env_sample file and rename it to .env
```sh
AWS_ACCESS_KEY_ID=XXXXXXXXX
AWS_SECRET_ACCESS_KEY=XXXXXX
cluser_id=cloud
num_nodes=2
rhsm_pass=XXXXXXXX
rhsm_user=XXXXXXX
ami=ami-2051294a
zone=us-east-1
node_type=r3.xlarge
master_type=t2.large
infra_type=c3.xlarge
users_count=40
```
#### Build docker image
```sh
docker build -t "ose_installer" .
```
#### Run docker image to start the cluster deployment
```sh
docker run -d --env-file=.env --name ose_install ose_installer
```
### To see Progress
```sh
docker logs -f ose_install
```
### To Delete the cluster
> Goto aws Cloudformation and delete the stack that is created as part of this install