Skip to content

Commit

Permalink
Test k3s edge (#28)
Browse files Browse the repository at this point in the history
* 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]>

---------

Signed-off-by: Alexandre Peixoto Ferreira <[email protected]>
  • Loading branch information
alexandref75 authored Feb 23, 2023
1 parent 12b1bc0 commit 4e724a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/smarter-k3s-edge/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: smarter-k3s-edge
version: 0.0.4
version: 0.0.5
type: application
appVersion: v1.25.3-k3s1
description: K3s server on kubernetes
Expand Down
16 changes: 8 additions & 8 deletions charts/smarter-k3s-edge/templates/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ data:
export K3S_TOKEN=$(cat token.{{ .Values.configuration.id }})
export K3S_URL=$(grep server: k3s.yaml.{{ .Values.configuration.id }} | sed -e "s/^ *.server: *//")
curl -sfL https://get.k3s.io | \\
sh -s - \\
--kubelet-arg cluster-dns=169.254.0.2 \\
--log /var/log/k3s.log \\
--node-label smarter.nodetype=unknown \\
--node-label smarter.nodemodel=unknown \\
--node-label smarter.type=edge \\
--node-taint smarter.type=edge:NoSchedule \\
curl -sfL https://get.k3s.io | \
sh -s - \
--kubelet-arg cluster-dns=169.254.0.2 \
--log /var/log/k3s.log \
--node-label smarter.nodetype=unknown \
--node-label smarter.nodemodel=unknown \
--node-label smarter.type=edge \
--node-taint smarter.type=edge:NoSchedule \
--node-label smarter-build=user-installed
nginx-start.sh: |
#!/bin/bash
Expand Down

0 comments on commit 4e724a6

Please sign in to comment.