Questions tagged [k3d]

k3d creates containerized k3s clusters. It allows spinning up multi-node clusters on a single machine with docker.

k3s is the lightweight Kubernetes distribution by Rancher: rancher/k3s

k3d creates containerized k3s clusters. This means, that you can spin up a multi-node k3s cluster on a single machine using docker.

44 questions
1
vote
1 answer

Local Kubernetes Deployment using k3d - where should I push the docker images to?

There is this example project on GitHub that I'm trying to deploy on local Kubernetes cluster (k3d). The developers of Proto.Actor described the k8s deployment pretty much here in the official docs. The problem is that the documentation is deploying…
nop
  • 4,711
  • 6
  • 32
  • 93
1
vote
1 answer

k3d multi cluster communication

Assuming having 2 separate k3d clusters (namely: vault, dev) is there is a way to have a distinct URL for each cluster (preferably with https) for example: vault.cluster.internal and dev.cluster.internal and allow apps deployed in…
a14m
  • 7,808
  • 8
  • 50
  • 67
1
vote
0 answers

Access k3d service from an external system on a different network

I have a Rocky Linux (Vagrant VM) on which I have created a k3d cluster and using metallb to assign IP addresses for my services. I am able to access the services(keycloak) from the Vagrant machine. But I am wondering if there is a way to access…
Umesh
  • 19
  • 5
1
vote
0 answers

K3d gives "Error response from daemon: invalid reference format" error

I'm trying to run k3d with a previous version of k8s (v1.20.2, which matches the current version of k8s on OVH). I understand that the correct way of doing this is to specify the image of k3s in the config file. Running this fails with: Error…
Preston
  • 7,399
  • 8
  • 54
  • 84
1
vote
1 answer

How to expose two apps/services over unique ports with k3d?

*Cross-posted from k3d GitHub Discussion: https://github.com/rancher/k3d/discussions/690 I am attempting to expose two services over two ports. As an alternative, I'd also love to know how to expose them over the same port and use different routes.…
Eric Swanson
  • 820
  • 1
  • 9
  • 19
1
vote
0 answers

Local Docker registry in K3d and OpenFaas

I am tinkering around with OpenFaas and K3D in order to build a serverless infrastructure for local development. For this to work efficiently I wanted to add a docker registry locally with K3D and have OpenFaas pull images from there, however I am…
khusseini
  • 174
  • 1
  • 7
0
votes
0 answers

how to install Kyma in local k3s cluster not inside k3d?

Following the local install guide for Kyma , I have setup a kyma cluster inside k3d, so the entire kubernetes cluster is basically running within a docker container. This is where I'm at right now Host Machine -> k3d (docker container) -> k3s ->…
0
votes
1 answer

Invalid host header when running k3d clusterRun

I am attempting to run a k3d cluster on a linux ubuntu machine using the following config: { "clusterToken": "123123123132", "imageVolume": "k3d-tl-images", "InitNode": null, "kubeAPI": { "Binding": { "HostIp":…
Yuval Feldman
  • 149
  • 1
  • 1
  • 9
0
votes
0 answers

Why cant my local nginx webserver resolve to the defined path?

Circumstances: Win 10 Pro Docker Engine WSL2 k3d version v5.5.1 k3s version v1.26.4-k3s1 local host file entry 127.0.0.1 to testcluster (only want to access it locally) Cluster creation via: k3d cluster create -p "80:80@loadbalancer" --agents 3 IP…
maqz
  • 28
  • 5
0
votes
1 answer

Problem setting up an ingress traefik to be able to reach host port 8888 with k3d, argocd and a docker app

I'm facing a problem to configure an ingress for traefik. The design is simple : I want to be able to reach port 8888 and 8080 from the host via a CI/CD flow with argocd and a simple docker application, all the stuff embedded in a cluster created…
Batche
  • 65
  • 1
  • 8
0
votes
0 answers

Unable to access ingress IP in k3s using Lima or k3d on Mac M1

I'm trying to set up a Kubernetes cluster on my Mac M1 using k3s and either Lima or k3d with Rancher. I have successfully deployed my application and created an ingress, but I'm having trouble accessing it. The ingress appears to be generated with…
0
votes
1 answer

The connection to the server localhost:8080 was refused in kubectl

I installed kubectl and k3d after following these official documentations (k3d and kubectl). I created a cluster with the following command: k3d cluster create mycluster Then I ran this command: kubectl cluster-info Which gave me this error…
arrmani88
  • 756
  • 8
  • 25
0
votes
0 answers

How to scrape jmeter metrics by Prometheus running in Kubernetes?

I'm running a test application and Jmeter on one cluster and Prometheus in a separate Kubernetes cluster, all created on the same bare metal. Through LB, I can access my application from company intranet as "host ip:8080" and access prometheus as…
J Jena
  • 51
  • 3
0
votes
0 answers

Deploy magento2 on a kubernet cluster

I run magento 2 on my local with docker. It works like a charm. But now I would like to pass the next step, and deploying a registry image of my magento2 (gitlab registry with gitlab-ci in my case) in a k3d cluster in my personal server. I don't…
R Lopez
  • 167
  • 1
  • 1
  • 12
0
votes
1 answer

Accessing service from custom port using k3d and traefik

I am trying to configure traefik and loadbalancer to accept traffic from host port 9200. Everything works fine for port 8443 (websecure). I am using k3d and traefik is initially disabled. I can curl my "2048" service from my macos host. The ingress…
Bjarte Brandt
  • 4,191
  • 2
  • 23
  • 25