Deploying Java Applications with Docker and Kubernetes | DevOps Project

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025
  • НаукаНаука

Комментарии • 171

  • @ramsp35
    @ramsp35 10 месяцев назад +9

    Such a good delivery of the concepts. Very crisp explanation, direct to point. No extra blah blah added to the subject. Can learn deployment in 30 mins. This is exactly what I was looking for.

  • @surekhach1422
    @surekhach1422 Год назад +30

    It's like a 3 month course in 30 mins . Thank you 🙏

    • @Thetips4you
      @Thetips4you  Год назад +1

      You are welcome. Happy to hear your kind feedback.

    • @vikasgurao7579
      @vikasgurao7579 Год назад

      😊😊😅😮 Hyun; ppllp😊😊

  • @mkannanmsc
    @mkannanmsc 2 года назад +16

    💯Thanks!
    The way you have explained and demonstrated is top notch. Towards the goal and coverage was very good.!! Wonderful Job...!!
    I hope this will be very much useful for Operations Team and the Engineers too.!!! Excellent.👍

    • @Thetips4you
      @Thetips4you  2 года назад +2

      Thanks a lot man for your feedback.

  • @sreenivasp6650
    @sreenivasp6650 2 года назад +6

    Excellent all the doubts haunting me for so many says have been cleared in a single video
    Kudos to your explanation

  • @anuragpanwar912
    @anuragpanwar912 Год назад +6

    I hope this message finds you in good spirits. I wanted to take a moment to express my heartfelt appreciation for your this video and outstanding teaching skills. Your dedication and passion for what you do shine through in every aspect of your work, and it truly inspires those around you.
    Your video was not only visually stunning but also filled with valuable content that I found incredibly helpful. Your ability to convey complex concepts in a clear and engaging manner is a true gift, and it has made a significant impact on my understanding and learning experience.
    Your commitment to excellence and your genuine care for your students are evident in every lesson you deliver. You have a unique way of making learning enjoyable, and your enthusiasm is contagious.
    I want to thank you for going above and beyond to create such an enriching and inspiring learning environment. Your dedication to your craft and your students is truly commendable, and it is evident that you put your heart and soul into everything you do.
    Once again, thank you for sharing your expertise and knowledge with the world through your beautiful video and teaching. You are making a positive difference in the lives of so many, and your impact is immeasurable.❤❤👍👍

    • @Thetips4you
      @Thetips4you  Год назад

      ❤❤ Thank you so much Anurag. You made my day and I'm really happy to see this feedback from you.

  • @shaffishaik3852
    @shaffishaik3852 Год назад +2

    Very nice project understood everything very easily...
    The explaination you have given is amazing

  • @nitinkoli67
    @nitinkoli67 10 месяцев назад +2

    Best explanation.. Thanks a lot for your efforts.. 🙏🏻🙏🏻🙏🏻

    • @Thetips4you
      @Thetips4you  10 месяцев назад

      Thank you so much for your feedback.

  • @vinayyadav3447
    @vinayyadav3447 Год назад +1

    For beginners like me, Its a neat and clearly explained. Thanks

  • @ShivKumar-ur9le
    @ShivKumar-ur9le 10 месяцев назад +1

    Thank you so much for easy and detailed explanation.

  • @merlingrace6850
    @merlingrace6850 5 месяцев назад

    Thank you for such wonderful tutorial!
    All my doubts was cleared by your channel. Such a great help🙌

    • @Thetips4you
      @Thetips4you  5 месяцев назад

      Thank you so much. Happy to hear your words.

  • @Ss-ju5bh
    @Ss-ju5bh 4 месяца назад +1

    awesome!! Short and contextual!!!

  • @sabarisun8184
    @sabarisun8184 6 месяцев назад +1

    Loved the content and the way it was presented. This video helped me a lot to understand the things. Thank you!!! Sir.

    • @Thetips4you
      @Thetips4you  6 месяцев назад

      Thank you. Happy to hear your kind words.

  • @omkarraut60
    @omkarraut60 8 месяцев назад +1

    You cleared all doughts in one videos

  • @endingofworldmovies798
    @endingofworldmovies798 Год назад +1

    Thanks !! , neat and clear explanation
    without and basic knowledge nor previous experience i was able to understand fully.

  • @Duracell97
    @Duracell97 11 месяцев назад

    Wow!!! Great content well explained

  • @kaushikmitra1982
    @kaushikmitra1982 Год назад

    Superb Explanation !!! Thank you for your great efforts !

  • @pratikpradhan236
    @pratikpradhan236 Год назад +1

    Really so many doubts bas been cleared ❤

  • @rushikeswararaopolaki3602
    @rushikeswararaopolaki3602 Год назад +1

    Great content. Thank you very much

  • @alvinf1209
    @alvinf1209 2 года назад +1

    Wonderful presentation! Thank you!

  • @bhavatharinigowda2411
    @bhavatharinigowda2411 Год назад +1

    Thank you for the awesome video

  • @harry09_08
    @harry09_08 7 месяцев назад +1

    Nice explanation!!!

  • @ayencoscolfield3312
    @ayencoscolfield3312 2 года назад +2

    Good stuffs always, thanks

  • @shambhunathsahani6505
    @shambhunathsahani6505 10 месяцев назад +1

    Great explanation ❤

  • @thecloudterminal
    @thecloudterminal Год назад +1

    Thank you for such an amazing video!

  • @prakashbohara718
    @prakashbohara718 Год назад +1

    Thanks for this project !!!!!!!!!!!!!!!

  • @zaki-rb6yo
    @zaki-rb6yo Год назад

    Thanks bro, amazing. You have answered all of my questions.

  • @starfoxedits1909
    @starfoxedits1909 Год назад +1

    Wow, really helpful ❤

  • @sruthireddy1979
    @sruthireddy1979 2 года назад +1

    Very good explanation. thank you

  • @Sanny-z7n
    @Sanny-z7n Год назад

    ThankYou Thetips4you for this video. Very helpful.

  • @biglittlethings5548
    @biglittlethings5548 Год назад +1

    Great tutorial. thank you

  • @Vamsi12-n7y
    @Vamsi12-n7y 6 месяцев назад +1

    🤩🤩Excellent Bro🤩🤩

  • @bhargavkarnam9015
    @bhargavkarnam9015 6 месяцев назад

    Great Content!! Thank you

  • @afiyamulla7213
    @afiyamulla7213 Год назад +1

    thanks a tonnnn ........ was very helpful

    • @Thetips4you
      @Thetips4you  Год назад

      Welcome. Thank for your feedback.

  • @napoleonponaparte8996
    @napoleonponaparte8996 2 года назад +2

    Nice content. But I hope you show a series about jenkins groovy. Thank you.

    • @Thetips4you
      @Thetips4you  2 года назад

      Thank you. Considering it for future videos.

  • @JohnKwablaAcolatse
    @JohnKwablaAcolatse 5 месяцев назад

    very detailed explanation

  • @devops-journey01
    @devops-journey01 Год назад +1

    Awesome ❤❤❤❤

  • @pravinkumar8491
    @pravinkumar8491 Год назад +1

    Awesome thank you

  • @shaikaslam55
    @shaikaslam55 2 года назад +2

    Hi, Thanks a lot for the tutorial.
    But I'm bit confused at one point, can you please explain that why we need to add 'products' and 'stocks' in order to view their respective output pages at the end of both of their URL's for stock page and product page (because we haven't added anything similar to this while we were accessing the 'shopfront' page). Kindly let me know if missing anything.
    Would really appreciate if my query is answered.

    • @Thetips4you
      @Thetips4you  2 года назад

      It depends upon the routing or components you have defined in your webpage.

  • @mohammadshoaibckt
    @mohammadshoaibckt 2 года назад +1

    Nice explanation

  • @vikram1ful
    @vikram1ful 4 месяца назад +1

    good one pls help to some real time projects

  • @sumedhtayade821
    @sumedhtayade821 Год назад +1

    Nice sir

  • @206_dindayalpatra3
    @206_dindayalpatra3 7 месяцев назад +1

    Thank you 😊

  • @azeemmd3748
    @azeemmd3748 2 года назад +2

    good informative Sir
    .Can we expect with jenkins,kubernetes(kubeadm),Helm Next video?

    • @Thetips4you
      @Thetips4you  2 года назад +2

      Yes. This is the basic, next should be automated way.

  • @AhmetBurakAkay
    @AhmetBurakAkay Год назад +1

    Thank you so much.

  • @Arun-mh7br
    @Arun-mh7br 8 месяцев назад

    Great !

  • @ganeshgoudru8444
    @ganeshgoudru8444 Год назад

    Thanks for the video. Just one small question why have you added -Djava.security.egd=file:/dev/./urandom in Dockerfile?

  • @AkshayPawar-vj4zh
    @AkshayPawar-vj4zh 7 месяцев назад +1

    Please make video for deploying application on kubernets by using Jenkins pipeline.

    • @Thetips4you
      @Thetips4you  7 месяцев назад

      Sure. I will check on this. Thank you for your suggestion.

  • @tanayabanerjee2380
    @tanayabanerjee2380 2 года назад +1

    Hi... I'm not able to access the service thru url... Do i need to allow the outbound or inbound ports for this? I did this in Azure... Pls help

    • @Thetips4you
      @Thetips4you  2 года назад

      If it is through Azure you will have to create the rule for ports. Also the service you can put as loadbalancing.

    • @tanayabanerjee2380
      @tanayabanerjee2380 2 года назад

      @@Thetips4you both outbound and inbound rule?

  • @SaifulIslam-my8lh
    @SaifulIslam-my8lh Год назад +1

    Great

  • @asifmohammed523
    @asifmohammed523 2 года назад +3

    Hi brother, when you create a CICD project using Jenkins then please show how we can deploy the application on dev and prod environment's

  • @SurajM-qs3wx
    @SurajM-qs3wx Год назад +1

    Maven is showing Build Failure, how to troubleshoot?

  • @nhuongtrieuhoang6611
    @nhuongtrieuhoang6611 2 года назад +1

    Thanks. Wating for project diango,postgre build github,jenkins and kubernetes

    • @Thetips4you
      @Thetips4you  2 года назад

      You are welcome. Django was not in my plan, will look in to this.

  • @rohanekar
    @rohanekar Год назад +1

    Can you posible to create one video to create a Mysql microservice in Kubernetes and access this SQL using SQL workbench

  • @shaffishaik3852
    @shaffishaik3852 Год назад

    I have doubt can i use jenkins instead of maven for build..??

    • @Thetips4you
      @Thetips4you  Год назад

      I didn't understand what you meant by this?

    • @shaffishaik3852
      @shaffishaik3852 Год назад

      @@Thetips4you here in this video you used maven tool for converting source into executable formate, wht i m asking is can I use Jenkins instead of maven for the same

  • @naren06938
    @naren06938 2 года назад +1

    Sir...nicely explained, but where u have did all this? In powershell or cmd prompt or MacOS or AWS Cloud EC2 AMI Linux instance or ubuntu? and how can you configure kubectl setup for bash, not shown. Will it directly run Kubernetes commands?

    • @Thetips4you
      @Thetips4you  2 года назад

      Thank you. You need to check my kubernetes playlist.

  • @corporatechic2742
    @corporatechic2742 Год назад

    Can i use same steps to deploy Spring MVC Application

  • @likekite5706
    @likekite5706 Год назад

    Thanks for the awesome video,
    I have a request from you, can you kindly tell us how to deploy java application or any other application into multiple nodes kubernetes cluster not in the minikube or make a video about it...

    • @Thetips4you
      @Thetips4you  Год назад

      Check out my other videos on Kubernetes.

    • @likekite5706
      @likekite5706 Год назад

      @@Thetips4you I have checked all videos and there wasn't any video for deployment with mutl-node cluster, it was all for deploying with minikube, you have mentioned deploying with multi-node cluster in the video but you didn't, in the end you've done it with the minikube...

  • @jericholiao8134
    @jericholiao8134 Год назад +1

    Thanks bro

    • @Thetips4you
      @Thetips4you  Год назад

      You are welcome and thank you bro for your support.

  • @Ochecodes
    @Ochecodes Год назад

    Thank you so much

  • @vinaystricker9930
    @vinaystricker9930 Год назад

    After you pushed your docker image to repository.. you did add the imagepullsecret in deployment yaml file. But still it worked. How is that

    • @Thetips4you
      @Thetips4you  Год назад

      In the deployment file you are going to map the respective image which you have pushed. That is how it works.

  • @KrishnaRac
    @KrishnaRac Год назад

    How do you secure your k8s cluster, I usually get this question in Interview

    • @Thetips4you
      @Thetips4you  Год назад +1

      You have to secure the authentication, secrets etc.

  • @Abhaygupta-tl7br
    @Abhaygupta-tl7br Год назад

    Evening working fine but the URL gets from minikube service not able to access form browser..

    • @Thetips4you
      @Thetips4you  Год назад

      Where are you running your minikube?

    • @Abhaygupta-tl7br
      @Abhaygupta-tl7br Год назад

      @@Thetips4you thanks for the reply I am running minikube on amazon linux.. If I curl with URL which I get from minikube service ... I am getting the response... But if I use this URL to browser I am not getting any response.. If possible please suggest

  • @harigoud6162
    @harigoud6162 2 года назад +1

    Does live data ingestion happen?

    • @Thetips4you
      @Thetips4you  2 года назад

      What do you mean by live data ingestion in here?

  • @wahibaouledmassoud3349
    @wahibaouledmassoud3349 2 года назад

    thanks for the presentation but i have an issue with mvn clean (failure to build ) even that i install all the packages and make sure of versions hope that you reply ;)

    • @Thetips4you
      @Thetips4you  2 года назад

      What is the exact message of build failure?

    • @vishalsolanki2719
      @vishalsolanki2719 Год назад

      @@Thetips4you Tests in error:
      ShopfrontApplicationTests.contextLoads » IllegalState Failed to load Applicati...

    • @vishalsolanki2719
      @vishalsolanki2719 Год назад

      Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @b6ba78c

  • @c00per_
    @c00per_ 11 месяцев назад

    You should have explained how to write that dockerfile

    • @Thetips4you
      @Thetips4you  11 месяцев назад

      It's already explained in other videos

  • @fullgazz
    @fullgazz Год назад

    what about call maven as container?

  • @ezeenne
    @ezeenne 2 года назад

    I followed your blueprint but couldnt access the services via the url

    • @Thetips4you
      @Thetips4you  2 года назад

      Check the service is deployed correct and also the port mapping. Node port cluster ip based on your set up

  • @ajitswain8219
    @ajitswain8219 Год назад

    Whyy your url is showing not secure

  • @dilshodinomov5993
    @dilshodinomov5993 2 года назад

    another web service for health check, unfortunately I could not find kubernetes probes examples for java console applications.

    • @Thetips4you
      @Thetips4you  2 года назад

      Do you mean how to implement liveness and readiness probe?

    • @dilshodinomov5993
      @dilshodinomov5993 2 года назад

      @@Thetips4you yes, how to implement kubernetes probes for pure java console application without spring framework.

  • @ezeenne
    @ezeenne 2 года назад

    you accessed the services from outside the cluster directly and I have been unable to achieve same feat.

    • @Thetips4you
      @Thetips4you  2 года назад

      Are you using Kubernetes cluster locally or through cloud?

  • @satwikjoel
    @satwikjoel 2 года назад

    Error from server (BadRequest): error when creating "stockmanager-service.yaml": Deployment in version "v1" cannot be handled as a Deployment: strict decoding error: unknown field "spec.spec"
    I got this error brother. Please help I changed API version & image as well also, but unable to resolve

    • @pastak2149
      @pastak2149 Год назад

      ---
      apiVersion: v1
      kind: Service
      metadata:
      name: stockmanager
      labels:
      app: stockmanager
      spec:
      type: NodePort
      selector:
      app: stockmanager
      ports:
      - protocol: TCP
      port: 8030
      name: http
      ---
      apiVersion: apps/v1
      kind: Deployment
      metadata:
      name: stockmanager
      spec:
      selector:
      matchLabels:
      app: stockmanager
      replicas: 1
      template:
      metadata:
      labels:
      app: stockmanager
      spec:
      containers:
      - name: stockmanager
      image: thetips4you/stockmanager:latest
      ports:
      - containerPort: 8030
      livenessProbe:
      httpGet:
      path: /health
      port: 8030
      initialDelaySeconds: 30
      timeoutSeconds: 1
      change like this.

    • @mpattnaik4705
      @mpattnaik4705 11 месяцев назад

      remove one spec

  • @MrZbest1966
    @MrZbest1966 2 года назад +1

    Thanks

  • @aloochan.5-9
    @aloochan.5-9 Год назад +1

    cool

  • @sravankumarreddy4342
    @sravankumarreddy4342 Год назад

    Getting error IllegalState Failed to load ApplicaticatonContext

  • @ajitkalshetti6527
    @ajitkalshetti6527 Год назад +1

    Hi sir,
    while running mvn clean install I am getting error:
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5.572 s
    [INFO] Finished at: 2023-07-18T19:42:20+05:30
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project shopfront:
    There are test failures.
    [ERROR]
    [ERROR] Please refer to C:\Users\HP\kubernets\K8-Java\docker-Java-kubernetes-project\shopfront\target\surefire-reports for the individual test results.
    i have installed maven & jdk still getting error could you please check this
    thanks in advance

    • @ajitkalshetti6527
      @ajitkalshetti6527 Год назад +1

      got it it's resolved adding this plugin in pom.xml
      org.apache.maven.plugins
      maven-surefire-plugin
      2.19.1

      true

    • @Thetips4you
      @Thetips4you  Год назад

      Great to know. Thanks

    • @SurajM-qs3wx
      @SurajM-qs3wx Год назад

      @@ajitkalshetti6527 bro cN YOU please guide me ,how to add this plugin to pom file.....i have been tryind hard but no succces...

  • @raviteja-bc4dc
    @raviteja-bc4dc 2 года назад

    sir , im getting build failure while running the mvn clean install command in terminal pls help me to resove
    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project shopfront: There are test failures.
    [ERROR]
    [ERROR] Please refer to /root/microservice-eks/docker-Java-kubernetes-project/shopfront/target/surefire-reports for the individual test results.

    • @Thetips4you
      @Thetips4you  2 года назад

      Check the version of surefire-plugin in pom.xml. If it is not listed, add the config for it in to the pom.xml

  • @purvakmistry2128
    @purvakmistry2128 2 года назад

    Just wondering when you first time do docker "build -t tips4you/shopfront:latest ." in which tips4you is mandatory in that command, in my opinion, you can directly give "shopfront ." as well, isn't it?

    • @Thetips4you
      @Thetips4you  2 года назад

      If you want to push the image to your dockerhub, you need to give the account name. If you just want to have local image you can just give the image name alone.

  • @rmp5640
    @rmp5640 9 месяцев назад

    Didn't worked out on my end, I could do mvn clean install, tried tons of things and debugged with help of GPT, but still, didn't worked out!

    • @Thetips4you
      @Thetips4you  9 месяцев назад

      What do you mean by not worked? Any error and at what stage?