Automated Kubernetes Cluster Setup on Vagrant

I created this repo last year for my own local k8s development setup using simple shell scripts & vagrant.

The current Kubernetes version for CKA, CKAD & CKS is 1.22

I have updated the vagrant Kubernetes setup to k8s version 1.22.

It is a simple, easy-to-understand script that uses kubeadm for the cluster setup.

All you have to do is clone the repo and execute vagrant up.?

Once the cluster is set up, the kubeconfig file gets generated and added to the Vagrant folder.

Calico plugin and dashboard are also part of the installation.

You will have a local kubeadm cluster to play around with.

If you are a MAC user and updated OS to Monterey, you need to upgrade Virtualbox to the latest version and add the following in the /etc/vbox/networks.conf file.

*?0.0.0.0/0?::/0        

So that vagrant can create networks other than 198* series.

Github Repo:?https://lnkd.in/g2ry59W

Video Documentation & Script Explanation: ??

Blog Documentation & Script Explanation ??

Note:?If you just want to play around with k8s, minikube, kind, and k3s are great options.

#kubernetes?#devopsengineer?#k8s

Joshua Crank

Manger, Product Engineering at Cordata Healthcare Innovations, LLC

2 年

when running the top command, I get: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get pods.metrics.k8s.io)

回复
Ram Gopal Shukla

DevOps Engineer | Automating Cloud Infrastructure | AWS | Azure | Ansible | Docker | CI/CD | Jenkins | GitLab | Linux | Terraform | Kubernetes | Python | Shell | Immediate Joiner | Open to Relocate Anywhere in India

3 年

Sir how to do using aws services

Pavan Kumar

Senior Cloud DevOps Engineer | Kubernetes Expert (CKA, CKS) | AWS | Azure | Istio | SRE | DevSecOps | Databricks | Terraform | Blogger

3 年

That’s cool ! I use virtual box to setup my personal on-prem Kubernetes cluster.

Athithyan Ac

DevOps Engineer

3 年

Much appreciated buddy

Vamsi Vatsav Gorthi

Agile,Devops & Release Manager - PMP,AWS-2X,PSM-1,PSM-2

3 年

This is a real boon - it was a lot of painstaking work for me to setup a k8s cluster on my own - though i eventually managed to do it. This script worked like a charm so i now have 2 sets of k8s cluster to use :)

要查看或添加评论,请登录

Bibin Wilson的更多文章

  • Issue #6: Systemd Timers, Kubernetes Shift Down, K8s Agentic Framework and More

    Issue #6: Systemd Timers, Kubernetes Shift Down, K8s Agentic Framework and More

    DevOps engineers will play a critical role in ensuring AI-driven workloads are scalable, secure, and observable. This…

    3 条评论
  • Issue #5: k8s Descheduler, EKS CSI Driver, Agentic AI and More

    Issue #5: k8s Descheduler, EKS CSI Driver, Agentic AI and More

    This week's Newsletter Highlights: Kubernetes Descheduler EKS EBS CSI Driver Workflow Gang Scheduling in Kubernetes…

  • Issue #1 : Unlocking Jenkins on Kubernetes & More

    Issue #1 : Unlocking Jenkins on Kubernetes & More

    This week’s DevOps spotlight: 1. Jenkins on Kubernetes - Free Course Available Now! We've launched a brand-new free…

    9 条评论
  • Linux Foundation Cyber Monday Sale is Live

    Linux Foundation Cyber Monday Sale is Live

    I wanted to let you know that the biggest 65% OFF Linux foundation Cyber Monday sale is live. This is the best time to…

    2 条评论
  • Weekly DevOps Updates ??

    Weekly DevOps Updates ??

    Here is what I shared this week ?? ?? Post Updates - Published Important HTTP codes with real-world examples…

    3 条评论
  • Kubernetes Certification costs increase as of August 1, 2022

    Kubernetes Certification costs increase as of August 1, 2022

    As per the latest update from the Linux Foundation training, Kubernetes certification cost increases from August 1. You…

    2 条评论
  • Introducing DevOpsCube Bytes

    Introducing DevOpsCube Bytes

    Many of you asked if there is an archive list of my Linkedin short blogs. So I have created "DevOpsCube Bytes," where…

    3 条评论
  • Nginx Ingress Controller setup: Detailed Guide

    Nginx Ingress Controller setup: Detailed Guide

    I have published a detailed blog on ingress fundamentals before. If you want to understand the difference between…

    3 条评论
  • Kubernetes Ephemeral Containers

    Kubernetes Ephemeral Containers

    Ephemeral Containers is one of the k8s beta features. When it comes to container security, distroless or minimal base…

  • Build Your Personal Brand With Huge DevOps Community

    Build Your Personal Brand With Huge DevOps Community

    I have built a DevOps community of more than 100k devops enthusiasts. It includes Linkedin groups, my Linked personal…

    10 条评论

社区洞察

其他会员也浏览了