Google Kubernetes Engine: Create GKE Cluster and Deploy Sample Website!!

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 117

  • @reddyajith9508
    @reddyajith9508 3 роки тому +1

    As expected ...simple and sweet ..
    Thanks for making our lives easy GK !!

  • @alexbardelli1
    @alexbardelli1 2 роки тому

    I would like to thank you for all your contents about GCP, you really cleared out my mind about which cloud Provider peruse as first.

  • @dharmeshpatel8778
    @dharmeshpatel8778 4 роки тому

    Thank you so much! I had been trying to deploy since two days and your video helped me finish my job interview assessment.

  • @ramroy5942
    @ramroy5942 2 роки тому

    Your lectures are very Insightfull Kartik....thankyou for enriching us

  • @svJayaram9
    @svJayaram9 4 роки тому +1

    Yes i am able to deploy the html in the cluster. Thank you for your video

  • @Bijuthtt
    @Bijuthtt 3 роки тому +1

    Awesome tutorial. explained in a nice way. Thank you sir

  • @gui250493
    @gui250493 4 роки тому +1

    Very well done.
    Thanks very much.
    You could also build the image out of a Dockerfile, but It was a clear tutorial. Thanks.
    Please, send more.

  • @santoshkudhale6799
    @santoshkudhale6799 4 роки тому +1

    Thanks for making this GKE series. Its helpful. 👍🏼

  • @chandrachoodraveendran6413
    @chandrachoodraveendran6413 2 роки тому

    It was an awesome video, great value in short time

  • @IRegan
    @IRegan Рік тому

    Thank you so much, I found it interesting and a perfect tutorial man🙏

  • @monishverma362
    @monishverma362 4 роки тому +1

    Nice tutorial. I was able to get my spring boot app up and running

  • @piyushdarji7926
    @piyushdarji7926 4 роки тому +1

    Wow ...so helpful sir

  • @shitsonfireyo
    @shitsonfireyo 2 роки тому

    exactly what I was looking for! thank you!

  • @shubhamvishwakarma9233
    @shubhamvishwakarma9233 3 роки тому

    Awesome work !!!

  • @mengyuli5711
    @mengyuli5711 3 роки тому

    Your video is awesome.

  • @gcpchannelforbegineers7080
    @gcpchannelforbegineers7080 4 роки тому

    Simply awesome sir. Here you explain with single node can you please do an video if you created more than 1 nodes so that we've better idea sir.

  • @Deevg-f9e
    @Deevg-f9e 11 місяців тому

    Very informative. I tried to create a GKE auto mode cluster with a shared VPC network(private IP range), and assigned necessary IAM roles to the GKE hosted service project with (compute.engineadmin and container.admin roles). While provisioning the gke auto pilot cluster, getting this exception as " Error: Error waiting for creating GKE cluster: All cluster resources were brought up, but: only 0 nodes out of 1 have registered; cluster may be unhealthy." Verified the logs for any key findings, but not helpful. Any thoughts/references on this error scenario to troubleshoot ??

  • @prakashannadurai2031
    @prakashannadurai2031 2 роки тому

    It's a superb bro and i tried this in my PC and it works. For this site i'm trying to add ingress rule, but stuck up. Is there any video for adding the same.

  • @zohebsiddiqui4975
    @zohebsiddiqui4975 4 роки тому +1

    Hi GK
    With the your great help i am following most of your tutorials and able to perform the labs success-fully .
    Getting good support from the FB group as well.
    This has created my interest in the cloud even more the way to teach is awesome but just one more thing if you give the back ground of what your are going to do in the lab would help even more to beginners.But still you are amazing.
    And finally i able to deploy my website in the kubernetes cluster.
    One more thing do we need to delete the cluster and docker repository to avoid charges please do let me know
    Thanks.

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Thank you, yes pls delete the cluster right away.

  • @verizon2851
    @verizon2851 4 роки тому +2

    Can we directly deploy an image from dockerhub registry to the GKE cluster?? And also, the video was very informative. Thanks!

  • @srinivasrevadi44
    @srinivasrevadi44 2 роки тому

    you saved my a**, thanks you,
    able to do hands on

  • @davidlinares7070
    @davidlinares7070 2 місяці тому

    Hi, great video! It really help me to understand how to deploy a simple web app using GKE. Can you please share the html code you use for this example? Thanks

  • @CSRFVICTIMEmperor
    @CSRFVICTIMEmperor 10 місяців тому

    Hi, can you create a video about the pricing and the best options to use for large-scale web applications?

  • @sidharthaworld
    @sidharthaworld 3 роки тому +2

    Thanks for sharing awesome video's . Can you share us the same using declarative way instead of adhoc way and what is Ephemeral Containers ?

  • @subesingh7285
    @subesingh7285 4 роки тому +1

    Thank you for such a good video!

  • @adamtechdays
    @adamtechdays 3 роки тому +2

    This was an excellent video, clarified a lot. Do we need to know the ins and outs of yml file creations for the Google Cloud Associate exam or is this method sufficient?

  • @scorpiovibration8172
    @scorpiovibration8172 3 роки тому

    Best explanation sir :)

  • @moosegoose1282
    @moosegoose1282 3 роки тому

    Hey bro, does GKE set up ssl for you? I see the https on the site. If I deploy a web api it will also have ssl right? I’m planning on deploying 3 separation containers

  • @RahulMahanty-t3r
    @RahulMahanty-t3r 2 місяці тому

    I have done it but atlast external ip is not woring. and whenever I'm giving the 'kubectl get pods' command, it's not showing the running, it's showing 'ImagePullBackOff'.

  • @mrjohnchen
    @mrjohnchen 3 роки тому

    Hi there. Thanks for the detailed demo. I faced a problem when I execute "docker cp index.html [container-id]:/usr/share/nginx/html/". The error message: lstat /home/.../index.html: no such file or directory. Which folder should I be in to execute this command?

    • @matheusmedrado4430
      @matheusmedrado4430 3 роки тому

      i think you should upload some custom html file or create a html file to do that.
      Because this command just copy a file to the container you need a index.html file to make the command work

  • @abhinavmajumdar7365
    @abhinavmajumdar7365 Рік тому

    From where to study to prepare for k8s certification?

  • @najeebshaik9064
    @najeebshaik9064 Рік тому

    Hi , My application runs when i run this command "docker run -p 8080:8080 [image name]"
    But after this command "kubectl expose deployment wb-server --type LoadBalancer --port 80 --target-port 80"
    The external ip address doesn't run anything.
    Can you please help me here. Thanks

  • @douglasharley2440
    @douglasharley2440 4 роки тому

    *great video* ! much thanks

  • @rajkumarmishra4409
    @rajkumarmishra4409 2 роки тому

    How can we run script in gke cluster through terraform..?? Please any answer

  • @danypremraj7121
    @danypremraj7121 4 роки тому

    One question
    U said nginx default port is 8080
    But while deploying in the kubernetes we have set both source and target port as 80. Why?????

  • @AllinOne-wn6wt
    @AllinOne-wn6wt 4 роки тому

    we will deploy a docker image /container image(cad/web:version1) not a container in cluster am I correct.Then pod doesn't contain container. we can't make a ssh to the container image right. how do we make multiple container images in a single pod. Can we pull images from container registry and modify the images

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Its container inside a pod. You can ssh to that. stackoverflow.com/questions/38485771/how-to-ssh-to-docker-container-in-kubernetes-cluster this link should help you.

  • @nileshmunnur573
    @nileshmunnur573 3 роки тому

    I am building a containerized web application that has a .net frontend container and a REST Api backend container.
    I'd like to know which of these options is the best for our needs:
    · Deploy everything in the same cluster and node pool and let kubernetes manage and scale them as needed
    · Deploy everything in the same cluster and 2 different node pools with different machine types and node limits for frontend and backend
    · Deploy frontend and backend in different clusters all together with a single node pool each

  • @janellepablo3922
    @janellepablo3922 4 роки тому

    thank you. this is very helpful.

  • @leandrojpg
    @leandrojpg 2 роки тому

    if you can make a video with cloudbuild with deploy in gke and using tag automatically by cloudbuildd.

  • @subesingh7285
    @subesingh7285 4 роки тому +1

    Hi GK, When you will upload new video in this series?

  • @santroproin6969
    @santroproin6969 4 роки тому +1

    Sir can you provide your files you have used in this video . in the description they are not there. OR repo link .

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      Sure Sandeep. Will do.

    • @santroproin6969
      @santroproin6969 4 роки тому

      @@CloudAdvocate Sir if possible please upload in next few hours or tomorrow. It is important for me

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      @@santroproin6969 I was looking at my description. I have copied everything that I have it on my file. All the commands. Which script are you talking about?

    • @santroproin6969
      @santroproin6969 4 роки тому

      @@CloudAdvocate the index.html files

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      @@santroproin6969 Please get it from github.com/cloudadvocate/google-cloud/blob/master/gke/index.html

  • @herbertpurpora9452
    @herbertpurpora9452 3 роки тому

    hello, how can we access the files inside a bucket? I'm a newbie in gcp

  • @aykageneration
    @aykageneration 4 роки тому

    hello! is the same steps for deploy multiplayer android game (dedicated game server)?

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Not sure what you mean by that :)

    • @aykageneration
      @aykageneration 4 роки тому

      @@CloudAdvocate : i create multiplayer android game and i want host the dedicated game server so for doing that i need to create docker image then container after that with GKE (google kubernetes engine) + Agones create the dedicated game server...for me the problem how create docker image for my android game you undrestand me ? thank you

    • @aykageneration
      @aykageneration 4 роки тому

      in your video you working for deploy sample of website so is the same work for deploy multiplayer game server? i hope you can see what i mean :)

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      Yes, if you are gonna run it as a container..you can try the same steps.

  • @ashshah8995
    @ashshah8995 3 роки тому

    how would you then attach a database too it?

  • @prasanthimalepati8811
    @prasanthimalepati8811 4 роки тому

    I am getting Connection refused error while trying to access the external IP.please help me on this.

  • @RaghavSood19
    @RaghavSood19 4 роки тому

    Helpful thanks

  • @pavangrandhi
    @pavangrandhi 8 місяців тому

    Thank you 🙏

  • @arunrajj17cs94
    @arunrajj17cs94 4 роки тому

    The first Command didn't run.(docker run -p 8080:80 nginx:latest). Please help
    docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
    See 'docker run --help'.

  • @maamukutty
    @maamukutty 4 роки тому

    Hey bro.. Thanks for the video.. I haven't gone deep into kubernetes yet..but to go for a starter, Can you please explain the difference between app engine vs kubernetes..

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      Good article on that Hari “App Engine Flex || Kubernetes Engine - ?” by Daz Wilkin link.medium.com/WTfhWW4wm8 :) Too lengthy to explain in comments.

    • @maamukutty
      @maamukutty 4 роки тому

      @@CloudAdvocate Oh.. Thanks a lot for sharing this.. If u think its one good content for u to make a video on it.It's would be my pleasure 😜

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      @@maamukutty Sure good idea!!

  • @thejaswinid9992
    @thejaswinid9992 4 роки тому

    Hi Gk.i am getting error.Followed your steps but unable to view cloud advocate page.I can view only nginx.

    • @thejaswinid9992
      @thejaswinid9992 4 роки тому

      34.69.114.108:31562/

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Then maybe you didn't copy cloud advocate index.html. so you are left with default page.

  • @GigiMathewTX
    @GigiMathewTX 4 роки тому

    Is it possible to do a video on adding Wordpress docker container with Kubernetes?

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      There is step by step guide here cloud.google.com/kubernetes-engine/docs/tutorials/persistent-disk

  • @svJayaram9
    @svJayaram9 4 роки тому

    Hi GK, how are you.. really your video's are so clear and very understandable. I think you can create one GCP course and post it on Udemy. So that we can buy that complete course for ACE. What you say? And one more question is, is there any possibility to share your mail id?

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Hi Sankar, I am doing well thank you. Yea I wanted to do. Hopefully soon. My email is multicloudguy@gmail.com

  • @Sunil.khambadkar
    @Sunil.khambadkar 4 роки тому

    Hello Sir, i am SAP security guy so everything is new for me and i started learning ACE from Udemy , but when i reached to Kubernetes i was stacked. but your video GKE part 1 helps me alot for understand the kubernetes. one question may be it's stupid one but how to create this file nginx:latest, shall i can also create my separate file?

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      Thats a command to pull the latest version of nginx image from the docker registry.

    • @Sunil.khambadkar
      @Sunil.khambadkar 4 роки тому

      Okies got it thanks

  • @c00per_
    @c00per_ Рік тому

    I m from south India Which region should i select. [Im on free tier
    ]

    • @c00per_
      @c00per_ Рік тому

      Bro please reply

  • @praveshtiwari6449
    @praveshtiwari6449 4 роки тому

    Wonderful video, Good Job (y) I am trying to deploy a software using kubernetes. everything went well ...but when i am trying to access it . it's showing "default backend - 404" in browser.

  • @biswajitdash9343
    @biswajitdash9343 3 роки тому

    I am trying to build and deploy an php application on gcp using docker and gke...can anyone help me please..

  • @Nepali_old_bhajans
    @Nepali_old_bhajans 4 роки тому

    When I open a cloud shell I get something like this =: @cloudshell:~ (resonant-fiber-292023)
    but in your case, you got into the files folder. Please can you explain that part? thank you.

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      I must have gone into that folder :)

  • @ngnaven
    @ngnaven 4 роки тому

    Hi, I followed the same steps as above. But it is still showing some error. I think there is some problem in my Dockerfile.
    I get an error in the preview port step.
    Can you share your Dockerfile ? Also below are the contents of my Dockerfile. Please have a look.
    FROM nginx:alpine
    RUN rm -rf /usr/share/nginx/html
    COPY . /usr/share/nginx/html
    EXPOSE 8080
    CMD ["nginx", "-g", "daemon off;"]

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Hi Naveen, I don't think I have built from a dockerfile. I did it all manual to show more commands.

  • @Nepali_old_bhajans
    @Nepali_old_bhajans 4 роки тому

    Sir, we need more videos on kubernetes.

  • @bbhajesh
    @bbhajesh 4 роки тому

    Hey Thanks, Nice one. Do you have any tutorial about how to run GKE from a message from pub/sub subscriber?

  • @68naveeng
    @68naveeng 4 роки тому

    could you please add video on CICD Jenkins, spinnaker, ansible, terraform attache with Kubernetes engine.

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Thanks for suggestions Naveen. Are you suggesting separate videos on each services or using them with kubernetes?

    • @68naveeng
      @68naveeng 4 роки тому +1

      Separate or single how we to integrate kubernate with Jenkins , ansible and terraform

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      @@68naveeng Thanks Naveen, will do that.

  • @yogeshasalkar2507
    @yogeshasalkar2507 3 роки тому

    GKE is IaaS, PaaS or SaaS?

  • @laukikkshirsagar4792
    @laukikkshirsagar4792 4 роки тому

    Hey Hi GK,. Thank you for this video.
    I am new to this field and want to know how can I deploy .py or .sh file or any standalone App other than .html file... I mean what if I want to deploy standalone App instead of website... Do I need to containerize my app code every time or is there any other way other way.
    I may sound weired but I have lot of confusion on this.. please help

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому

      Yes, you have to build an image everytime.

    • @laukikkshirsagar4792
      @laukikkshirsagar4792 4 роки тому

      Ok thank you,, but this deployment is on kubernetes cluster and that's why we have to containerize the application everytime. Can we do it without containerizing on a normal VM, instead of cluster

    • @CloudAdvocate
      @CloudAdvocate  4 роки тому +1

      If you want to run ur app inside a container you have to follow the same with or without k8's. If you wanna run container in a vm..you can install docker and do it...still need an image.

    • @laukikkshirsagar4792
      @laukikkshirsagar4792 4 роки тому

      @@CloudAdvocate thank you

  • @tcarreira
    @tcarreira 3 роки тому

    I understand why you did it, but please, avoid any `docker commit` on any tutorial or teaching content.
    There are many newcomers that think `docker commit` is acceptable. It is not (and I'm sure you agree, but the newcomers cannot distinguish good from bad)
    Otherwise, thanks for your content