Code Monkey home page Code Monkey logo

k8s's Introduction

File Structure

ansible │ ├── hosts │ ├── microk8s │ │ ├── tasks │ │ │ ├── addons.yml │ │ │ ├── install.yml │ │ │ └── main.yml │ │ └── vars │ │ └── main.yml │ ├── microk8s.yml │ ├── ssl │ │ ├── issuer.yml │ │ ├── tasks │ │ │ ├── cert-manager.yml │ │ │ ├── copy.yml │ │ │ └── main.yml │ │ └── values.yml │ └── ssl.yml ├── LICENSE └── README.md

How to Run this monstrosity and open up oblivian

Client can be anything (I really prefer Linux [either arch or gentoo] as long as it's got ansible and ansible-playbook installed. Installing ansible, well there are many different OS's and ways to install it. I installed it via the command line but what should be a universal way (in software there is no such thing, there is just hackish attempts) is to install it with pip (assuming pip is installed).

python -m pip install --user ansible

You're also going to need git.

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

The link below, should also help if need me.

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

Clone the repo.

git clone [email protected]:silverraindog/k8s.git

Now open up these files

DIR File Tochange
ansible host Hostname_change
ansible/microk8s/tasks/ install.yml Username_change
ansible/microk8s/tasks/ install.yml Wordpress_password
ansible/microk8s/tasks/ install.yml DB_root_password
ansible/microk8s/tasks/ install.yml Domain_name
ansible/ssl/tasks/ issuer.yml Email_change

NB

looking at some posts when I ran in to an issue, it seems ansible has an issue with IP's. You're more than welcome to use an IP and I did for the majority of testing

Notes

I know there are better ways to do some of this in ansible, for instance, the passwords, can be encrypted in a vault,etc. This will happen some day (I do plan on using this for personal use)

Network Diagram

I have tried to put this in to the Readme but I am unable to get it to work. The picture is in the repo.

Sources used.

https://github.com/istvano/ansible_role_microk8s https://bitnami.com/stack/wordpress/helm https://github.com/bitnami/charts/tree/master/bitnami/wordpress/ https://github.com/JessicaGreben/example-nodejs/tree/master/deploy/cert-manager-setup

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.