Skip to content

Instantly share code, notes, and snippets.

@tariq-islam
Last active April 17, 2017 18:50
Show Gist options
  • Save tariq-islam/7420e3846e1c3b9ffae7394ea3efd1fd to your computer and use it in GitHub Desktop.
Save tariq-islam/7420e3846e1c3b9ffae7394ea3efd1fd to your computer and use it in GitHub Desktop.
OCP Lab Notes
@tariq-islam
Copy link
Author

tariq-islam commented Apr 17, 2017

If you don't have the PHP image, you'll need to import it:

oc import-image my-rhscl/php-56-rhel7 --from=registry.access.redhat.com/rhscl/php-56-rhel7 --confirm

@dudash
Copy link

dudash commented Apr 17, 2017

If you are having vagrant issues. We can put it back to the default state with:

vagrant halt
vagrant destroy
vagrant up

you might be able to get away with just a halt, but full destroy will return you to original state.

@dudash
Copy link

dudash commented Apr 17, 2017

For accessing web apps, you will need to route through a valid proxy route. So create a new route to:

[APP_NAME].apps.ocp-local-dev.[YOUR_ORG_URL]

@tariq-islam
Copy link
Author

@dudash
Copy link

dudash commented Apr 17, 2017

After you finish the microservices lab we can do some extra credit lab additions:

  1. try the oc rsync command to sync a local directory (make changes to your git clone)
  2. spin up and down pods
  3. explore the deployed microservices via web console

@dudash
Copy link

dudash commented Apr 17, 2017

1. Fork the summit-2017-dataservices repo

https://github.com/tariq-islam/summit-2017-dataservices

2. Edit each of the services pom files to point to nexus, commit and push

3. Edit the template to point to your fork (and no "ref" branch stanza)

4. Deploy the template per instructions in lab 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment