Saturday, 8 March 2014

An introduction to the application lifecycle on Codename: BlueMix

Another nice little nugget from IBM developerWorks: -

Codename: BlueMix

Jay Allen starts by going to the jStart page on GitHub and cloning the Node MySQL Upload application to his local notebook machine.

He then displays two of the files in the application. He shows you the key code sections of the application itself. Next, he shows you the key information in the .yml file, which defines the preferred way to deploy the application to BlueMix.

After Jay shows you the code, he demonstrates how to target the environment from the command line and how to push the application to BlueMix based on the information in the .yml file.

Jay then shows how the application appears in the BlueMix palette of applications and launches the application. He briefly uploads a file by using the application.

Jay demonstrates how to review the runtime parameters and change them from the BlueMix dashboard. Finally, he shows how easy it is to delete an application when you are done with it.

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...