Giter Club home page Giter Club logo

k3s-cluster-kvm's Introduction

# k3s with primary and secondary nginx or istio ingress

Modify variables for environment
  * vi group_vars/all

Prereq for scripts
  * ansible-playbook install_dependencies.yml

Create guest OS with KVM
  * ansible-playbook playbook_terraform.yml

Install k3s:
  * ansible-playbook playbook_k3s_prereq.yml
  * ansible-playbook playbook_k3s.yml

Install MetalLB and certificates
  * ansible-playbook playbook_metallb.yml
  * ansible-playbook playbook_certs.yml

Choose between NGINX Ingress or Istio Gateways
  * ansible-playbook playbook_nginx.yml
  * ansible-playbook playbook_nginx_test.yml
  OR
  * ansible-playbook playbook_istio.yml
  * ansible-playbook playbook_istio_test.yml

Validate kubectl locally:
  * export KUBECONFIG=/tmp/k3s-kubeconfig
  * kubectl get services -A

Validate ingress locally:
  * add entries to local /etc/hosts
    192.168.2.143 k3s.local
    192.168.2.144 k3s-secondary.local

  * test nginx ingress
    ./test-nginx-endpoints.sh
  OR
  * test istio ingress
    ./test-istio-endpoints.sh

k3s-cluster-kvm's People

Contributors

fabianlee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.