Lately I was playing around with Spring Cloud Functions by building a small demo application.
Locally It runs without any problems. The Spring Cloud team did a great job. Easy to use like most of the Spring Framework projects.
Run it on IBM Cloud
But why run it locally, it should run in the Cloud. Why not run it on IBM Cloud.
To run a JVM based application you need a manifest file with a few settings about the application like host and memory. And push it to the cloud
cf push appname
In the beginning it looks like it was delaying, but it ended with an error, complaining about the build pack. Apparently during deployment it is not possible to determine which build pack needs to be used.
The solution was pretty easy, by adding the build pack with -b parameter
cf push appname -b liberty-for-java
One thought on “Deploy Spring Cloud Function to IBM Cloud”