Skip to content

Adds macOS support for local environment#49

Merged
jwmatthews merged 21 commits into
masterfrom
mac
May 22, 2017
Merged

Adds macOS support for local environment#49
jwmatthews merged 21 commits into
masterfrom
mac

Conversation

@jwmatthews
Copy link
Copy Markdown
Member

This PR adds support for running locally on macOS.

It is using the 'summit' tags and intended to run same functionality we had for summit demos locally on Mac. I'd like this to be merged into master, then I'd like to get 'dev' to take these changes in.

I'm in the process of testing this on Linux and EC-2.

Once merged this will address #42

cfchase and others added 19 commits May 19, 2017 17:28
Set reset variable based on script.
Removed some unneeded demo specific vars.
Added source of my_vars for user specific variables.
Next Issue to fix is that we need to run kubectl against the
apiserver for service catalog.

the kubectl runs from our mac host using ~/.kube/service-config

The address we have in there is 172.17.0.3 which our host is not
able to see.

One thought is to execute this command inside of the container for ASB
itself instead of from the MAC.

Other thought is to change the apiserver for svc cat setup and use an
authenticated endpoint, at moment we are using an internal endpoint
to avoid authentication.
Next need to fix controllermanager able to talk to asb route.
Route is not working as it's resolving to 127.0.0.1 IP in the
controller manager container
Found when running on a clean mac install
@jwmatthews
Copy link
Copy Markdown
Member Author

@cfchase @dymurray please take a look at this for Linux and EC-2.
Intent is to get this merged into master, then later get these changes into 'dev'

I've run tests on macOS, Linux, and EC-2.
Looking good so far.

@cfchase
Copy link
Copy Markdown
Contributor

cfchase commented May 22, 2017

@jwmatthews tested on Linux for both local and ec2. Both worked without issue.

Comment thread local/mac/README.md Outdated

### Pre-Reqs
* ```socat``` needs to be installed
brew install socat
Copy link
Copy Markdown
Contributor

@cfchase cfchase May 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this needed to be:

brew install socat

It's not showing as preformatted when I view the file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Chris, fixed.

@cfchase
Copy link
Copy Markdown
Contributor

cfchase commented May 22, 2017

ACK

@dymurray
Copy link
Copy Markdown
Contributor

ACK, success for me on EC2 and local environments for Linux. John mentioned that Andrew also had success on Mac so I am good to merge.

cfchase added a commit that referenced this pull request Jun 1, 2017
* Updated to use summit labels (#47)

* Adds macOS support for local environment (#49)

* Successful run local on macOS, postgres/python bind worked.

* Reverted asbcli up to use openshift_url variable

* Update README

* Add note 'socat' needs to be installed on mac

* Fix for install asb pip requirements

* Update README for 2 local directories

* README tweak

* Change to pip install docker instead of the older docker-py (#50)

* Revert "Updated to use summit labels (#47)"

This reverts commit 3c7e187.

* Minor fixes necessary after merging master.

* Adapting vars_prompt to ec2 and mac.
@jwmatthews jwmatthews deleted the mac branch June 14, 2017 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants