spring-petclinic / spring-petclinic-cloud

Fork of the Spring Cloud Microservices project packaged to be deployed on several Cloud platforms: Kubernetes and Cloud Foundry
Apache License 2.0
136 stars 241 forks source link

CloudFoundry deployment on PCF Dev #11

Closed arey closed 3 years ago

arey commented 4 years ago

Hi @odedia. I'm trying to deploy the app on a PCF Dev instance by following the readme.md. I'm new to Cloud Foundry. The first line of the deployToCloudFoundry.shscript is failing. Did you have any idea?

arey@MacBook scripts % cf create-service -c '{ "git": { "uri": "https://github.com/arey/spring-petclinic-cloud-config.git", "periodic": true }, "count": 3 }' p.config-server standard config
Création de l'instance de service config dans l'organisation cfdev-org/l'espace cfdev-space en tant que admin...
Service offering 'p.config-server' not found.
ECHEC
arey@MacBook scripts % cf dev version  
CLI: 0.0.18
BUILD: 36 (f58f3cc)
cf: v13.2.0
cf-mysql: 36.19.0
odedia commented 4 years ago

Hi, Can you try running

cf dev deploy-service scs Also, on pcf dev it might be p-config-server as per docs:

https://docs.pivotal.io/pcf-dev/usage-scs.html

‫ב-6 בספט׳ 2020, בשעה 12:09, ‏‏Antoine Rey ‏notifications@github.com כתב/ה:‬

 Hi @odedia. I'm trying to deploy the app on a cf dev instance by following the readme.md. I'm new to Cloud Foundry. The first line of the deployToCloudFoundry.shscript is failing. Did you have any idea?

arey@MacBook scripts % cf create-service -c '{ "git": { "uri": "https://github.com/arey/spring-petclinic-cloud-config.git", "periodic": true }, "count": 3 }' p.config-server standard config Création de l'instance de service config dans l'organisation cfdev-org/l'espace cfdev-space en tant que admin... Service offering 'p.config-server' not found. ECHEC — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

arey commented 3 years ago

Thank you @odedia. Unfortunately, my laptop does not have enough ressources to start PCF Dev with Spring Cloud Services :(

odedia commented 3 years ago

Bummer. Perhaps a VM in the public cloud?

By the way - I have an idea to replatform the solution for Azure Spring Cloud as well. It’s great that we decided on spring-petclinic-cloud, fits nicely :).

arey commented 3 years ago

Great, I saw the Microsoft announcement: https://azure.microsoft.com/fr-fr/services/spring-cloud/

arey commented 3 years ago

I've create the issue https://github.com/spring-petclinic/spring-petclinic-cloud/issues/17