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.
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?
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 ??
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.
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
Wonderful video! Thank You. I ran docker with nginx . Able to view default nginx webpage. But when I ran tried "docker cp index.html [container-id]:/usr/share/nginx/html/" , it gives the following error "lstat /home/USER/index.html: no such file or directory. Also I don't see index.html on my home directory as well as no nginx folder under /usr/share. Any idea what is an issue ?
@@CloudAdvocate yeah , that's what I did . created index.html file using vi editor and copied the content of html file. It just displayed the blank page
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
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?
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
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?
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.
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
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..
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
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.
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?
@@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?
@@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
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.
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'.
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;"]
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
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
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.
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
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.
Your lectures are very Insightfull Kartik....thankyou for enriching us
As expected ...simple and sweet ..
Thanks for making our lives easy GK !!
Awesome tutorial. explained in a nice way. Thank you sir
You are most welcome
It was an awesome video, great value in short time
Thank you so much! I had been trying to deploy since two days and your video helped me finish my job interview assessment.
Glad it helped!
Wow ...so helpful sir
Glad to hear that
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.
Thank you!!
Hi, can you create a video about the pricing and the best options to use for large-scale web applications?
exactly what I was looking for! thank you!
Thank you so much, I found it interesting and a perfect tutorial man🙏
Yes i am able to deploy the html in the cluster. Thank you for your video
Thanks for making this GKE series. Its helpful. 👍🏼
Glad it was helpful!
Nice tutorial. I was able to get my spring boot app up and running
Great 👍
Awesome work !!!
Your video is awesome.
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.
Thanks for sharing awesome video's . Can you share us the same using declarative way instead of adhoc way and what is Ephemeral Containers ?
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.
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?
Can we directly deploy an image from dockerhub registry to the GKE cluster?? And also, the video was very informative. Thanks!
you saved my a**, thanks you,
able to do hands on
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 ??
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.
Thank you, yes pls delete the cluster right away.
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
if you can make a video with cloudbuild with deploy in gke and using tag automatically by cloudbuildd.
Best explanation sir :)
From where to study to prepare for k8s certification?
Hi GK, When you will upload new video in this series?
Soon Sube..:)
Wonderful video! Thank You. I ran docker with nginx . Able to view default nginx webpage. But when I ran tried "docker cp index.html [container-id]:/usr/share/nginx/html/" , it gives the following error "lstat /home/USER/index.html: no such file or directory. Also I don't see index.html on my home directory as well as no nginx folder under /usr/share. Any idea what is an issue ?
You can easily create one and copy it.
@@CloudAdvocate yeah , that's what I did . created index.html file using vi editor and copied the content of html file. It just displayed the blank page
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
Thank you for such a good video!
Happy to help!
Helpful thanks
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?
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
Thank you 🙏
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?
Hi Sankar, I am doing well thank you. Yea I wanted to do. Hopefully soon. My email is multicloudguy@gmail.com
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.
*great video* ! much thanks
You are welcome!
How can we run script in gke cluster through terraform..?? Please any answer
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
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..
Good article on that Hari “App Engine Flex || Kubernetes Engine - ?” by Daz Wilkin link.medium.com/WTfhWW4wm8 :) Too lengthy to explain in comments.
@@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 😜
@@maamukutty Sure good idea!!
Is it possible to do a video on adding Wordpress docker container with Kubernetes?
There is step by step guide here cloud.google.com/kubernetes-engine/docs/tutorials/persistent-disk
Sir, we need more videos on kubernetes.
Surs :)
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
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.
Hey Thanks, Nice one. Do you have any tutorial about how to run GKE from a message from pub/sub subscriber?
hello, how can we access the files inside a bucket? I'm a newbie in gcp
could you please add video on CICD Jenkins, spinnaker, ansible, terraform attache with Kubernetes engine.
Thanks for suggestions Naveen. Are you suggesting separate videos on each services or using them with kubernetes?
Separate or single how we to integrate kubernate with Jenkins , ansible and terraform
@@68naveeng Thanks Naveen, will do that.
thank you. this is very helpful.
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?
Thats a command to pull the latest version of nginx image from the docker registry.
Okies got it thanks
I m from south India Which region should i select. [Im on free tier
]
Bro please reply
how would you then attach a database too it?
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?????
Dani nginx default port is 80.
Thanks GK👍
I am getting Connection refused error while trying to access the external IP.please help me on this.
Sir can you provide your files you have used in this video . in the description they are not there. OR repo link .
Sure Sandeep. Will do.
@@CloudAdvocate Sir if possible please upload in next few hours or tomorrow. It is important for me
@@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?
@@CloudAdvocate the index.html files
@@santroproin6969 Please get it from github.com/cloudadvocate/google-cloud/blob/master/gke/index.html
hello! is the same steps for deploy multiplayer android game (dedicated game server)?
Not sure what you mean by that :)
@@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
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 :)
Yes, if you are gonna run it as a container..you can try the same steps.
GKE is IaaS, PaaS or SaaS?
IAAS
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.
I must have gone into that folder :)
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'.
solved : ruclips.net/video/jeKnYZCcdvE/видео.html
@@arunrajj17cs94 cool
type = sudo service docker start
Hi Gk.i am getting error.Followed your steps but unable to view cloud advocate page.I can view only nginx.
34.69.114.108:31562/
Then maybe you didn't copy cloud advocate index.html. so you are left with default page.
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;"]
Hi Naveen, I don't think I have built from a dockerfile. I did it all manual to show more commands.
I am trying to build and deploy an php application on gcp using docker and gke...can anyone help me please..
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
Yes, you have to build an image everytime.
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
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.
@@CloudAdvocate thank you
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
Agreed.