snowdrop / health-check-example Goto Github PK
View Code? Open in Web Editor NEWQuickstart to demonstrate OpenShift health probes working with Spring Boot Actuator
License: Apache License 2.0
Quickstart to demonstrate OpenShift health probes working with Spring Boot Actuator
License: Apache License 2.0
The following messages
./run_tests_with_helm_in_k8s.sh: line 6: oc: command not found
...
scripts/waitFor.sh: line 12: oc: command not found
are reported when we execute the command ./run_tests_with_helm_in_k8s.sh kind-registry:5000/health-check health-check
As the goal is to execute the command against a kubernetes cluster, kubectl client should be used instead of oc !
Only for branch sb-2.4.x
IMO, in general it would be great if all the samples and not only this particular spring-boot-health-check-booster
quickstart would have spring boot devtools dependency [1]. This would allow features like automatic restarts [2] being enabled OOTB. Some notes from the official docs:
Developer tools are automatically disabled when running a fully packaged application. If your application is launched using java -jar or if it’s started using a special classloader, then it is considered a “production application”. Flagging the dependency as optional is a best practice that prevents devtools from being transitively applied to other modules using your project. Gradle does not support optional dependencies out-of-the-box so you may want to have a look to the propdeps-plugin in the meantime.
[1] https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html
[2] https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html#using-boot-devtools-restart
Only in branch sb-2.4.x
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.