diff --git a/README.md b/README.md index b225e6e..ef724ee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# documentation-snippets -This is the companion repository for Qovery's documentation +# Qovery's snippets for documentation + +This is the companion repository for [Qovery's documentation](https://github.com/Qovery/documentation/tree/main) diff --git a/karpenter-daemonset-priority-class/Chart.yaml b/karpenter-daemonset-priority-class/Chart.yaml new file mode 100644 index 0000000..02365e0 --- /dev/null +++ b/karpenter-daemonset-priority-class/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: karpenter-daemonset-priorityclass +description: A Helm chart to create a PriorityClass for Karpenter DaemonSets +version: 0.1.0 +appVersion: "1.0" diff --git a/karpenter-daemonset-priority-class/README.md b/karpenter-daemonset-priority-class/README.md new file mode 100644 index 0000000..0b42121 --- /dev/null +++ b/karpenter-daemonset-priority-class/README.md @@ -0,0 +1,11 @@ +# karpenter-daemonset-priority-class + +Simple demo folder to deploy a Helm Chart with a Priority class + +## Install locally + +It is possible to install this Helm chart locally by running: + +```shell +helm install karpenter-daemonset-priorityclass . +``` diff --git a/karpenter-daemonset-priority-class/templates/priorityclass.yaml b/karpenter-daemonset-priority-class/templates/priorityclass.yaml new file mode 100644 index 0000000..76b76d4 --- /dev/null +++ b/karpenter-daemonset-priority-class/templates/priorityclass.yaml @@ -0,0 +1,7 @@ +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: {{ .Values.priorityClass.name }} +value: {{ .Values.priorityClass.value }} +globalDefault: {{ .Values.priorityClass.globalDefault }} +description: {{ .Values.priorityClass.description }} diff --git a/karpenter-daemonset-priority-class/values.yaml b/karpenter-daemonset-priority-class/values.yaml new file mode 100644 index 0000000..c94b3cb --- /dev/null +++ b/karpenter-daemonset-priority-class/values.yaml @@ -0,0 +1,5 @@ +priorityClass: + name: karpenter-daemonset-priorityclass + value: 1000 + globalDefault: false + description: "Priority class for Karpenter DaemonSets"