Code Monkey home page Code Monkey logo

auto-kube's Introduction

Auto Kube - Install Git/CI/CD/K8s automatically

Auto Kube is a collection of Ansible playbooks that install Git/CI/CD and Kubernetes On-premise.

Overview

Tested environment

Tested target machine environment likes below.

  • CPU Archtecture: x86_64 or arm64
  • OS: Ubuntu 20.04

Installation steps

  1. Install Ansible

    Ansible is one of IT automation tools. You need to install it first to use this.

    Install Ansible

  2. Set target machine IPs & users

    You must set your target information(IP and user name) to the "ansible/inventories/vbox.yaml". You can put same IP address and user name onto different items, then those items will be installed on the same machine.

  3. Set variables

    You can skip this step, but if you want to set your variables, see "ansible/plabooks/vars.yaml". You can specify tool versions, domain names, etc.

  4. Execute "/ansible/ext.sh" to install the external part

    ext.sh creates and copies a ssh key to communicate with the target machines. And it installs DNS(CoreDNS), Proxy(Envoy), Registry(Harbor), Git(Gitea), and CI(Jenkins) onto the target machines.

  5. Execute "/ansible/init.sh" to setup environment for Kubernetes cluster

    init.sh do the jobs for ssh key and it installs basic Kubernetes tools.

  6. Execute "/ansible/cluster.sh" to install Kubernetes cluster

    cluster.sh installs Kubernetes, CNI(Cilium), LoadBalancer(MetalLB), Dashboard(Kubernetes Dashboard), and CD(Argo CD) onto the target machines.

Tutorial

  1. Tutorial using VirtualBox

auto-kube's People

Contributors

ecoricemon avatar

Forkers

webclinic017

auto-kube's Issues

Access Denied and Ask about 10.0.3.199 / 10.0.3.198

1

image

  • I installed openssh-server in vmdesk
  • And have NatNetwork
  • Configure ip4v like that :
    image
    But access denid : Can you give a solution , please

2

image

  • I can access with 10.0.3.11:port when i check by :kubectl get all -n argocd
  • But can't access with 10.0.3.188 or 10.0.3.199
  • Why ? and can you show me a solution

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.