Simple OpenShift-based DevOps stack for developing data streaming applications on AWS.
All playbooks are dedicated for Fedora 25.
- OpenShift login - uses
oc
client to log into OpenShift. Also ensures thatstreamshift
project has been created. - OpenShift uninstall - removes OpenShift (including state and configuration) installed with the OpenShift playbook.
- ZooKeeper - ensures that ZooKeeper service is provisioned in OpenShift
- Kafka - ensures that Kafka service is provisioned in OpenShift
- MongoDB - ensures that MongoDB service is provisioned in OpenShift
In order to install StreamShift execute the following command:
git clone [email protected]:hekonsek/streamshift.git
AWS_ACCESS_KEY_ID='yourKeyId' AWS_SECRET_ACCESS_KEY='yourSecretKey' ansible-playbook aws.yml
ansible-playbook streamshift/streamshift.yml
Now ssh into provisioned EC2 Fedora instance and try to log in into OpenShift using default admin credentials
(username admin
and password admin
):
$ oc login
Authentication required for https://localhost:8443 (openshift)
Username: admin
Password:
Login successful.
If you are not happy with your OpenShift installation (for example if you would like to re-provision it), execute uninstall playbook:
ansible-playbook streamshift/openshift-uninstall/openshift-uninstall.yml