eager-hair-74809
07/17/2023, 5:07 PMeager-hair-74809
07/17/2023, 6:34 PMwide-garage-9465
07/17/2023, 6:37 PMair
to make that work for compiled languages ( Go in this case).
Otherwise there are e.g. tilt or skaffold for dev loops.
In acorn (acorn.io) we have a built-in dev mode even.delightful-magazine-1348
07/19/2023, 11:44 AMWaiting to retrieve agent configuration; server is not ready: failed to retrieve configuration from server: <https://127.0.0.1:6444/v1-k3s/config>: 401 Unauthorized
, now, server is ready and agents is not ready in k3d cluster, so what should i do for resolving this problem?handsome-salesclerk-54324
07/20/2023, 12:33 PMhandsome-salesclerk-54324
07/23/2023, 3:18 PMK3D_FIX_DNS=1
is still required/currently works what's the current status on this issue?thankful-insurance-4058
07/25/2023, 12:15 PMk3d-dind
still a thing? I found mentions in older articles (2021) and 1yo image in Rancher dockerhub. I am interested in controlling cluster spin up/down with docker-compose lifecycle. so k3d-dind
seems like a perfect option for me.gorgeous-pizza-36569
07/26/2023, 11:59 AMwooden-coat-97755
07/28/2023, 11:19 AMthankful-insurance-4058
07/31/2023, 7:34 AMk3d:sha1-1afe-dind
image. Getting same issue as in this thread ,
ip: can't find device 'ip_tables'
Author solved it by building own dockerimage with ip_tables
installed, but it seems not very maintainable for me. Github issues does not mention it. What am I doing wrong? WSL. k3d
binary worked perfectly.thankful-insurance-4058
08/01/2023, 8:28 AM<http://ghcr.io/k3d-io/k3d:5.5.1-dind|ghcr.io/k3d-io/k3d:5.5.1-dind>
container, and configfile directory is volume-mounted to container. I'd like to achieve smth like official postgres container that runs everything in docker-entrypoint-initdb.d
directory after db engine start (e.g. to have some dataset populated). So I'd like k3d
to create my cluster after start, without doing custom image based on k3d-dind
.
• Overwriting command
or entrypoint
dos not look like the best option, (would mean having combo of calling default entrypoint plus cluster creation command), though seems easily doable.
• Another idea would be some one-off container calling creation command, but k3d
does not seem to expose some callable gimmicks out of container, and running docker exec <k3d_container> /bin/k3d create --config <..>
from other privileged container
Any thoughts?little-dress-13576
08/01/2023, 5:35 PM<https://github.com/k3d-io/k3d/discussions/685>
wide-garage-9465
08/03/2023, 6:17 AMhandsome-salesclerk-54324
08/03/2023, 8:33 PMgorgeous-pizza-36569
08/04/2023, 1:27 PMK3D_FIX_DNS=1
and otherwise default networking settings. The resolv.conf
points to the docker network gateway, as expected (in this case 192.168.30.129
).
The issue: After restarting the docker service (`systemctl restart docker`; live-restore
is enabled in docker’s daemon.json
– not sure if relevant) DNS resolution no longer works (nslookup: write to '192.168.30.129': Connection refused \n ;; connection timed out; no servers could be reached
). It starts working again after restarting the container (docker stop/start …
or k3d node stop/start …
).handsome-salesclerk-54324
08/05/2023, 11:13 AMwide-oil-9550
08/10/2023, 12:28 PMhandsome-salesclerk-54324
08/10/2023, 3:09 PMproud-apple-21954
08/13/2023, 8:48 AMk3d cluster stop k3d-mycluster
but I'm getting FATA[0000] No nodes found for given cluster
. Running kubectl get nodes
gives:
NAME STATUS ROLES AGE VERSION
k3d-mycluster-server-0 Ready control-plane,master 23h v1.27.4+k3s1
I'm trying to restart my k3d cluster as I need to add a node to itproud-apple-21954
08/13/2023, 6:50 PMk3d cluster start mycluster
but upon running kubectl get nodes
, I'm getting:
E0814 00:10:03.266044 847233 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0814 00:10:03.266545 847233 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0814 00:10:03.267919 847233 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0814 00:10:03.269223 847233 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0814 00:10:03.270505 847233 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
wide-garage-9465
08/21/2023, 12:21 PMthankful-insurance-4058
08/21/2023, 12:45 PMK3D_FIX_DNS=1
still a thing, or it is considered to be fixed?thankful-insurance-4058
08/23/2023, 11:42 AMk3d
or k3s
but there were similar questions in k3d
github. Corporate root CA propagation to pods. I start k3d
create cluster using config file. I have company.pem
which allows to access company's docker registry. I add helm chart to k3s-manifests-custom
volume and Helm controller starts installing it. Helm chart describes deployment that uses image pulled from company's registry. Ofc it gets Error: ImagePullBackOff
because of Head "<https://company-registry:5555/v2/my-image/manifests/my-tag>": tls: failed to verify certificate: x509: certificate signed by unknown authority
In regular local env usually company.pem
is pulled with curl (from accessible location) and appended to etc/ssl/certs/ca-certificates.crt
.
I tried to map dir containing company.pem
to /var/lib/rancher/k3s/server/tls
, to /etc/ssl/certs
(whole dir as well), pass volume in k3d cluster config to server.. No success. I might be lost in this chain, what would be the correct way? Is image pulled by k3s server container env?magnificent-midnight-15169
08/23/2023, 4:29 PMacceptable-soccer-28720
08/25/2023, 7:45 AMnameserver 1.2.3.4
options edns0 trust-ad
search <http://my.domain.com|my.domain.com>
error:
[ERROR] plugin/errors: 2 <http://my.domain.com|my.domain.com>. AAAA: read udp 10.11.12.13:35888->8.8.8.8:53: i/o timeout
[ERROR] plugin/errors: 2 <http://my.domain.com|my.domain.com>. A: read udp 10.11.12.13:47750->8.8.8.8:53: i/o timeout
[ERROR] plugin/errors: 2 <http://my.domain.com|my.domain.com>. A: read udp 10.11.12.13:34842->8.8.8.8:53: i/o timeout
[ERROR] plugin/errors: 2 <http://my.domain.com|my.domain.com>. AAAA: read udp 10.11.12.13:45266->8.8.8.8:53: i/o timeout
ancient-florist-59155
09/06/2023, 6:47 PMancient-florist-59155
09/06/2023, 6:48 PMrough-farmer-49135
09/08/2023, 2:47 PMdocker ps
works, but trying to run k3d gets -bash: /usr/local/bin/k3d: Operation not permitted
. file permissiosn are 755 and SELinux was enforcing on both installs so I don't think it's the SELinux context. I tossed a shell script with an echo command in /usr/local/bin/test.sh and set to 755 and it echoed properly.
Any idea what kinda' lockdown is breaking it with normal user permission?handsome-salesclerk-54324
09/16/2023, 12:20 PMhandsome-salesclerk-54324
09/16/2023, 3:07 PM