Giter VIP home page Giter VIP logo

k8s-crunchy-pgs's Introduction

k8s-crunchy-pgs

small k8s cluster to be used for crunchy postgresql demos. Implemented with flux, so to get up and running for yourself:

Create the cluster

❯ k3d cluster create --config=k3d.yaml
INFO[0000] Using config file k3d.yaml (k3d.io/v1alpha4#simple) 
INFO[0000] portmapping '8081:80' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy] 
INFO[0000] portmapping '443:443' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy] 
INFO[0000] Prep: Network                                
INFO[0000] Created network 'k3d-crunchy'                
INFO[0000] Created image volume k3d-crunchy-images      
INFO[0000] Starting new tools node...                   
INFO[0000] Starting Node 'k3d-crunchy-tools'            
INFO[0001] Creating node 'k3d-crunchy-server-0'         
INFO[0001] Creating node 'k3d-crunchy-agent-0'          
INFO[0001] Creating node 'k3d-crunchy-agent-1'          
INFO[0001] Creating node 'k3d-crunchy-agent-2'          
INFO[0001] Creating LoadBalancer 'k3d-crunchy-serverlb' 
INFO[0001] Using the k3d-tools node to gather environment information 
INFO[0001] HostIP: using network gateway 172.24.0.1 address 
INFO[0001] Starting cluster 'crunchy'                   
INFO[0001] Starting servers...                          
INFO[0001] Starting Node 'k3d-crunchy-server-0'         
INFO[0007] Starting agents...                           
INFO[0008] Starting Node 'k3d-crunchy-agent-1'          
INFO[0008] Starting Node 'k3d-crunchy-agent-0'          
INFO[0008] Starting Node 'k3d-crunchy-agent-2'          
INFO[0018] Starting helpers...                          
INFO[0018] Starting Node 'k3d-crunchy-serverlb'         
INFO[0025] Injecting records for hostAliases (incl. host.k3d.internal) and for 5 network members into CoreDNS configmap... 
INFO[0028] Cluster 'crunchy' created successfully!      
INFO[0028] You can now use it like this:                
kubectl cluster-info

Boostrap (this'll take a few minutes)

Remember to use the name of your repo in the repository argument.

flux bootstrap github \
--owner=$GITHUB_USER \
--repository=k8s-crunchy-pgs \
--branch=main \
--path=./ops \
--personal

k8s-crunchy-pgs's People

Contributors

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