Deploy Microservice(Spring Boot application) to OpenShift Cloud
This video explain you what is openshift and how to Deploy Spring Boot application to OpenShift cloud
GitHub:
https://github.com/Java-Techie-jt/spring-example
Blogs:
https://javagyanmantra.wixsite.com/website
Facebook Group:
https://www.facebook.com/groups/919464521471923
Like & Subscribe
by Java Techie
redhat openstack
Thank you so much for excellent knowledge
Hi Basant,
I have an Ecommerce project with multiple microservices like
7 microservices
1 API Gateway
1 Eureka Server
Angular App as frontend
Each microservices has its own databases like MySQL.
Can I use Openshift free tier to deploy my Ecommerce app or there are some limitation of Openshift.
what if we want to make change, is it automatically detect changes and rebuild the project
Awesome Sir!! nice video. I like the contents and presentation.
Hi Dear,
I have a quick query here, after deployment If I want to change the code and just commit it, will the openshift will take the latest code from the repository and provide the fresh build to us.
it's quick and easy
Do we need to upload only src and pom ?? No test files and resource and front end code should be moved to github
Its an excellent session to understand OpenShift environment. Thank you
Thanks for the wonderful video. May I know which cloud does OpenShift use internally?
Isme dockerfile to Dali nhi
Hi, what is your recommendation for business process management in microservices architecture? Do you have any videos/material around that?
Hi basant
Can we use openshift to deploy our microservice into any other cloud provided like AWS ?
Nice video
scaling should be done automatically right? why we need to add pods manually
Very nice video! I successfully deploy to openshift, the home message "Welcome to java techie" is showing, but when i try the /User it's showing Application is not available. Is there any suggestion? Thank you!
Nice vedio. Please try to deploy spring boot MySQL app
Super Bro. Thanks a lot.
Can you please make a video of deploying springboot application to Openshift using CICD Jenkins pipeline
Hi Basant thanks a lot for your videos i am learning a lot. i have question how we can change host URL and keep ours custom one ? thanks again 🙂
now there is no web console option in openshift….could you plz make video on openshift again??
Can you explain calling 2 microservices each other in open-shift? If you have that would be great !!! Thanks
bahut badhiya explain karichanti
Subscribed nice explaination can please tell me how to add db to it
I am trying to use Openshift 3.11 , it is not having OpenJdk 8 . Instead it is having Wildfly. Shall I use it ?
I am getting the below error . I am using STS Tool
Version: 3.9.4.RELEASE
Build Id: 201804120921
Platform: Eclipse Oxygen.3a (4.7.3a)
JDK : jdk1.8.0_181
Please help me What I missing??
Cloning "https://github.com/sunitasarkar-11/spring-example-s" …
Commit: 0c5fcdb8c4df2bda649c2014dfe68d45ecf4ec50 (Add files via upload)
Author: sunitasarkar-11 <58844360+sunitasarkar-11@users.noreply.github.com>
Date: Sun Dec 22 10:22:18 2019 +0530
Caching blobs under "/var/cache/blobs".
Getting image source signatures
Copying blob sha256:305d73a95c8fece2b53a34e040df1c97eb6b7f7cc4e0a7933465f0b7325e3d72
Copying blob sha256:00f17e0b37b0515380a4aece3cb72086c0356fc780ef4526f75476bea36a2c8b
Copying blob sha256:6b6fe63f06045c5597f7f548d6d4a7f27873232f1df1329a8777854db2d53877
Copying config sha256:cac978dfd8347708b1aeb7a2e4b0200b78e6838a6920fabfbf2f26a608c58d6d
Writing manifest to image destination
Storing signatures
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/java@sha256:caba895933209aa9a4f3121f9ec8e5e8013398ab4f72bd3ff255227aad8d2c3e
STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/java@sha256:caba895933209aa9a4f3121f9ec8e5e8013398ab4f72bd3ff255227aad8d2c3e
STEP 2: LABEL "io.openshift.build.source-context-dir"="/" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/java@sha256:caba895933209aa9a4f3121f9ec8e5e8013398ab4f72bd3ff255227aad8d2c3e" "io.openshift.build.commit.author"="sunitasarkar-11 <58844360+sunitasarkar-11@users.noreply.github.com>" "io.openshift.build.commit.date"="Sun Dec 22 10:22:18 2019 +0530" "io.openshift.build.commit.id"="0c5fcdb8c4df2bda649c2014dfe68d45ecf4ec50" "io.openshift.build.commit.ref"="master" "io.openshift.build.commit.message"="Add files via upload" "io.openshift.build.source-location"="https://github.com/sunitasarkar-11/spring-example-s"
STEP 3: ENV OPENSHIFT_BUILD_NAME="spring-example-s-1" OPENSHIFT_BUILD_NAMESPACE="spring-example" OPENSHIFT_BUILD_SOURCE="https://github.com/sunitasarkar-11/spring-example-s" OPENSHIFT_BUILD_COMMIT="0c5fcdb8c4df2bda649c2014dfe68d45ecf4ec50"
STEP 4: USER root
STEP 5: COPY upload/src /tmp/src
STEP 6: RUN chown -R 185:0 /tmp/src
time="2019-12-22T05:00:05Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah273429903/mnt/rootfs": error checking if "/tmp/buildah273429903/mnt/rootfs/sys/fs/cgroup/devices" is mounted: no such file or directory"
time="2019-12-22T05:00:05Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah273429903/mnt/rootfs": error checking if "/tmp/buildah273429903/mnt/rootfs/sys/fs/cgroup/devices" is mounted: no such file or directory"
STEP 7: USER 185
STEP 8: RUN /usr/local/s2i/assemble
INFO Performing Maven build in /tmp/src
INFO Using MAVEN_OPTS -Xms64m -Xmx256m -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:ParallelGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+ExitOnOutOfMemoryError
I have a question. How does Redhat (or any other company for that matter) make money from Openshift?
how to communicate between two services?
it is very useful. thanks lot
How to read property from ConfigMap in our application…Very easy and simply explain.
Good example regards
Hi, my sample wildfly application url is pointing to wildfly home page. Not getting my content on webpage. Can you please advice me.
the process of jsp+msql will be same
can you give an example how to run springboot with mysql in openshift