-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When I try to add k3s>extraArgs># with arg: --bind-address I get:
[DEBUG] Traceback (most recent call last):
File "getdeck.provider.utility_provider", line 102, in _create
File "getdeck.utils", line 131, in _execute
File "codecs", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 109: invalid start byte
Traceback (most recent call last):
File "getdeck.__main__", line 175, in main
File "getdeck.api.utils", line 10, in wrapper
File "getdeck.api.get", line 50, in run_deck
File "getdeck.provider.k3d", line 64, in create
File "getdeck.provider.utility_provider", line 116, in _create
File "getdeck.provider.utility_provider", line 102, in _create
File "getdeck.utils", line 131, in _execute
File "codecs", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 109: invalid start byte
[CRITICAL] There was an error running deck: 'utf-8' codec can't decode byte 0xba in position 109: invalid start byte
I thought it was something in my file but that doesn't look to be so.
What did you expect to happen?
It passes the command without error.
How can we reproduce it (as minimally and precisely as possible)?
What is the content of the Deckfile you are using?
version: "1"
# the cluster configuration across all decks
cluster:
provider: k3d
minVersion: 4.0.0
name: kubeinator
nativeConfig:
apiVersion: k3d.io/v1alpha4
kind: Simple
servers: 1
agents: 0
kubeAPI:
hostIP: "192.168.0.4"
hostPort: "6443"
image: rancher/k3s:v1.25.3-k3s1
network: br0
options:
k3s: # options passed on to K3s itself
extraArgs:
- arg: --advertise-address=192.168.0.4
nodeFilters:
- server:*
ports:
# portainer
- port: 9000:9000
- port: 9443:9443
- port: 8000:8000
- port: '80:80' # web
decks:
- name: homelab-test
namespace: homelab-test
sources:
# test service
- type: helm
ref: https://portainer.github.io/k8s/
chart: portainer
releaseName: portainer
parameters:
- name: service.type
value: LoadBalancer
OS version
NAME=Slackware
VERSION="15.0"
ID=slackware
VERSION_ID=15.0
PRETTY_NAME="Slackware 15.0 x86_64 (post 15.0 -current)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:15.0"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
VERSION_CODENAME=current
Anything else we need to know?
I am still trying to see if it's something wrong with my input. My goal is to set the IP to be different then the host IP but on the same subnet. I think it's quite possible that the error is just not being caught and crashing here, something like the IP I set is wrong but that output is getting lost.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working