GithubHelp home page GithubHelp logo

k8s-ocis's Introduction

k8s-ocis

A collection of kubectl yaml files to deploy ocis onto kubernetes. Customisation is provided via kustomize. Official helm still beta.

Requirements

  • Kustomize
  • Kubernetes Cluster (I'd recommend RKE2 from Rancher)

These are not necessary but useful if you want to store your data outside the cluster.

  • TrueNAS
  • Democratic-csi (For auto creating NFS/ISCSI shares on TrueNAS)

Kustomize

Pretty simple to install. It does come with kubectl but if you want the latest one you can use docker.

docker pull k8s.gcr.io/kustomize/kustomize:v3.8.7

Then running a command via it:

docker run k8s.gcr.io/kustomize/kustomize:v3.8.7 version

Install/Deployment

Copy the example overlays folder so you can customise to your liking. I have provided examples of changing the most common things, but you can change most parts via kustomize.

Example Values:

OCIS_OIDC_ISSUER:

https://keycloak_url/realms/home

Via kubectl

Build the templates to see what they look like without applying.

kubectl kustomize overlays/custom

Deploy to the cluster.

kubectl apply -k overlays/custom

Via docker kustomize

Build the templates to see what they look like without applying.

docker run -v absolute_path_to_checkout:/k8s k8s.gcr.io/kustomize/kustomize:v3.8.7 build /k8s/overlays/custom

Deploy to the cluster.

docker run -v absolute_path_to_checkout:/k8s k8s.gcr.io/kustomize/kustomize:v3.8.7 build /k8s/overlays/custom | kubectl apply -f -

More info: Kustomize

k8s-ocis's People

Contributors

monotok avatar

Stargazers

 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.