jimmiebfulton / kubernetes-local-setup

Documentation / Notes for setting up a local Kubernates environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Local Setup

Install XCode Command Line Tools

xcode-select --install

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install Docker

brew cask install docker

Install Kind

brew install kind
brew install tilt-dev/tap/tilt

K3d setup

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboard
spec:
  entryPoints:
    - web
  routes:
    - match: Host(`traefik.test`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService
kubectl apply -f dashboard.yml

About

Documentation / Notes for setting up a local Kubernates environment