refact #1

Merged
accidentallycompetent merged 3 commits from refactai into main 2023-11-06 16:47:07 +00:00
8 changed files with 147 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Helm resources
charts/**/Chart.lock
charts/**/charts

15
ATTRIBUTION.md Normal file
View File

@ -0,0 +1,15 @@
# Source Material Attribution
## k8s-at-home/library-charts
This project is based on the public archive of https://github.com/k8s-at-home/library-charts which is made available under Apache 2.0 license.
The full list of original contributors can be found in the project's [readme](ttps://github.com/k8s-at-home/library-charts#contributors-), formatted in accordance to the [all contributors](ttps://github.com/all-contributors/all-contributors) specification. The short hand list is below:
- [Bᴇʀɴᴅ Sʜʀɢᴇʀs](https://github.com/bjw-s)
- [ᗪєνιη ᗷυнʟ](https://github.com/onedr0p)
- [Angel Nunez Mencias](https://github.com/angelnu)
- [Winston R. Milling](https://winston.milli.ng/)
- [Nicholas St. Germain](https://cajun.pro/)
- [billtomturner](https://github.com/billtomturner)
- [jr0dd](https://github.com/jr0dd)- [Allen Porter](https://github.com/allenporter)
- [Alex Babel]("http://alexbabel.com")
- [Cian Gallagher](https://ciangallagher.net)

View File

@ -1,2 +1,9 @@
# chart-catalog
# OctoCloudLab Chart Catalog Repository
This repository contains application-specific helm charts with sane default values. All the harts in this catalog are based on the octocloudlab library chart you can find here: [https://teapot.octopusx.de/octocloudlab/library-chart](https://teapot.octopusx.de/octocloudlab/library-chart).
## Usage
To find out how to use each chart please refer to the README.md generated by helm-docs in each of the chart folders.
## Attribution
This chart repository is inspired by and borrows a lot of content from the now archived k8s-at-home repository, which is still available here: [https://github.com/k8s-at-home/charts](https://github.com/k8s-at-home/charts). For full attribution please refer to the [ATTRIBUTION.md](https://teapot.octopusx.de/octocloudlab/chart-catalog/src/branch/main/ATTRIBUTION.md) file.

24
charts/refact/Chart.yaml Normal file
View File

@ -0,0 +1,24 @@
---
apiVersion: v2
appVersion: "v1.1.0"
description: A self-hosted open-source alternative to Copilot.
name: refact
version: 0.1.0
kubeVersion: ">= 1.16.0-0"
keywords:
- refact
- ai
- gpu
- llm
home: https://teapot.octopusx.de/octocloudlab/chart-catalog/src/branch/main/charts/refact
icon: https://github.com/smallcloudai/refact/blob/main/refact-logo.svg
sources:
- https://github.com/smallcloudai/refact
maintainers:
- name: accidentallycompetent
email: accidentallycompetent@octopusx.de
dependencies:
- name: common
repository: https://git.octopusx.de/api/packages/octopusx/helm
version: 4.5.2

41
charts/refact/README.md Normal file
View File

@ -0,0 +1,41 @@
# refact
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v1.1.0](https://img.shields.io/badge/AppVersion-v1.1.0-informational?style=flat-square)
A self-hosted open-source alternative to Copilot.
**Homepage:** <https://teapot.octopusx.de/octocloudlab/chart-catalog/src/branch/main/charts/refact>
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| accidentallycompetent | <accidentallycompetent@octopusx.de> | |
## Source Code
* <https://github.com/smallcloudai/refact>
## Requirements
Kubernetes: `>= 1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://git.octopusx.de/api/packages/octopusx/helm | common | 4.5.2 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | See values.yaml | Configures the affinity settings for the chart under this key. This can be used to force the deployment to run on a GPU-specific node. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"smallcloud/refact_self_hosting"` | image repository |
| image.tag | string | chart.appVersion | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| runtimeClassName | string | See values.yaml | Configures the runtime settings for the chart under this key. This can be used to configure your GPU-specific runtime environment name to the deployment. |
| service | object | See values.yaml | Configures service settings for the chart. |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3)

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1 @@
{{ include "common.all" . }}

54
charts/refact/values.yaml Normal file
View File

@ -0,0 +1,54 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://teapot.octopusx.de/octocloudlab/library-chart/src/branch/main/chart/values.yaml
#
image:
# -- image repository
repository: smallcloud/refact_self_hosting
# -- image tag
# @default -- chart.appVersion
tag: latest
# -- image pull policy
pullPolicy: IfNotPresent
# -- Configures the runtime settings for the chart under this key.
# This can be used to configure your GPU-specific runtime environment name to the deployment.
# @default -- See values.yaml
runtimeClassName: ""
# -- Configures the affinity settings for the chart under this key.
# This can be used to force the deployment to run on a GPU-specific node.
# @default -- See values.yaml
affinity: {}
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: gpu
# operator: Exists
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
port: 8008
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: {}
# perm_storage:
# enabled: false
# accessMode: ReadWriteOnce
# size: 50Gi
# mountPath: /perm_storage