Skip to content

Commit 3bffbe8

Browse files
authored
Test k3s edge (#30)
* Change k3s.yaml from 127.0.0.1 to correct IP Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Fix chart version so artifacts are created Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Fix k3s-start.sh script Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Allow grafana host to be renamed Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Add support for labeling node automatically Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> --------- Signed-off-by: Alexandre Peixoto Ferreira <[email protected]>
1 parent ae51209 commit 3bffbe8

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

charts/smarter-k3s-edge/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: smarter-k3s-edge
3-
version: 0.0.5
3+
version: 0.0.6
44
type: application
55
appVersion: v1.25.3-k3s1
66
description: K3s server on kubernetes

charts/smarter-k3s-edge/templates/common.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ data:
126126
--node-label smarter.nodemodel=unknown \
127127
--node-label smarter.type=edge \
128128
--node-taint smarter.type=edge:NoSchedule \
129+
{{- if .Values.configuration.smarter_demo_labels }}
130+
--node-label smarter-audio-client=enabled \
131+
--node-label smarter-gstreamer=enabled \
132+
--node-label smarter-image-detector=enabled \
133+
--node-label smarter-pulseaudio=enabled \
134+
--node-label smarter-inference=enabled \
135+
--node-label smarter-fluent-bit=enabled \
136+
{{- end }}
129137
--node-label smarter-build=user-installed
130138
nginx-start.sh: |
131139
#!/bin/bash

charts/smarter-k3s-edge/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ configuration:
1616
port: 6443
1717
# Comment to remove NGINX
1818
portHTTPS: 6453
19-
# set id to paqssword
19+
# Uncomment to enable labeling for smarter-demo
20+
#smarter_demo_labels: true

0 commit comments

Comments
 (0)