Questions tagged [spring-boot]

For questions about Spring Boot, the Java framework for creating Spring applications. Development questions may be better suited at Stack Overflow.

14 questions
8
votes
1 answer

Ansible playbook for configuring runit to supervise an uberjar?

We are using Ansible 1.9 for deploying Spring Boot microservices. We are using CentOS 6 and the services are packaged as rpms. We intend to configure the executable jar files to be supervised by runit, instead of SysVinit or Upstart. Is it…
ᴳᵁᴵᴰᴼ
  • 1,173
  • 10
  • 22
7
votes
3 answers

Where should we keep application properties file while doing build promotion using Jenkins?

We are using spring boot to develop Java backend services. application.properties file has the database configurations. We are deploying in 4 different environments (dev, test, UAT, and production). The properties files will be different for…
Ratikanta
  • 171
  • 1
  • 3
5
votes
1 answer

How do I write a buildspec.yml file?

I have Java Spring web service project on EC2 I tried writing a buildspec.yml for it. However the AWS CodeBuild service is not giving successful results. In the install phase itself, it tells apt-get and yum command not found. The problem is that…
retr0
  • 51
  • 1
  • 2
4
votes
2 answers

Jenkins configuration to support multi-config multi-branch CI

Here are my requirements and I go back-and-forth on how to achieve them: Must build Java spring-boot apps Artifacts must be released to artifactory repository Docker image to be built directly relating to the artifact…
4
votes
1 answer

Using Prometheus to monitor Spring Boot Applications in Kubernetes Cluster

I have spring boot powered microservices deployed in my local kubernetes cluster. The microservices are using micrometer and prometheus registry but due to our company policy the actuator is available on another port: 8080 for "business" http…
Mark Bramnik
  • 141
  • 1
  • 3
2
votes
1 answer

Spring boot prometheus - difference between system_cpu_usage and process_cpu_usage

Spring boot reports two statistics when Prometheus in place. # HELP system_cpu_usage The "recent cpu usage" for the whole system # TYPE system_cpu_usage gauge system_cpu_usage 0.029126213592233007 # HELP process_cpu_usage The…
Nitul
  • 243
  • 3
  • 7
2
votes
1 answer

Having some trouble getting service running with Docker and Terraform

I'm very new to DevOps but I'm trying to learn some of it a bit. I'm working with Terraform, trying to get a service to run on AWS using Fargate and Docker. I've successfully set up my ECR repositories, and I walked through this tutorial on…
Ertai87
  • 141
  • 4
1
vote
2 answers

How to start start applications one after another with a shell script?

I'd like to automatically start all of the following applications after the system startup. However, they need to be started in a specific order and when the previous application is done booting. The commands I'm now performing manually in the…
0
votes
0 answers

how to connect react to springboot in K8s? frontend not visible on Loadbalancer IP!! React+SpringBoot+AKS,

Both pod's logs are clear, so not have anything to show! i can share the YAML file, in that i have mention frontend.yml env: - name: REACT_APP_BACKEND_URL value: "http://backend-service:8080" from the backend.yml ex. apiVersion: v1 kind:…
0
votes
1 answer

Spring Boot Microservices cannot run on Kubernetes (java.net.SocketTimeoutException: connect timed out)

I have a problem about running Spring Boot Microservices on Kubernetes. After I installed minikube, I started it and open its dashboard. Here is the commands to open dashboards. 1 ) minikube start 2 ) minikube dashboard Next, I run all services…
qwercan
  • 101
  • 1
0
votes
1 answer

Continuous Deployment with jenkins

I am a beginner in DevOps. I created a continuous integration cycle using jenkins(docker image) and bitbucket. I used a simple spring boot hello-world project and after CI i got an executable Jar. I created a dockerfile and docker-compose for the…
0
votes
1 answer

Grafana Status Panel Plugin - genereate status box for each entry from a Prometheus querry

I am trying to create a dashboad out of process_uptime_seconds{namespace="$namespace"} querry from Spring Actuator. and Prometheus as datasource I am trying to build a single stat box menus that will show the status, but for each value from the…
-1
votes
1 answer

Deploying Dockerized App with Database to Production

I am developing a Spring Boot RestAPI which relies on MariaDB and now I am deploying it to production on the VPS server. I already dockerized the Spring application and created a Docker Compose file which also deploys the MariaDB database.…
-1
votes
1 answer

Minimum postgresql + spring + react hardware requirements

I have to deploy my postgresql + spring + react fullstack application on premise so cloud is out of the question. It's going to be used by around 15 users at a time. But I have to specify what hardware do I need to run my application. Just to be…
mixnix
  • 101
  • 2