pivotal-cloud-foundry

How to use kafka and storm on cloudfoundry?

百般思念 提交于 2019-12-07 06:22:43
问题 I want to know if it is possible to run kafka as a cloud-native application, and can I create a kafka cluster as a service on Pivotal Web Services. I don't want only client integration, I want to run the kafka cluster/service itself? Thanks, Anil 回答1: I can point you at a few starting points, there would be some work involved to go from those starting points to something fully functional. One option is to deploy the kafka cluster on Cloud Foundry (e.g. Pivotal Web Services) using docker

Access PCF DEV from external machine on same network as host

浪子不回头ぞ 提交于 2019-12-05 19:50:54
My intention is to use PCF DEV as an integration test environment for our CI server, as well as a place to demo proof-of-concept projects. I have Pivotal Cloud Foundry DEV setup on a private network in a windows environment. I'm able to access everything fine from the host box, but I and others on my team need to be able to access it from other machines on the network using the cf cli as well as just accessing deployed services. I'm not savvy in the ways of DNS proxy, so I'm not sure whether using Acrylic is the right move here or not, since the host machine will have internet access even

Add SSL keystore file to java trusted store for HTTP Client request on PCF (Cloud Foundry)

一个人想着一个人 提交于 2019-12-05 15:35:53
In my spring boot application I making a https(secure) request. For that I need pass flowing argument as JVM argument. javax.net.ssl.trustStore javax.net.ssl.trustStorePassword Eg : -Djavax.net.ssl.trustStore=~/home/dinusha/keystore.jks -Djavax.net.ssl.trustStorePassword=pass In PCF (Cloud Foundry) I can not copy keystore.jks file to PCF. So how can I pass this values on PCF You have to bundle the keystore.jks file with application. Please find the step bellow. Put your keystore.jks file into you application resources(src/main/resources) folder. Add the keystore.jks path and it's password in

How to use kafka and storm on cloudfoundry?

雨燕双飞 提交于 2019-12-05 08:55:39
I want to know if it is possible to run kafka as a cloud-native application, and can I create a kafka cluster as a service on Pivotal Web Services. I don't want only client integration, I want to run the kafka cluster/service itself? Thanks, Anil I can point you at a few starting points, there would be some work involved to go from those starting points to something fully functional. One option is to deploy the kafka cluster on Cloud Foundry (e.g. Pivotal Web Services) using docker images. Spotify has Dockerized kafka and kafka-proxy (including Zookeeper). One thing to keep in mind is that PWS

Spring Boot - Limit on number of connections created

被刻印的时光 ゝ 提交于 2019-12-03 05:34:03
问题 I developed a microservice using Spring Boot. I was performance testing the service by stubbing the backend calls. When I looked at the thread count , I see that the maximum number of threads that created to the service is 20 at any point in time even though the number of calls made is much higher. Are there any limitations with respect to number of calls that can be made to a microservice developed using Spring Boot. Please can you guide in what steps I need to follow to troubleshoot /

Kubernetes vs. CloudFoundry [closed]

醉酒当歌 提交于 2019-12-03 00:02:42
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 months ago . The next version of CloudFoundry / Diego will offer native support for Docker containers which will be orchestrated across multible hosts [link]. This sounds very similar to Kubernetes. Of course, the problem Kubernetes is trying to solve is more a generic, where

Spring Boot - Limit on number of connections created

最后都变了- 提交于 2019-12-02 20:05:07
I developed a microservice using Spring Boot. I was performance testing the service by stubbing the backend calls. When I looked at the thread count , I see that the maximum number of threads that created to the service is 20 at any point in time even though the number of calls made is much higher. Are there any limitations with respect to number of calls that can be made to a microservice developed using Spring Boot. Please can you guide in what steps I need to follow to troubleshoot / increase the number of connections accepted by the service? alexbt This setting is derived from the embedded

Kubernetes vs. CloudFoundry [closed]

家住魔仙堡 提交于 2019-12-02 13:49:51
The next version of CloudFoundry / Diego will offer native support for Docker containers which will be orchestrated across multible hosts [ link ]. This sounds very similar to Kubernetes. Of course, the problem Kubernetes is trying to solve is more a generic, where CloudFoundry is more focussed on app development. However, for me it sounds both are heading into a similar direction and CloudFoundry is adding a lot more features on top of the plain orchestration. So I'm wondering about use-cases where Kubernetes would add more value than CloudFoundry? KarlKFI As both a CloudFoundry (past) and

How to check PCF version

北战南征 提交于 2019-12-02 11:21:03
问题 Is there a way to know which Pivotal Cloud Foundry licensed version we are using? I see there are some marketplace services offered free in Public PCF but they are not available in the licensed PCF version we are using? I am assuming the version mismatch might be the reason. 回答1: As a normal cf user of Pivotal Cloud Foundry/Elastic Runtime/Application Service it can be a little tedious to figure out what version is running. As a cf user you can start with cf target or cf api to get the target

Accessing the java executable from a cloudfoundry task command (cf run-task)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 21:09:23
I need the java executable to run a java -jar from a cloudfoundry task command. Here is how I try to run the task: cf run-task bignibou-batch "java -jar bignibou-batch/build/libs/bignibou-batch.jar" Here is the error message I get: 2016-12-24T12:53:30.002+01:00 [APP/TASK/358e02df/0] [ERR] bash: java: command not found My manifest uses the java buildpack as follows (see bignibou-batch app at the bottom): --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env: APPLICATION_URL: http://bignibou-server.cfapps.io/ APPLICATION_MAIL_NO_REPLY_ADDRESS: balteo@bignibou-server