syselement's Blog
Ctrlk
🏠 Home BlogXGitHubπŸ“š Buy Me a BookπŸ“§ Contact
  • 🏠Home
  • πŸ”³Operating Systems
    • 🐧Linux
    • πŸͺŸWindows
  • πŸ“Courses Notes
    • eLearnSecurity / INE
    • Practical Networking
    • TCM Security
  • πŸ–₯️Cyber Everything
    • πŸ“ŒGeneric Resources
    • πŸ“±Mobile
    • 🧬Network
    • 🌐Web
    • ✍️Writeups & Walkthroughs
  • ♾️DevOps Everything
    • πŸ”—DevOps Resources
      • Introduction to DevOps
      • Ansible
      • Docker
      • Git
      • Kubernetes
      • Terraform
      • Vim
  • πŸ”¬Home Lab
    • πŸ–₯️Hypervisors
    • πŸ”΄Offensive Labs
    • πŸ”΅Defensive Labs
    • βšͺMisc Labs
Powered by GitBook
On this page
Edit
  1. ♾️DevOps Everything
  2. πŸ”—DevOps Resources

Kubernetes

kubernetes.io

🌐 Resources πŸ”—

  • Kubernetes Docs

    • Kubernetes Components

  • Kubernetes Learning Path - NotHarshhaa

Backups

  • Velero: https://github.com/vmware-tanzu/velero

Serverless

  • Knative: https://github.com/knative

Labs

  • Kubernetes Goat


Kubernetes Intro


Kubernetes Components

Kubernetes Components - kubernetes.io

Kubernetes Cluster Architecture

Kubernetes Cluster Architecture - kubernetes.io

minikube and kubectl

  • minikube

  • kubectl

Commands for the minikube cluster


Labs

TechWorld with Nana

  • bootcamp-kubernetes - TechWorld with Nana

  • online-shop-microservices-deployment - TechWorld with Nana

  • GoogleCloudPlatform - microservices-demo: Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.

Kubernetes Goat

PreviousGitNextTerraform

Last updated 9 days ago

Was this helpful?

  • 🌐 Resources πŸ”—
  • Kubernetes Intro
  • Kubernetes Components
  • Kubernetes Cluster Architecture
  • minikube and kubectl
  • Labs
  • TechWorld with Nana
  • Kubernetes Goat

Was this helpful?

# Install minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.deb
# Install kubectl
sudo sh -c '
	sudo apt install -y apt-transport-https ca-certificates curl gnupg
	sudo mkdir -p -m 755 /etc/apt/keyrings
	curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.33/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
	chmod 644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg
	echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list
	chmod 644 /etc/apt/sources.list.d/kubernetes.list
	sudo apt update && sudo apt install -y kubectl
'
mkdir -p $HOME/.kube
sudo touch -f $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube && chmod 700 $HOME/.kube
sudo chown $(id -u):$(id -g) $HOME/.kube/config && chmod 600 $HOME/.kube/config
minikube start
# Start specific version or to Upgrade
minikube start --kubernetes-version=v1.31.0

minikube stop

# Deletes local cluster
minikube delete
mkdir -p $HOME/repo/techworld
cd $HOME/repo/techworld

git clone https://gitlab.com/nanuchi/bootcamp-kubernetes.git
git clone https://gitlab.com/nanuchi/online-shop-microservices-deployment.git
git clone --depth 1 --branch v0 https://github.com/GoogleCloudPlatform/microservices-demo.git
# Pre-requisites:
# 1. Ensure you have admin access to the Kubernetes cluster
# 2. Install kubectl, helm
# Setup Kubernetes Goat
mkdir -p $HOME/repo
cd $HOME/repo

git clone https://github.com/madhuakula/kubernetes-goat.git
cd kubernetes-goat
chmod +x setup-kubernetes-goat.sh
bash setup-kubernetes-goat.sh