[ Kube 25 Discussion 3 ] Connecting Jenkins to Minikube Kubernetes Cluster

  Рет қаралды 14,257

Just me and Opensource

Just me and Opensource

2 жыл бұрын

In this video, I will show you how to connect Jenkins to Minikube Kubernetes cluster with the Kubernetes plugin so that you can deploy and run jobs in Kubernetes cluster.
😺 Github:
github.com/justmeandopensourc...
📺 Kubernetes & Jenkins Playlist:
• Kubernetes & Jenkins
📺 Learn Kubernetes Playlist:
• Learn Kubernetes
Hope you enjoyed this video. Please share it with your friends and don't forget to subscribe to my channel. For any questions/issues/feedback, please leave me a comment and I will be happy to help.
👏 Thanks for watching.
💗 If you wish to support me:
www.paypal.com/cgi-bin/webscr...
#learnkubernetes #justmekubernetes #justmejenkins

Пікірлер: 55
@stevesteel1466
@stevesteel1466 2 жыл бұрын
Thanks a lot venkat for uploading this video. Always watch your video immediately when you upload it and like it even before completely watching the complete video.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Ahh.. Thanks. Much appreciated.
@alexliroyd3684
@alexliroyd3684 2 жыл бұрын
Awesome guide bro. Stuck with minikube "docker" driver and couldn't connect to kubernetes. It gave me only local ip 127.0... for minikube. Didn't find a solution. Had do re-install minikub using virtualbox driver. Now it works like a charm. Thank you!
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi Alex, thanks for watching. Cheers.
@stackios
@stackios 2 жыл бұрын
Thanks Venkat for the video 👍.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi, Thanks for watching.
@IgnoreMyChan
@IgnoreMyChan 2 жыл бұрын
10:32: The 'funny' percent sign (%) comes from zsh, it adds it to identify an output not ending with a newline. Your "; echo" trick works for that as it adds a newline.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Yeah, I know. Thanks for watching.
@vinupillai6779
@vinupillai6779 2 жыл бұрын
Awesome, many thanks for sharing this solution.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Thanks for watching.
@goudareddy5072
@goudareddy5072 3 ай бұрын
super, I tried the steps and it worked, thanks a lot.
@justmeandopensource
@justmeandopensource 3 ай бұрын
Cool. Thanks for watching.
@DeiveegarajaAndaver
@DeiveegarajaAndaver 2 жыл бұрын
Thank you !
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Thanks for watching.
@vaposhack
@vaposhack 2 жыл бұрын
Note, on MacOS + Docker desktop, I had to update the kube config file's 'server' setting to point to the IP address (port 8443) of the Minikube container. Once the secret was updated in Jenkins, I switched it back to default. To get the Minikube ip: `echo "$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' minikube):8443"` Also, restarting Minikube wiped out my kube config so I made a backup.
@sureshkaviraj9206
@sureshkaviraj9206 2 жыл бұрын
Thanks Keith. this helped me
@allkickstarted6793
@allkickstarted6793 2 жыл бұрын
Thanks mate, this saved me.. as I am too working on Mac.. this saved me..
@mehdibr1215
@mehdibr1215 Жыл бұрын
hello mate great tutorial I was wondering how i can get jenkins to connect in the same network as minikube when my jenkins is connected locally and thanks!
@Rakesh-fc1wr
@Rakesh-fc1wr 2 жыл бұрын
Hi Venkat . Can help me out to take backup of etcd with a cronjob object ?
@sadiksha_dahal7261
@sadiksha_dahal7261 2 жыл бұрын
I am unable to select the kube config file through jenkins gui. The .kube directory and config file exists as I have accessed them via terminal.
@yamateknowledge
@yamateknowledge 2 жыл бұрын
Great!!! Very nice tutorial, I'm getting error: Error reading service account token from: ... Can you help me?
@kavinkumaran
@kavinkumaran 2 жыл бұрын
Hi, Thanks for the video I have an issue in Jenkins if I triggered the pipeline the pods are creating and terminating continuously.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Most probably you got the pod template wrong in the cloud configuration. Please re-check it. Its easy to make mistake or miss something there.
@EdwardPike
@EdwardPike 2 жыл бұрын
Instead of restarting, could you have connected jenkins to the minikube network using something like "docker network connect minikube 23c1ca1d1bcf"? I tried but the test connection still failed but I'm not sure why.
@EdwardPike
@EdwardPike 2 жыл бұрын
I also tried to figure out how assign minikube api server with my local machines ip address instead of 127... I already had jenkins talking to a local KIND cluster and I was able to assign local host IP to its api server. I did not want to rebuild Jenkins just to join minikube's Docker network. Nothing is working yet.
@stevesteel1466
@stevesteel1466 2 жыл бұрын
Is there any ci and CD video with Jenkins in kubernetes which is done by you.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Anything to do with Jenkins and Kubernetes will be in this playlist kzbin.info/aero/PL34sAs7_26wOuDEArkiGHjWtitsLsxGCL Pipeline related videos are these two Kube 49 & Kube 49.1 Cheers
@ritayandutt1281
@ritayandutt1281 2 жыл бұрын
Hi Venkat, following your video can you please make a video regarding kubernetes authentication and authorization using keycloak and how to configure kubeconfig file
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi, thanks for watching. Thats already on my list. I will see when I can do it. Cheers.
@ritayandutt1281
@ritayandutt1281 2 жыл бұрын
@@justmeandopensource Waiting for it . Thank you
@satyasekharveeranki9383
@satyasekharveeranki9383 2 жыл бұрын
Bro post changing crt on config file i am not able to access minikube i am getting below error ...plz suggest me kubectl cluster-info error: error loading config file "/Users/cecily/.kube/config": yaml: line 5: mapping values are not allowed in this context
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi, thanks for watching. It must be an indentation error or something. Do you have a backup of previous kubeconfig? Try "minikube update-context" and that will regenerate the kubeconfig file and then you can start editing again.
@stevesteel1466
@stevesteel1466 2 жыл бұрын
I think it is indentation error. Did you try to revert the file and recheck whether config is working. If it is working then there error in process of conversion.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
@@stevesteel1466 Exactly.
@satyasekharveeranki9383
@satyasekharveeranki9383 2 жыл бұрын
@@stevesteel1466 still not working CECILY> minikube update-context ❌ Exiting due to HOST_KUBECONFIG_UPDATE: read: could not read config: Error decoding config from data: apiVersion: v1
@satyasekharveeranki9383
@satyasekharveeranki9383 2 жыл бұрын
@@justmeandopensource still not working ...could you plz suggest any other alternate to get the old kubeconfig file CECILY> minikube update-context ❌ Exiting due to HOST_KUBECONFIG_UPDATE: read: could not read config: Error decoding config from data: apiVersion: v1
@dharmaputra7394
@dharmaputra7394 2 жыл бұрын
Request gitlab ci
@justmeandopensource
@justmeandopensource 2 жыл бұрын
I can try. Thanks.
@tolonbaikamalov7520
@tolonbaikamalov7520 Жыл бұрын
BIG LIKE & SUBSCRIBE from me. Very helpful.Thanks!
@justmeandopensource
@justmeandopensource Жыл бұрын
Thanks for watching.
@buildfordev
@buildfordev 11 ай бұрын
base64: invalid argument -w
@MrCiccioTv
@MrCiccioTv 2 жыл бұрын
you could have avoided deleting jenkins container and just use docker network connect minikube jenkins rather than deleting jenkins and reinstalling it to resolve the timeout and connectivity between containers!!!
@Nirmalkumarnirmalwaysmiling
@Nirmalkumarnirmalwaysmiling 2 жыл бұрын
Hi Sir, followed all steps correctly but got error when testing the connection Error testing connection : java.net.ConnectException: Failed to connect to /127.0.0.1:51930
@minyang3988
@minyang3988 Жыл бұрын
i have same issue with you.
@Ramikhreim
@Ramikhreim Жыл бұрын
me too Error testing connection : java.net.ConnectException: Failed to connect to /127.0.0.1:36981
@renzcarillo7277
@renzcarillo7277 Жыл бұрын
@@minyang3988 same, couldn't solve it
@renzcarillo7277
@renzcarillo7277 Жыл бұрын
@@minyang3988 Have you found a solution now?
@lukiss123
@lukiss123 Жыл бұрын
I resolve this issue using --driver=hyperv for minikube
[ Kube 25 Discussion 1 ] Configuring Jenkins to connect to Kubernetes cluster
19:27
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 25 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 109 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 50 МЛН
How to Use Kubernetes Pods As Jenkins Agents
25:15
CloudBeesTV
Рет қаралды 54 М.
Why I Quit the Scrum Alliance
7:58
The Passionate Programmer
Рет қаралды 10 М.
Using *HA* Kubernetes at home, was never so simple!
32:14
Christian Lempa
Рет қаралды 162 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 468 М.
Kubernetes CI/CD Pipeline Using Jenkins | DevOps Tutorial/Project - 2023
2:49:55
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН