Thanks Julio for the amazing work! You solved a major blocker I was facing regarding ports. Thanks again!
@juliocasal Жыл бұрын
You are welcome!
@musaleem210 ай бұрын
Great Work! and really appreciate for your work, Have deploy my image within one hour, easy and clear insturction.
@juliocasal10 ай бұрын
Glad it helped!
@venky76v5 жыл бұрын
This is one of the best explanations and videos that I have come across. I am looking to learn docker and kubernetes and I have not come acorss something simpler than this. Thanks a million and please keep more of such vides coming.
@juliocasal5 жыл бұрын
Thank you Venky!
@ZehraKhudaverdiyeva2 жыл бұрын
Perfect Explanation! Thanks a lot!
@juliocasal2 жыл бұрын
You are welcome!
@eliassal13 жыл бұрын
Really great video, 6 months back I watched an MS MVP guy in which I understood nothing and was mislead and tutorial never worked correctly which is opposite to yours. Great job and as the other said, looking forward for more videos, I am thinking of subscribing to your course, I will check my planning, so many thanks again
@juliocasal3 жыл бұрын
Thanks Salam, your words are very encouraging! Please check out the course page and let me know if you have any questions.
@juliocasal3 жыл бұрын
Salam, I just updated the entire course and I'm looking for people to give it a try and provide honest feedback. Please send me an email to julioc @ dotnetacademy dot io and I'll reply with a coupon for a great discount so you can try it out.
@eliassal13 жыл бұрын
@@juliocasal That would be great, yes please go ahead, I will send you an email
@riteshsrivastava92813 жыл бұрын
Excellect video, exactly i was looking for . Thank you very much Julio
@juliocasal3 жыл бұрын
Glad to hear that!
@AnujAggarwal0072 жыл бұрын
Great session
@juliocasal2 жыл бұрын
Thanks!
@kombosh884 жыл бұрын
Fantastic Video, great effort Julie.. looking forward to seeing more of these
@juliocasal4 жыл бұрын
Thanks Michael, appreciate it!
@amit_vocals4 жыл бұрын
Thanks Julio 😄 wonderful and simple video for beginners. Keep it up
@juliocasal4 жыл бұрын
Glad you liked it!
@rodrigocaballerohurtado53674 жыл бұрын
Awesome tutorial and very simple and to the point. congrats!
@juliocasal4 жыл бұрын
Thank you Rodrigo!
@yaredalmaw66443 жыл бұрын
Awesome tutorial. Thank you
@juliocasal3 жыл бұрын
Glad you liked it!
@DineshTawar4 жыл бұрын
Hi Julio, Thanks for the awesome video. Could you please share how can we deploy mysql container on AKS? I have created my sql container and deployed on AKS but how API container will connect to my sql. please let know your thoughts.
@juliocasal4 жыл бұрын
Dinesh, glad to help. I would add a ClusterIP K8s service for your MySQL container, exposing the port where the MySQL container is listening (port 3306 seems to be the default). Once you do that your API container can reach the MySQL container via the name you gave the K8s service and the exposed port. Hope this helps!
@TheSiddhaartha3 жыл бұрын
Brilliant! Thank you so much for this video!
@juliocasal3 жыл бұрын
You're very welcome!
@TheSiddhaartha3 жыл бұрын
@@juliocasal Is your production code also deployed using AKS? Which logging mechanism do you use? Do you also create reports? Is it using power BI? Also may I know which industry your application belongs to? Is it Finance? Thanks!
@iyadzidan68033 жыл бұрын
Thank you so much Julio!
@juliocasal3 жыл бұрын
No prob, glad to help!
@dileepb42362 жыл бұрын
Hello Julio, Wonderful video. I followed all the steps but can you explain how it was deployed after creating service principal.
@juliocasal Жыл бұрын
Sorry, what do you mean?
@JJSisters-kd5qe2 жыл бұрын
Love your videos.
@juliocasal2 жыл бұрын
So glad!
@jeremyteh86504 жыл бұрын
Thank you for the great tutorial. I was trying out with my own node rest api application and deploying to AKS, however, I was unable to query the API using the external IP.
@juliocasal4 жыл бұрын
Did it work in the end?
@jeremyteh86504 жыл бұрын
@@juliocasal Yes, but I did so by running these commands (replacing with my docker container and acr name): kubectl run gs-spring-boot-docker --image=wingtiptoysregistry.azurecr.io/gs-spring-boot-docker:latest kubectl expose pod gs-spring-boot-docker --type=LoadBalancer --port=80 --target-port=8080 However, I am not able to access the external ip with generating and deploying the manual deployment and service yml file. Is there any other configurations that is needed on the yml files to access the external ip?
@rahulraut19214 жыл бұрын
Awesome tutorial with Awesome Tutor
@juliocasal4 жыл бұрын
Thank you Rahul!
@fieryscorpion3 жыл бұрын
Great video. Thank you so much!
@juliocasal3 жыл бұрын
You're very welcome!
@lal_1404 Жыл бұрын
thanks for this tutorial
@juliocasal Жыл бұрын
You're welcome!
@nidhisht52844 жыл бұрын
Thank you for the informative video!
@juliocasal4 жыл бұрын
Glad it was helpful!
@furqanahmad59734 жыл бұрын
I followed the steps but it is showing status as ImagePullBackOff while running "kubectl get pods" command. Also, my appId did not work in role assignment under container registery, it returned "No users, groups or service principal found". Any idea where I am doing wrong?
@juliocasal4 жыл бұрын
Furqan, at some point after recording the video adding the role assignment to the container registry via AppId stopped working. You can instead use the DisplayName obtained from the az ad sp command (at 4:50). The ImagePullBackOff error could be due to the missing AppId but you can confirm via the kubectl describe pod command.
@AbhinavSingh-ov7pj3 жыл бұрын
Thanks for excellent video.i am able to deploy my application on aks.but now if i try to do any deployment in kubernetes on my local machine then that deployment happens on aks.i want to do deployment on my local.googled for solution but fond that everything needs to be delete from azure. But i do not want to delete resource
@juliocasal3 жыл бұрын
Abhinav, you can use the kubectl config use-context command to switch your local K8s context to any other cluster, including the one in your local machine, if you have one. More info here: kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters. Hope this helps!
@toochinkuzi65362 жыл бұрын
great video I must confess. please I am having issue. I followed the tutorial end to end but I can't access external IP using postman or web browser. the service label matches with pod as you but I can't access the api on postman. it is just timing out for a reason that I don't know.
@toochinkuzi65362 жыл бұрын
issue resolved. it was port issue. thanks
@juliocasal2 жыл бұрын
Glad you figured it out!
@DanePillayNel4 жыл бұрын
Hi Julio,loved the demo. But getting an imagepullback error when get pods. Any advice?
@juliocasal4 жыл бұрын
Dane, this can happen for a few reasons. Common reasons are: - You did not create the AKS cluster with the service principal (spn) you authorized in your container registry - You have not authorized your spn in your container registry - You are using the wrong container image name or tag in your deployment yaml file More info here: managedkube.com/kubernetes/k8sbot/troubleshooting/imagepullbackoff/2019/02/23/imagepullbackoff.html
@DanePillayNel4 жыл бұрын
@@juliocasal I appreciate the reply. I have made certain I have created the sp with the pull role and made sure to allocate it when creating the aks. And of course Authorized it in the registry. I will go through the link and revert if that's OK. And double check the yaml.
@kalaiselvank76434 жыл бұрын
Hi , this best video to explain plain and simple . can you create the video to deploy the docker compose file into kubernetes.this will move use full to get the real time experience.
@juliocasal4 жыл бұрын
Kalai, thanks for the feedback. You don't deploy docker compose files to kubernetes (K8s). Instead create a new set of K8s deployment and service files for your containers based on what you have in docker compose and then you'll be able to deploy them to K8s.
@kalaiselvank76434 жыл бұрын
@@juliocasal thanks for the information .but how the docker container will communicate each other
@jgabrielsousa4 жыл бұрын
Great video thanks for sharing....
@juliocasal4 жыл бұрын
Hope it helps!
@rakrakesh15843 жыл бұрын
Good video. One quick help.. Even after installing Azure CLI in VS code, not working az login command. not found error. Appreciate your help in advance
@juliocasal3 жыл бұрын
Rak, try closing and reopening VS Code or restarting your computer. That should help.
@kalankaraivilakkam4 жыл бұрын
Nice and Elegant
@juliocasal4 жыл бұрын
Thank you! Cheers!
@MrAuwoodstock3 жыл бұрын
Hi Julio. This is a great tutorial, I've followed it step by step but checking my application within a brwoser or by using Fidler I get a 502 "bad gateway error"...I don't know why is this issue.
@MrAuwoodstock3 жыл бұрын
It was an issue within the service.yml file...Thanks a lot for the clarification during the whole video
@juliocasal3 жыл бұрын
I'm glad you made it work!
@wissemzarrami19424 жыл бұрын
Great Job and Interessting stuff. I am newer on AKS, I followed your video. Everything is ok untill the end and I am seeing my public Ip via "Kubectl get services" NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE advert-referential-api-service LoadBalancer 10.0.196.16 20.40.146.158 8080:30798/TCP 40m kubernetes ClusterIP 10.0.0.1 443/TCP 62m However when I execute the curl to 20.40.146.158 I have this message as a response "curl : Unable to connect to the remote server". Have you any idea about it please ?
@juliocasal4 жыл бұрын
Wissem, try specifying the port (8080) after the IP.
@LUONGTO3 жыл бұрын
Hi, I just try the tutorial, but my pod get "Back-off restarting failed container", restart many times, completed with exit code 0, any advice please?
@juliocasal3 жыл бұрын
LUONG, try running this command: kubectl describe pod . The output should provide some hints at what's going on.
@LUONGTO3 жыл бұрын
@@juliocasal yeah, I tried many tips, but got no luck (I posted my question here stackoverflow.com/questions/65802881/asp-net-core-get-back-off-restarting-failed-container-on-aks/65809859?noredirect=1#comment116361920_65809859)
@juliocasal3 жыл бұрын
@@LUONGTO Have you tried kubectl logs ? What's the output of that?
@ramasif99834 жыл бұрын
When trying to search for my appId under "Add role assignment", I paste in the appId I created after entering "az ad sp create-for-rbac --skip-assignment", but it says 'No users, groups, or service principals found.'
@23marnie4 жыл бұрын
I was having the same issue.. Please go to Azure Active Directory, click AppRegistrations, there at OwnApplications you should find application by appId. When foud copy the application name and use it insted of ID while add role to ACR
@juliocasal4 жыл бұрын
Looks like things changed a bit since I made the video. There are two ways you can do this now: 1. To add the role via the Azure Portal you can use the displayName obtained from the az ad sp command (at 4:50) instead of the appId. 2. You can also add the role by AppId by using the Azure CLI, like this: az role assignment create --assignee 59ce6874-489a-41d1-9208-f8f04a0c3df6 --role AcrPull --scope subscriptions/9e4259988-918f-4aa2-bb8a-34d8a868a160/resourceGroups/julio01/providers/Microsoft.ContainerRegistry/registries/julio01 Where --assignee is your AppId and the --scope value you can get from the browser url after navigating to your container registry
@ramasif99834 жыл бұрын
@@juliocasal Thank you very much - I've used the first one and it worked perfectly.
@abhinayabalol34284 жыл бұрын
az acr login cmd is not working. Getting please verify if docker is installed error despite docker is installed and running
@juliocasal4 жыл бұрын
abhinaya, there's a similar issue reported here: github.com/Azure/azure-cli/issues/8960. Would that help?
@venky76v5 жыл бұрын
Hi Julio, I think followed the tutorial correctly, but at this step, az aks get-credentials --resource-group xxxx01 --name xxxx01, I keep getting "Resource group 'xxxx01' could not be found." Would you be able to help me out, please?
@juliocasal5 жыл бұрын
Venky, you are probably in the wrong subscription. Do this first: az account set --subscription "My Subscription”, just replace the name of your subscription. Does that help?
@venky76v5 жыл бұрын
@@juliocasal now that you say it, I have two subscription and maybe az login is defaulting to the other one .. I will give it a try 🤟
@venky76v5 жыл бұрын
@@juliocasal Thanks Julio. I had two subscriptions and what you told me sorted my issue out
@robertmrobo89543 жыл бұрын
The price of those services on Azure is a problem.
@juliocasal3 жыл бұрын
Thanks, do you find it more expensive than other cloud providers?
@damonwu96584 жыл бұрын
Hi Julio, thanks for sharing the tutorial, and would you midn to create a video for deploy a .netcore 3.1 + mysql + docker => deploy to AWS ec2 server tutorial? Icoun't find any good tutorial so far, and if you have any good resources, please share with me, many thanks in advance
@juliocasal4 жыл бұрын
Damon, apologies but I don't have experience with AWS ec2.