How to run local multi-node Kubernetes clusters using kind

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 127

  • @DevOpsToolkit
    @DevOpsToolkit  3 года назад +18

    I stated that minikube is a single-node cluster and that there cannot run multiple clusters. That's not true. It can have more than one node through the `--nodes` argument, and it can run multiple clusters through its profile. However, while those things are technically true, due to its requirement to run VMs, those things are not working well (at least not when compared to kind), and the level of control is considerably lower. It can provide similar functionality as kind, but it's far from being useful in multi-node multi-cluster scenarios.

    • @captainkill8433
      @captainkill8433 2 года назад +3

      Minikube supports multiple nodes, but currently just one control-plane with several workers. This is a really good video. I learned a lot. Thank you!

    • @ofir2565
      @ofir2565 6 месяцев назад +1

      Thanks Viktor! Isn’t minikube with Docker as its driver become somewhat equivalent to kind?

    • @DevOpsToolkit
      @DevOpsToolkit  6 месяцев назад

      @ofir2565 it indeed is.

  • @sekirandahamza1260
    @sekirandahamza1260 Год назад +6

    I like how the tutor talks casually. Like he is seeing you and you're in the same room just having a talk.😅 It helps understand the content. Thank you for the video anyway.

  • @ColinFox
    @ColinFox 3 года назад +6

    There is one difference between Kind and Minikube that FORCED me to not use minikube - and that is that minikube has its own internal docker server SEPARATE from whatever you have in your environment. In my case, minikube was using docker v 20, and my linux box was at 19. There is a conflict between these two versions that would prevent local file/volume sharing, which completely broke our build process.
    Kind, however, is just running inside whatever docker environment you have - it doesnt' have its own docker server, so there's no conflict. It also seems to be lighter on the system than minikube.
    I've been very happy with Kind so far!

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      Kind is better than minikube. It uses less resources, it is faster, and it is closer to whatever you're running in production. On the other hand, k3s is even better except the last part of being closer to production.

  • @igorfrezer6642
    @igorfrezer6642 3 года назад +1

    Thanks! Amazing that I met you today in RUclips and got two helpful tools for my work!

  • @quackycoder9565
    @quackycoder9565 3 года назад +7

    Getting myself into Devops, and your video and explanations are amazing! Please keep sharing your knowledge! :)

  • @Clobercow1
    @Clobercow1 3 года назад +2

    I just got started using k3s and I like it.

  • @amabamo5769
    @amabamo5769 3 года назад +2

    i tried all and k3d is a winner for me

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      Rancher, in general, is awesome. I should probably make a video for each of their products.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      Done. Just released a video about k3d.
      ruclips.net/video/mCesuGk-Fks/видео.html

  • @m19mesoto
    @m19mesoto Год назад +1

    Hello Victor,
    Excellent video !!!
    UPDATE:
    * In recent time minikube also support docker as driver. But never the less you are right kind seems to be much more lightweight solution.
    * I am also using kind + podman (mimic docker)

    • @DevOpsToolkit
      @DevOpsToolkit  Год назад +1

      In the meantime, I switched to Rancher Desktop. That's the only container engine and Kubernetes running on my machines for a while now.

    • @m19mesoto
      @m19mesoto Год назад +1

      @@DevOpsToolkit i was using the same with the moby engine on my company mac, however on my personal pc, with Fedora podman is just great..

  • @cloudevops
    @cloudevops 8 месяцев назад +2

    What's the watch model on your wrist? :) Thanks!

  • @kulinskyvs
    @kulinskyvs 3 года назад +3

    Thank you! Was interesting to discover kind. Personally, I'm using k3d (which is actually k3s in Docker) for local k8s clusters - it has ingress controller out of the box (Traefik).

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +2

      k3d is a good choice. I'm planning to review it in one of the upcoming videos.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +6

      Done. Just released a video about k3d.
      ruclips.net/video/mCesuGk-Fks/видео.html

  • @subhasishbehera1712
    @subhasishbehera1712 2 года назад +1

    Loved your presentation.

  • @MiguelPintolookatitude
    @MiguelPintolookatitude 2 года назад +4

    Great video but you forgot something else you can easily do, you can choose the k8s version that cluster or even node is running.
    - If you're testing a k8s based app and you want to test on the newer version (or even automate such tests by using the config file you can replicate the cluster each time)
    - If you wanna make sure your running the same version as the cluster you're deploying into...
    Just a couple of scenarios where these feature with multiple clusters and being able to choose the k8s version you're running are huge to me.

    • @MiguelPintolookatitude
      @MiguelPintolookatitude 2 года назад +4

      remembered another one, since you can change the version of k8s at the node level what if you want to test what happens to your apps in the middle of a k8s version rollimg update where at times the nodes of you clusters are running different versions for a time... :)

  • @Parm_newchannel
    @Parm_newchannel 3 года назад +2

    Awesome explanation
    Thanks you for sharing this information

  • @jirityr
    @jirityr 3 года назад +1

    Docker Desktop is primarily a virtualization layer which makes it possible to run Docker containers on Windows and Mac. It only exists because you cannot run Docker natively on those platforms. Docker Desktop "doesn't work" on Linux or better to say it doesn't exist for Linux because Docker can run natively there. Minikube is just a way how to run Kubernetes inside a VM (and you can have multi-node cluster and you can run multiple clusters on one machine via Minikube Profiles). Anyway, KinD (stands for "Kubernetes in Docker") is good, but K3D is better. Not only that it's using smaller images and uses less memory (it's using K3S underneath) but it also starts faster, provides more features (e.g. you can stop & start a cluster) and simplifies cluster configuration (e.g. setup Ingress controller requires no crazy configuration).

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      You're right about minikube. It can be multi-node multi-cluster solution. Those, however, were never particularly useful for me. I even forgot that they exist. Still, forgetting is not an excuse and I should have mentioned it in the video.
      k3d video is coming :)

  • @alessandro-affinito
    @alessandro-affinito 3 года назад +1

    I'm just about to create a local cluster to clone a production cluster with a different version. It's important to note minikube is not useful for real testing due to api limitations. I was going to use a custom kind install, but now I will search for k3s :)

  • @ioannispolyzos1160
    @ioannispolyzos1160 3 года назад +1

    Cool Video, just came across the channel and really loved it.Btw what software do u use for screen recording?

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +2

      I'm using OBS for all the recordings.

  • @lightspeed79
    @lightspeed79 6 месяцев назад +1

    I run windows, but also have an VM running Ubuntu, thinking of running Kind on this Ubuntu VM.

  • @Roman-zs9qm
    @Roman-zs9qm 3 года назад +2

    Hi Viktor! Your videos are awesome as well as your courses on Udemy. You've inspired me to try and set up a local Kubernetes cluster on my laptop for local testing and development. I still haven't gone through all the possible options out there and to be honest it's a bit overwhelming. My current setup is Docker Desktop with WSL2 as a backend (Ubuntu 20.04), could you recommend what would be the go to choice? Skaffold? Kind? K3d?

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      If you already have docker desktop, that is more than good to begin with. There's no need for alternative local Kubernetes clusters.

  • @santoshkaluskar5565
    @santoshkaluskar5565 2 года назад +1

    Thanks for the video, I really lol your short videos - clear to the point. I am a beginner in Kubernetes space and would like to know what's the difference between k3d and Kind? TIA

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      k3s is a Kubernetes distribution designed for edge. As a result, it is more lightweight, requires less resources, is faster, etc. k3d is a distribution of k3s designed to run inside Docker and, in my opinion, is better than kind. That being said, today I prefer Rancher Desktop which is also using k3s, but is a full replacement for Docker. It has everything you need.

    • @santoshkaluskar5565
      @santoshkaluskar5565 2 года назад +1

      @@DevOpsToolkitThanks for the reply. I was getting started with Fluxcd (referring your video) and it recommends Kind. And, I was using k3d. I was getting some errors while downloading manifests. And was recommended for Kind, as this had to with some issue with CNI.

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад

      @@santoshkaluskar5565 Software industry changes too fast. Many of my recommendations from a year ago are not valid any more. I strongly recommend Rancher Desktop today.

    • @santoshkaluskar5565
      @santoshkaluskar5565 2 года назад +1

      @@DevOpsToolkit would that be compatible with Fluxcd and Linkerd. As these are the projects Iam working with. Plz rec a compatible tool.

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      First of all, sorry for not responding earlier. RUclips moved your last message to spam (no idea why) and I did not see it until now.
      Rancher Desktop is a valid Kubernetes distribution so anything working in Kubernetes in general (including Flux and LinkerD) works in it as well.

  • @BandarAlmarri-l2i
    @BandarAlmarri-l2i 9 месяцев назад +1

    minikube for macOS chips is just hard you need to know ports forwarding , dns resolving etc to just open something on the browser also you need to configure core dns configuration in k8s just too difficult

  • @akashdeshmukh8926
    @akashdeshmukh8926 2 года назад +1

    thank you this helped me.

  • @portiseremacunix
    @portiseremacunix Год назад +1

    Thanks. If I have several linux VM and I want to create K8s clusters using transform these linux VM. Should I use kind or others?

    • @DevOpsToolkit
      @DevOpsToolkit  Год назад +1

      Use KinD only for ephemeral clusters (e.g., dev or testing environment). Do NOT use it for anything serious like permanent environments (e.g., production, staging, etc.). KinD is a Kubernetes cluster running inside a container. Kubernetes was not designed to run like that.
      Also, I don't think it can run across multiple nodes (VMs).

    • @portiseremacunix
      @portiseremacunix Год назад +1

      @@DevOpsToolkit Thanks for your reply! I would like to learn how to set up a dev cluster with networked VMs. It seems that KIND is not the answer. :)

    • @DevOpsToolkit
      @DevOpsToolkit  Год назад +1

      You can use rancher or tanzu if you prefer a GUI approach or k3s if you don't and you want something light.

  • @dAvid3_f
    @dAvid3_f 3 года назад +1

    Awesome, thanks 👍

  • @niharpatel2631
    @niharpatel2631 2 года назад +1

    Why not kind on production? It is iaac, allows ability of multi node, faster. What are the real cluster you mentioned? How kind compares?

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад

      Kind runs a cluster inside a container. As a result, you'll be running containers inside containers and that is likely going to cause performance issues, networking issues, etc. Those are not visible when running locally.
      The question is what you're trying to accomplish if not using "real" clusters like GKE, EKS, RKE, etc. Are you trying to have many small clusters so having many control planes is too much of an overhead? If that's the case, try vCluster. Do you want a more lightweight distribution of Kubernetes? Try k3s. Is it on-prem and you want immutable way of managing servers? Try Talos.
      If you can let me know the objectives/issues, I might be able to get back to you with a suggestion. For now, all I can say is "do not run containers inside containers in production".
      As a side note, I do not use kind any more. I prefer rancher Desktop for local Kubernetes.
      P.S. You'll find videos on this channel for all the tools I mentioned in this comment

    • @niharpatel2631
      @niharpatel2631 2 года назад +1

      Sure Viktor, I am Looking to run production grade multi node kubernetes in bare metal linux server and single node in client pcs (windows/Linux), looking to package client side cluster for faster client onboarding. Any thoughts?

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      Try Talos, k3s, and RKE.

  • @adilbsibiss7303
    @adilbsibiss7303 3 года назад +1

    Thanks for video, what do you think about jenkins x on on promise cloud ?

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      I worked as a PM on Jenkins X but, since I moved to other challenges, I stopped following it. So, I am not up-to-date with it and cannot say what shape it is in.

  • @tsigian1
    @tsigian1 3 года назад +1

    Great! You think Kind can be used for integration/unit testing with GitOps ? (new video?)

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      It can. It is especially useful on-prem where spinning short-term cluster might be challenging.

    • @michalk2497
      @michalk2497 3 года назад +1

      Hi personally I prefer k3d, because kind has a lot more memory requirements. For E2E testing on k3d check github.com/AbsaOSS/k3d-action

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      Nice. I'll try it out.

  • @rockstarjazzcat
    @rockstarjazzcat 3 года назад +1

    Helpful video! I’m having difficulty writing from Kubernetes linux clusters on Docker Desktop Windows dev machines, to a mapped network drive. I need the Volumes and Persistent Volumes to work locally. Deep and dark rabbit hole! I’m wondering if a switch to Kind will help? Thanks in advance.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      I don't think that mounting volumes with code is a good idea. You should treat your cluster as remote, no matter whether it is running in the same machine as the one you use for a development or somewhere else.
      Instead of mounting volumes with code (or whatever you need for development), I prefer synchronizing data. I would suggest checking out Skaffold (ruclips.net/video/qS_4Qf8owc0/видео.html), DevSpace (ruclips.net/video/nQly_CEjJc4/видео.html), and similar tools.

    • @rockstarjazzcat
      @rockstarjazzcat 3 года назад +1

      @@DevOpsToolkit Thanks! I will take a look at those options, though I'm not sure that we are talking about the same thing. I need to write output from my pods to a Windows server that won't be moved or reconfigured. I'll have the same issue when I go to production, so I'm working out the best way to handle this.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      @@rockstarjazzcat We indeed probably did not understand each other. I thought that you want to mount a volume with your source code during development. Now I see that it's something else, but I'm not sure what it is.
      Can you explain a bit more what you're trying to do? I'll do my best to come up with a suggestion...

  • @DevOpsToolkit
    @DevOpsToolkit  3 года назад +1

    Which one are you using to run Kubernetes locally?

    • @igorfrezer6642
      @igorfrezer6642 3 года назад +1

      I used minikube on Windows and Linux for 2 year for some local test, but kind - that good tool

    • @benoitbelair3749
      @benoitbelair3749 3 года назад +1

      Thank you Viktor for doing this video ! You don't have to convince me to use kind because i am using it on my local laptop inside of WSL2 on Windows 10 since 8 month now ! It's worked fine and i love it ! I don't use anymore Minikube, Vagrant stuff, etc. to install Kubernetes locally ! I switch to WSL2 when i bought your book The DevOps Toolkit Catalog, Patterns, And Blueprints. Continue your good work !

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      Great to hear that!

    • @caesarion6
      @caesarion6 3 года назад +1

      kind is great. the config file is awesome since I can add the features I want, example admission webhook. A feature request for video: Nomad from Hashicorp.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      Nomad added to the TODO list...

  • @MegaMario0007
    @MegaMario0007 2 года назад +1

    On a Linux host would you prefer Kind or K3d? (or anything else)

  • @sebastijanp3
    @sebastijanp3 2 месяца назад +1

    if i need to run kind on wsl2 ubuntu and i must not have docker desktop installed, will it work? as i understand all i need is simple docker installed on wsl ubuntu?

    • @sebastijanp3
      @sebastijanp3 2 месяца назад +1

      i see now, you were talking about it at the end. So if i am not allowed to use docker desktop on wins, then i am in position of only having linux on wsl, and that means i should use kind with only docker installed on linux and it should work.

    • @DevOpsToolkit
      @DevOpsToolkit  2 месяца назад

      Yeah. KinD needs Docker. In Linux that's docker alone and in macOS and windows it's docker desktop that creates a Linux VM since Docker alone cannot run natively.

  • @JOJO-oe7og
    @JOJO-oe7og Год назад +1

    Hello brother, tried to install tekton on k3d had some issues with it, but with kind it managed to install properly. Why is this?

    • @DevOpsToolkit
      @DevOpsToolkit  Год назад +1

      Not sure... It's been a while since the last time I used k3d (I switched to Rancher Desktop exclusively). My best guess, without taking a look at the logs and events, is that Tekton does not like running inside a cluster that runs as a container.

    • @JOJO-oe7og
      @JOJO-oe7og Год назад +1

      Thank you for the quick reply, love your videos really helped me out with k8s in my DevOps journey. I will look into this 👍

  • @georgelza
    @georgelza 2 года назад +1

    would you mind sharing you nginx ingress configuration for ingress. I'm bouncing between Kind and nginx ingress or switching to K3d (on my Intel MAC... keen to hear if there is any issues coming along with the new ARM platform, have all of this been ported by Docker as Kind and K3D run inside Docker). my long term target for all scripts/deploys are AWS so need to write/simulate with that in mind.

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      If you switch to k3d, it already comes with traefik ingress which you can access through 127.0.0.1

    • @georgelza
      @georgelza 2 года назад +1

      @@DevOpsToolkit now to figure out how to configure this... ;)

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад

      @@georgelza Something like k3d.io/v5.0.1/usage/exposing_services/?

    • @georgelza
      @georgelza 2 года назад +1

      @@DevOpsToolkit been looking at that exact doc. Ran into a error during that...

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      @@georgelza I do not have Docker running any more, but I can set it up (probably over the weekend) and get to you with the steps if you do not figure it out by then.

  • @johngrabner
    @johngrabner 3 года назад +1

    Wow, very detailed and easy to understand. Would love to see kind vs microk8s

  • @anshuman2121
    @anshuman2121 3 года назад +1

    Hey I’m looking to setup local dns xip.io what you usually do in most of the videos.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      xip.io stopped working a few weeks ago so I switched to nip.io instead (and changed all the gists).
      nip.io (as well as xip.io while it was working) are not local DNS. They are public services that forward requests to the IP specified as a subdomain. So, if you use 1.2.3.4.nip.io, requests to nip.io will be forwarded to the IP 1.2.3.4. That way you get a free domain (nip.io) without having to configure DNSes. It's very useful for local development, testing, and other use cases when setting up a real domain might be too much of a hustle.

    • @anshuman2121
      @anshuman2121 3 года назад +1

      Fully understand this now. Thanks. 1 last question I have. I am thinking to switch from Jenkins. It there any other cloud native cicd tool out there in which I can integrate SonarQube for code test before build and deploy.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      Integrations are not an issue anymore anywhere. All tools today have an API so you can send a request to it to do whatever you need to do. Similarly, there is a container image for everything. From that perspective, any pipeline tool should do.
      You might take a look at videos about tekton, Argo workflows, and GitHub Actions on this channel and check whether any of those suits your needs.

  • @Mutombo71
    @Mutombo71 Год назад +1

    there is now podman desktop

  • @EdwardPike
    @EdwardPike 2 года назад +1

    Kind on WSL2?

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад

      Probably. It should work in Docker running anywhere. That being said, I do not own a Windows machine anymore so I cannot check it.

  • @joebowbeer
    @joebowbeer 3 года назад +1

    I think the primary dimension ("sorting column") for these comparisons should be the platform. For example I suggest a macos-specific comparison between minikube, kind and k3d. The problems on each platform are different. On macos, ingress is the biggest hurdle. Multi-node, if needed is next. Some tools can do multi-node, but effectively only a max of 2. Trying to explain all this at each level for each separate platform is too confusing to follow.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      That makes sense. Adding it to my TODO list... :)

    • @georgelza
      @georgelza 2 года назад +1

      @@DevOpsToolkit would also love to see a K3d vs Kind play off (macOS platform)

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +2

      @@georgelza Both would loose. I believe that Rancher Desktop is the best option today. It's also based on k3s but, unlike k3d, it works as a standalone (no need to Docker VM).
      ruclips.net/video/bYVfCp9dRTE/видео.html
      ruclips.net/video/evWPib0iNgY/видео.html

    • @georgelza
      @georgelza 2 года назад +1

      @@DevOpsToolkit I actually like the fact that it's done inside K3d because of the inside docker,

    • @DevOpsToolkit
      @DevOpsToolkit  2 года назад +1

      @@georgelza Within those that work inside Docker, k3d is, without doubt, the best option.

  • @ahmedmk534
    @ahmedmk534 3 месяца назад

    at which point you deployed your application (web app) ?

    • @DevOpsToolkit
      @DevOpsToolkit  3 месяца назад +1

      It's been a while since I created that video so I don't remember the details. Most likely i did not deploy an app since that is not directly related to kind. An app would run (more or less) the same no matter which flavor of kubernetes is used so it's not necessarily relevant for that video.

  • @shruh493
    @shruh493 3 года назад +1

    Thank you so much

  • @AndreasBrenk
    @AndreasBrenk 3 года назад

    What about minikube's Docker driver (minikube.sigs.k8s.io/docs/drivers/)? That's minikube on Linux without a VM. And there's also the experimental podman driver.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      From my experience, if you do want to run k8s as containers, minikube is too clunky and too heavy. Also, it suffers from trying too many modes (it can be a VM, it can be a container, etc.) which might be preventing it from being exceptionally good in any. kind is better if what you need is to run k8s as containers. k3d might be even better option. I'm working on a video about it, so I'm trying not to give away any spoilers.

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      ... but you are right that I did not mention that, and I should have.

  • @chongerwin
    @chongerwin 2 года назад

    Thanks!

  • @joebowbeer
    @joebowbeer 3 года назад +1

    minikube --nodes 2 creates multi-node cluster

    • @joebowbeer
      @joebowbeer 3 года назад

      minikube.sigs.k8s.io/docs/tutorials/multi_node/

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад

      That was a mistake on my part (which I think I corrected in one of the comments). I've been using minikube for such a long time that I missed that, since then, it introduced the --nodes argument. My bad.

  • @oraculotube
    @oraculotube 3 года назад +2

    how can I do a like twice :)

  • @alessandro-affinito
    @alessandro-affinito 3 года назад

    In these days I had to replicate an old K8S cluster (1.15) on a local Fedora.
    Since I didn't find the image for K3S I used Kind. I had to configure some persistent volume (manual hostPath), multi node, calico CNI. It was a lot harder than expected and still I have to solve some issues.. The config file has very few options to use and I had to put the image version as argument (removing it from the config where it was ignored) and couldn't use a --kubeconfig arg, because it leads to certificate mismatch error. Also pod CIDR seems to be ignored from config file (172.28.0.0/16 instead of 192.168.0.0/20).
    gist.github.com/tuxerrante/ecd35edcf549bc03ba6493e05c9ebe8f
    Maybe for complex local tests does exist some better solution, less complex than kubespray?

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      Things can easily get messy with kind, especially if you have "special" requirements for the OS (e.g., Fedora).

    • @alessandro-affinito
      @alessandro-affinito 3 года назад +1

      @@DevOpsToolkit which is the most compatibile distro? Ubuntu?

    • @DevOpsToolkit
      @DevOpsToolkit  3 года назад +1

      @@alessandro-affinito I don't think that any k8s running in containers will give you that. If you need to have the same (or similar) OS then your best bet might be Vagrant. On the other hand, if OS is not that important, you could create kind images using whichever OS you need. Just remember that OS in containers is not the same (or even close) to OS running on nodes, especially if those nodes are supposed to run contains with Docker (which cannot run in containers).

  • @erickbrenes7562
    @erickbrenes7562 3 года назад +1

    First like :p

  • @sixteenornumber
    @sixteenornumber Год назад +1

    `kubectl get nodes` --> The connection to the server localhost:8080 was refused. I also tried running `kubectl get nodes --server localhost:6443` ---> "Unable to connect to the server: EOF"
    ::::EDIT::: I found the problem, I had to re-export the config.
    export KUBECONFIG=~/.kube/config

    • @DevOpsToolkit
      @DevOpsToolkit  Год назад

      Is it a company laptop? Can there be some VPN/firewall/etc. that might be blocking the communication?