Giter VIP home page Giter VIP logo

k8s-vagrant-libvirt's Introduction

k8s-vagrant-libvirt

Kubernetes install with vagrant libvirt

准备

安装 vagrant, libvirt

安装

git clone https://github.com/eviltomorrow/k8s-vagrant-libvirt.git

启用 CNI

  • 使用 calico,打开 # calico 下最后两行的注释, 进入目录,执行 vagrant up,等待安装完成
# kubectl create -f /vagrant/conf/tigera-operator.yaml
# kubectl create -f /vagrant/conf/custom-resources.yaml
  • 使用 clilium,打开 # calico 下最后两行的注释, 进入目录,执行 vagrant up,等待安装完成(耗时长)
# mkdir -p /usr/local/app/helm; tar zxvfC /vagrant/bin/helm-v3.12.2-linux-amd64.tar.gz /usr/local/app/helm; ln -s /usr/local/app/helm/linux-amd64/helm /usr/local/bin/helm
# helm repo add cilium https://helm.cilium.io
# kubectl create namespace cilium-system
# helm install cilium cilium/cilium --namespace cilium-system --set hubble.relay.enabled=true --set hubble.ui.enabled=true --set prometheus.enabled=true --set operator.prometheus.enabled=true --set hubble.enabled=true --set hubble.metrics.enabled="{dns,drop,tcp,flow,port-distribution,icmp,http}"

注意:安装完成后,有的 pod 会是 error 状态,重启虚拟机就 OK 了

k8s-vagrant-libvirt's People

Contributors

eviltomorrow 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.