OGM, C# loves neo4j
26:04
5 ай бұрын
Debug a Kubernetes pod in vscode
8:59
UnitTests & dotnet core - First Test
10:00
UnitTests & dotnet core - Intro
1:47
Пікірлер
@BorisKhasanov
@BorisKhasanov 5 күн бұрын
Hey Farhad are your VMs just plain Deb-like Linux with SSH?
@nowzarifarhad
@nowzarifarhad 4 күн бұрын
Hi, yes. They are ubuntu servers with just ssh
@BorisKhasanov
@BorisKhasanov 2 күн бұрын
Sorry misspelled your name​@@nowzarifarhad
@abhilashpatel3036
@abhilashpatel3036 25 күн бұрын
will that newly created pd be removed after I am done debugging? How to remove it?
@nowzarifarhad
@nowzarifarhad 25 күн бұрын
@@abhilashpatel3036 there is a job which brings this pod up, delete it under the jobs menu. Normally it should go away by itself, but if didn’t try deleting the job. At the very end you may scale down the deployment and back up again
@edenshorthousesthouse1925
@edenshorthousesthouse1925 26 күн бұрын
Cool man I've got a lot to learn
@toolbelt
@toolbelt 2 ай бұрын
Very cool. Thanks for sharing.
@foolfactory9732
@foolfactory9732 2 ай бұрын
Really good work 👍 in your medium post you wrote that you add properties for the relation in 1.2, is this feature already available?
@nowzarifarhad
@nowzarifarhad 2 ай бұрын
@@foolfactory9732 this is moved to 1.3.0 and it is under development , 1.2.0 is available with some optimizations right now
@gabrielmartin7404
@gabrielmartin7404 2 ай бұрын
Did you publish this library? Seems pretty cool!
@nowzarifarhad
@nowzarifarhad 2 ай бұрын
@@gabrielmartin7404 yup, it is published. It is on v1.2.0. Neo4j.Berries.OGM
@gabrielmartin7404
@gabrielmartin7404 2 ай бұрын
@@nowzarifarhad Thanks, I will look into it! Maybe I can use it for some of my Projects.
@nowzarifarhad
@nowzarifarhad 2 ай бұрын
@@gabrielmartin7404good luck and we appreciate some feedbacks, since it is actively being developed 😊
@houfame
@houfame 2 ай бұрын
Can you use kubespray to run onpremise on local machine to host fullstack webapp?
@nowzarifarhad
@nowzarifarhad 2 ай бұрын
So kubespray is to boostrap a k8s cluster. You could run it locally, to setup a cluster. The video is also a local environment. I have the machines under virtual box on windows.
@houfame
@houfame 2 ай бұрын
@@nowzarifarhad Are you able to connect the kubernetes cluster in the vms to internet which would allow anyone to access the app deployed on the cluster from anywhere? If so and not just as development setup, how did you set it up!
@Adivasi7777
@Adivasi7777 2 ай бұрын
Wow, this is so amazing 🤩...Thank You bro...
@senanshh-vj8kg
@senanshh-vj8kg 3 ай бұрын
where is the pv.yaml
@hukie94
@hukie94 3 ай бұрын
You forgot the Gitlab runner part or I am missing something? But thanks for the amazing video.
@nowzarifarhad
@nowzarifarhad 3 ай бұрын
Thanks, the gitlab runner video can be found here Gitlab CI/CD Runners explained in 18 minutes kzbin.info/www/bejne/b6Wcn6Z3fJtoY5Y
@vipul5529
@vipul5529 4 ай бұрын
I can see you have this kubernetes cluster on your local. Will this extension work if I want to debug a pod deployed on EKS?
@nowzarifarhad
@nowzarifarhad 4 ай бұрын
I have tested this on azure and open telekom cloud too, but one thing you need to keep in mind. If the pod is using an internal source. For example using a database under “pgsql.pgsql.svc.cluster.local”, when you start debugging, it cannot connect to that address anymore. With database connections it is tricky to test except if you can access the database publicly. For other internal services I mostly change the config to localhost for example and when debugging starts I will port forward those services
@vipul5529
@vipul5529 4 ай бұрын
@@nowzarifarhad what about this port forwarding. How do we know which port to forward to?
@nowzarifarhad
@nowzarifarhad 4 ай бұрын
That depends on the configuration you made. Let’s say your service when it is running, has a config which uses “test-service:9000”. Now before you debug just for the purpose of testing, you will change the config to “localhost:9000” now before debugging starts, you will port forward the test-service to your localhost:9000. But be careful that in production, this may kill a part of your app while you are testing, since when the service is accessed via a request, it can not find any services on localhost:9000. To avoid this, you can deploy the same version of the pod again with the localhost config, connected to a prod database which is publicly available with credentials and debug that one. But one thing is that, I think you also could tell the debugger to use a local config and not the one which is online. When I get time, I will try to have more short videos on this
@tomasmatusek6292
@tomasmatusek6292 4 ай бұрын
not work
@cleitonpena4578
@cleitonpena4578 5 ай бұрын
You gave a show. Congratulations. Now a question: in your opinion, Farhad, what are the advantages of having gitilab on premise, considering that the same application is in the cloud, and with the same or even more functionalities. Thank you.
@nowzarifarhad
@nowzarifarhad 5 ай бұрын
Thank you. Well installing it on premise is only necessary for companies which need to follow specific data policy regulations. If a company can ignore specific privacy policy needs and data security standards, it is recommended to use the managed gitlab on the cloud, since they don't need to manage it on their own.
@cleitonpena4578
@cleitonpena4578 5 ай бұрын
Thank you @nowzarifarhad Your answer helped a lot.I wish you even more success.👏👏
@francescosessa8003
@francescosessa8003 6 ай бұрын
I tried to deply GitLab in Azure k8s with terraform and helm,but when I try to connect to the ingress controller external ip address I get 403 error. I suspect it has something to do with the thing you mentioned in your video
@nowzarifarhad
@nowzarifarhad 5 ай бұрын
hmm, so on azure, it should assign an IP address automatically to your load balancer ingrersses. Please check if that has happened by azure. That IP address is a virtual one and is connected to a load balancer and that loadbalancer redirects the data to your cluster and azure sets them up automatically. now if all set as above, I would say, first port-forward the gitlab webservice and check if you actually can access that service, maybe the problem is on gitlab installation. If it is ok, then deploy a small nginx pod and test if you can connect to it via your ingress controller. From here I can only recommend these approaches to break down the problem.
@user-cb3vp4db5p
@user-cb3vp4db5p Ай бұрын
hi; i have this problem too,
@fadelbidiga5099
@fadelbidiga5099 7 ай бұрын
Thank you mate
@nowzarifarhad
@nowzarifarhad 5 ай бұрын
You are welcome bro! 👊
@oussamadahmaz345
@oussamadahmaz345 10 ай бұрын
Thank u for this amazing video. how did you handle https certificat ?
@nowzarifarhad
@nowzarifarhad 10 ай бұрын
so in the video I used the cert-manager from the gitlab chart. the gitlab configures an issuer from cert-manager to issue a certificate from let's encrypt.
@oussamadahmaz345
@oussamadahmaz345 10 ай бұрын
@@nowzarifarhad thank u 🙏
@Berkshire-Hathaway
@Berkshire-Hathaway 11 ай бұрын
Thank you so much for your videos. These videos are really useful and I've learned so much about kubernetes and gitlab!
@user-jm3mq4rq6s
@user-jm3mq4rq6s 11 ай бұрын
Hello bro, I'm trying to run your project and I'm getting this error - "Uncaught (in promise) ScriptExternalLoadError: Loading script failed. while loading "./NotificationsList.vue" from webpack/container/reference/notifications" This error is also happening in another project, I was watching your video to check if I'm doing something wrong in my project but it's exactly the same thing. Do you know what it could be?
@nowzarifarhad
@nowzarifarhad 11 ай бұрын
Make sure the federated module‘s address is set correctly in the host project. Don’t forget that with module federations all projects should be up and running. One advice at the end. If you are trying microfrontends for your company I recommend that you skip it and just do a mono ui against a microservices backend through a graphql gateway. It gonna be much easier to handle if you are a small team or if it is not that easy to communicate new techs to the team
@aqsoft295
@aqsoft295 11 ай бұрын
I encountered a roadblock following the video on GKE, at the @12:58 mark. My progress halted because I couldn't allocate an external IP, and I found myself in a situation where I had to wait for the ingress controller to provide an external IP address before I could proceed to add it to the DNS. It seemed like a standstill in the process.
@nowzarifarhad
@nowzarifarhad 11 ай бұрын
So the video only covers a self managed kubernetes without a loadbalancer or a floating ip. The cloud providers mostly have a provisioner to provide the ip address to your i gress. For example in Azure; it detects nginx class and assign the ip automatically. On open telekom cloud, you need to buy an elastic ip first, then enter the provisioner info to assign the ip. For GKE I don’t have an experience but it should be documented in the GKE’s ingress documentation. Maybe GKE even offers it’s own ingress controller
@aqsoft295
@aqsoft295 11 ай бұрын
Extremely beneficial! Appreciate you sharing this valuable information.
@aqsoft295
@aqsoft295 11 ай бұрын
If you have or will have a part 2 video, please share the link somewhere here.
@nowzarifarhad
@nowzarifarhad 11 ай бұрын
Thanks for your comment :) gitlab runners can be found here kzbin.info/www/bejne/b6Wcn6Z3fJtoY5Y @@aqsoft295
@PalmisanoClaudio
@PalmisanoClaudio 11 ай бұрын
Amazing video! I love it! Please, do more videos like that. Is this a vanilla k8s cluster? I didn't understand if you used an external Postgres db instead of the Gitlab built-in one. Anyway, congratulations! 👏
@nowzarifarhad
@nowzarifarhad 11 ай бұрын
Thank you. About the question, yes I used an external postgres, but it was installed on the same k8s but you can also have it outside. So if you notice in the config which I have shared, the postgres.install is false. This gitlab was installed on a vanilla k8s cluster.
@rumenchoooo
@rumenchoooo Жыл бұрын
Top notch video . Please , make more on this topic. Thank you.
@nowzarifarhad
@nowzarifarhad Жыл бұрын
Thanks, working on a new one :)
@sonjabaharloi4424
@sonjabaharloi4424 Жыл бұрын
👍👍
@smu6544
@smu6544 Жыл бұрын
Nice Video!
@nowzarifarhad
@nowzarifarhad Жыл бұрын
Thanks!
@magzim9337
@magzim9337 Жыл бұрын
Thank you for showing this extension. Wish you more views.
@nowzarifarhad
@nowzarifarhad Жыл бұрын
I’m glad it was helpful and thank you 🙏🏼
@tech-world-bernes
@tech-world-bernes Жыл бұрын
Nice bro
@nowzarifarhad
@nowzarifarhad Жыл бұрын
Thank you!
@oliverbreiter7751
@oliverbreiter7751 Жыл бұрын
Man nemidanam che mi guii ,valibeto fththr mikonam ,😊😊😊😊❤
@nowzarifarhad
@nowzarifarhad Жыл бұрын
Mersi 🫡😊🙏🏼
@oliverbreiter7751
@oliverbreiter7751 Жыл бұрын
Bravo😂😂❤❤❤tabrik😂!!!❤❤
@sonjabaharloi4424
@sonjabaharloi4424 Жыл бұрын
❤❤❤
@newshaneyestani2273
@newshaneyestani2273 Жыл бұрын
👌😍
2 жыл бұрын
Do you have the latest code somewhere?
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
The link to the repo is available in the description 😊 But it has some new changes other than the descriptions of the video. The new changes are related to its next video where I will add a UI
2 жыл бұрын
Can't this be made without kubernates only with docker and dapr? How would be the configuration?
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
Yes this is possible but then you need to run the dapr sidecars yourself with the dapr run command. docs.dapr.io/getting-started/install-dapr-cli/ It will run in docker
@manikantareddyp1594
@manikantareddyp1594 2 жыл бұрын
@Farhad thank you for the nice video. do you how to connect kafka and mongodb with dapr with ssl certificates instead of username and password
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
Hi, thanks Unfortunately I don't have experience with MongoDb. Are you using the MongoDb as the statestore? if so and as I saw dapr needs the Username-Password for it. You need to check the dapr statestore implementation for MongoDb if the implementation needs Username-Password then thats it but you also can fork the branch and change it to your needs? And Kafka, are you using it as a pubsub or with dapr bindings?
@manikantareddyp1594
@manikantareddyp1594 2 жыл бұрын
@@nowzarifarhad Hi yes i am usiing state store for mongodb. basically we have username and password and also ssl certificate i tried all documenttaion but nt able to find the solution.
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
Well dapr basically is also a service written in go. If you check their source code for mongodb stateatore github.com/dapr/components-contrib/blob/master/state/mongodb/mongodb.go They are only expecting the username and password. If you are using kubernetes you can of course pass that as a secret. But if you want to authenticate with a certificate then you should change their code or maybe open a new issue in GitHub for it
@manikantareddyp1594
@manikantareddyp1594 2 жыл бұрын
@@nowzarifarhad Thank you.. i will check once. i can't understand go, but i checked the file you shared.. yes as per that they don't have option to use ssl certificate
@jisung_moon
@jisung_moon 2 жыл бұрын
Nice video, I want to run mnist on raspberry pi cluster by tensorflow distributed training is it possible?
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
Thanks, I don't have experience with tensorflow or MNIST but I think MNIST should also support kubernetes replicas. Basically databases are deployed as Statefulsets on kubernetes.
@fariborznowzari7930
@fariborznowzari7930 2 жыл бұрын
Nice job. Very useful and intelligible
@fariborznowzari7930
@fariborznowzari7930 2 жыл бұрын
Nice. Very useful
@STARSCrazy
@STARSCrazy 2 жыл бұрын
Thanks for your tips. I appreciate them very much. 👌
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
😊
@BrianThomas
@BrianThomas 3 жыл бұрын
Question. Can I use Ansible to set up boot to USB instead of configuring 8 pi's at a time?
@nowzarifarhad
@nowzarifarhad 2 жыл бұрын
Hi, Yes it should be possible. You can check this link out www.google.com/url?sa=t&source=web&rct=j&url=github.com/k3s-io/k3s-ansible&ved=2ahUKEwjZmtHhupTzAhU6hv0HHd7xB2YQFnoECA0QAQ&usg=AOvVaw0WaIK8MkUmrXue6uS0NVJy I also got interested to try it out 👍
@BrianThomas
@BrianThomas 2 жыл бұрын
@@nowzarifarhad Awesome, I've asked 6 people on all different channels and you're the only one that responded. Thank you very much for your help.