Giter Site home page Giter Site logo

Comments (2)

zimmertr avatar zimmertr commented on July 28, 2024

TKS is a collection of my personal IAC/CAC for deploying K8s and other cloud native software and apps into my homelab. It's an ever-evolving project that is based on my current curiosity and hardware. Right now, everything as written assumes the use of ZFS. That being said, nothing requires the use of ZFS. And nothing prevents the use of ceph. You just might have to tweak things a bit. A lot of what you'll find here are examples of how I do things based on my environment. When I can, however, I allow things to work with alternative configurations via the use of declarative variables.

Here are some areas I think you might need to tweak things.

  1. Block/File Storage is used by TKS-Bootstrap_Kubernetes to run virtual machines on Proxmox. Virtual Machines are provisioned using Telmate's Terraform provider here. The Terraform provider documents the use of the Storage argument in the provider here. Since the Terraform providers currently receive the values for these arguments via the variables TKS_STORAGE and TKS_STORAGE_TYPE you probably just have to set them according to the values shown here and hope that the Terraform provider supports it. It probably will but it's not officially maintained by Proxmox so your results may vary.

  2. Should you choose to stand up the monitoring stack using TKS-Bootstrap_Grafana you will similarly have to set the GRAFANA_STORAGE and GRAFANA_STORAGE_TYPE variables according to your environment.

  3. With respect to Kubernetes, TKS doesn't force you to use any type of backing Storage Class for your data. I personally export my ZFS pool as a NFS server and then map Persistent Volumes to it using this operator. In your case, you'll probably want to explore using Rook with Ceph. After which if you define a default storage class the rest of the Kustomize & Ansible projects defined for TKS-Deploy_Kubernetes_Apps should be able to provision PVs and PVCs out of the box. This is the beauty of Kubernetes & the infrastructure abstractions it affords us :)

The TKS-Bootstrap_Proxmox repo may make things look incompatible because I am leveraging ZFS & hardware RAIDs. But please understand these are not hard requirements. Just examples of how I do things. They can effectively be skipped over as long as you set the variables properly in 1 & 2 above.

I hope this helps, please let me know how things go for you. I'll leave this open for now and close with the assumption things work if I don't hear back from you.

from tjs-kubernetes-service.

zimmertr avatar zimmertr commented on July 28, 2024

Closing due to lack of followup.....

from tjs-kubernetes-service.

Related Issues (10)

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.