186 questions
-3
votes
0
answers
69
views
Host Cannot Reach NodePort Service on Kind Cluster with Cilium eBPF Kube-Proxy Replacement [closed]
I set up a Kubernetes cluster using Kind with one master and two worker nodes, and implemented Cilium's eBPF kube-proxy replacement. I deployed an nginx application and exposed it externally via ...
-1
votes
1
answer
381
views
We are getting below issue while creating kind cluster using command : kind create cluster
]# kind create cluster
Creating cluster "kind" ...
✓ Ensuring node image (kindest/node:v1.33.1) 🖼
⠈⠑ Preparing nodes 📦
✓ Preparing nodes 📦
✓ Writing configuration 📜
✗ Starting ...
0
votes
0
answers
66
views
Istio Gateway API on localhost
I'm trying to deploy the most simple demo app. Two services foo-service and bar-service - both listen on 8080.
Now I want to visit http://localhost/foo and http://localhost/bar and see them.
Here's ...
1
vote
1
answer
178
views
APISIX ingress controller on Kind cluster not routing requests correctly
I am trying to setup APISIX gateway ingress controller enabled application (spring-boot) on a local KIND kubernetes cluster.
Here are the steps that I followed,
I was able to succesfully install and ...
0
votes
0
answers
50
views
how to enable cpu_rt_runtime in kubernetes
I want the defalut container(contained) in the k8s pod to use the parameter cpu-rt-runtime, so I modified the following part of the k8s code to test it
staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/...
0
votes
1
answer
101
views
How the K8s service port mapping works?
I have successully configured an external load balancer service with Kind (Kubernetes in Docker) using kind-cloud-provider. I can access the service using http://localhost:63238
Here is my yaml file (...
0
votes
1
answer
355
views
Using ingress controller with local kind deployment: is it feasible to access all services under one root URL?
I have a local kind deployment which deploys 3 services, MLflow, Katib and a K8s dashboard. I can deploy these as services and access them via port forwarding to each service and visiting the url in ...
0
votes
0
answers
75
views
Spring Boot can`t connect to Kafka in Kubernates
Im new in kafka and kubernates. Im using bitnami chart to deploy kafka in my kind cluster kubernetes (on my own server). Im trying to connect to kafka from my spring boot application, that started on ...
0
votes
1
answer
61
views
Drasi (Change data processing) not working as expected for "StoredProc" reaction
Source.yaml file:
apiVersion: v1
kind: Source
name: hello-world
spec:
kind: PostgreSQL
properties:
host: mydb1.amazonaws.com
user: meeran
port: 5432
ssl: false
password: ...
0
votes
1
answer
158
views
Can not create the most simple kubernetes cluster because of incorrect apiVersion for kind
I am following this guide to create a simple kubernetes cluster on my machine: https://www.appvia.io/blog/tutorial-deploy-kubernetes-cluster
When trying to run kind create cluster --name mycluster --...
0
votes
1
answer
182
views
How to expose a Kubernetes pod running under Azure VM
I have an Azure VM running ubuntu 22.04, I installed kind Kubernetes cluster as a Docker container inside the VM and deployed few pods on the k8s.
Now I would like to access some of the pods via ...
0
votes
1
answer
191
views
How to connect to MySQL server that requires ssh tunnel from Kubernetes pod?
I would like to know which is the best way to reach a MySQL database that is behind a ssh server.
So from DataGrip or DBeaver I need to use a ssh server to be inside the network to reach MySQL ...
0
votes
0
answers
140
views
The resource limit isn't being enforced on the Kubernetes cluster
I'm studying Kubernetes with a Kind cluster on my local machine. When I installed several apps using Helm charts, they consumed a lot of resources and shut down easily.
So, I set resource requests/...
0
votes
0
answers
34
views
Quarkus Kubernetes 3.12.3 does not add annotation to ingress in kind.yml
I have a quarkus application that defines kubernetes custom ingress annotation :
quarkus.kubernetes.ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target"=/$2
That's not an ...
1
vote
0
answers
107
views
Unable to install couchbase server on kubernetes cluster (memcached issue)
I am trying to deploy couchbase server on my local kind cluster (podman) using the offical couchbase docker image.
This is my couchbase-cluster.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name:...
0
votes
0
answers
147
views
Access kind cluster services from another Docker container
I've got a Kubernetes kind (https://kind.sigs.k8s.io/) cluster running locally and I put Postgres HA on it:
helm install postgres bitnami/postgresql-ha
That's all started up, and seems to be in the ...
1
vote
0
answers
120
views
Issue with Inter-Cluster Communication Between Apps in Different Kind Clusters
I have app1 and app2. The whole purpose of what I'm doing is to have one Go server (app1) deployed in one cluster which returns the IP of the caller and a Go server (app2) in another cluster that will ...
0
votes
1
answer
605
views
Next.js deployed locally with Kind - Error 502 Bad Gateway NGINX
I am locally testing a deployment to a kind cluster of my Next.js app and there seems to be a problem with Ingress that I just can't find the reason why I am getting error 502 Bad Gateway NGINX.
Here ...
0
votes
2
answers
118
views
K8s rbac - Service Account missing capabilities
i'm playing around a bit with kind, i was wondering why my service accounts "klubectl auth can-i" output won't be affected by given roles.
Steps to reproduce, starting with a basic kind ...
0
votes
0
answers
151
views
Metal LB In Kind Cluster does not Work as per documentation on MacOS
I Followed all the steps in MacOS https://kind.sigs.k8s.io/docs/user/loadbalancer/
but i could not create a external load balancer
% LB_IP=$(kubectl get svc/foo-service -o=jsonpath='{.status....
2
votes
1
answer
978
views
Running a Kind cluster inside a Gitlab CI/CD pipeline
I am using Gitlab CI/CD to store and automatically build and unit test most of my code at commit/push.
Outside of Gitlab the code runs in a Kind cluster. Because there is no Kind cluster currently ...
0
votes
1
answer
450
views
Unable to deploy docker image on Kind cluster using helm chart
I created a local registry localhost:5001 and created a docker image localhost:5001/example and pushed to the local registry.
I was deploying the docker image onto KinD cluster using helm chart.
...
0
votes
2
answers
100
views
URL of the pod deployed in Kind cluster is not working
I have dockerized a simple spring boot rest api app which lists the
employees for /employee endpoint.
I have created a helm chart and updated the values.yml with the image
name, service type as ...
0
votes
1
answer
3k
views
Kind cluster creation failing because of rootless provider and systemd property Delegate=yes
As a newbie to Podman and Kind, I'm having a very hard time running Kind in a rootless way on RHEL. It would be very helpful if someone had a clue.
When I run
$ kind create cluster
enabling ...
1
vote
1
answer
504
views
Is There a Golang way to create Kind Cluster
In Python we can create a kind cluster by
from pytest_kind import KindCluster
cluster = KindCluster("myclustername")
cluster.create()
cluster.kubectl("apply", "-f", &...
1
vote
0
answers
296
views
Kubernetes Cluster Host Mount Doesn't Work - Airflow Helm Chart
I am running the official Airflow helm chart from the apache-airflow/airflow repo on a kind cluster. Part of the data that this Airflow instance was setup to ETL is stored on the host file system, so ...
0
votes
0
answers
137
views
How can I solve kubectl error while using micro-onos(with kind)
Hello I'm trying to use micro-onos.
Now I'm using ubuntu 20.04 and to use micro-onos I've installed kind, kubectl(with snap), and helm(with brew)
I tried with kubectl commands before, and I thought I ...
5
votes
1
answer
527
views
How to correctly expose a kubernetes deployment running locally in kind on MacOS
I am having some trouble in exposing a simple nginx deployment on a locally running Kind cluster on a Macbook.
I have a simple nginx deployment and I have tried to use kubectl expose or create a ...
3
votes
0
answers
584
views
KinD on WSL2-based Ubuntu 20.04.6 LTS: kind create cluster fails when "Writing configuration"
I installed docker and kind on a WSL2-based Ubuntu 20.04.6 LTS like this:
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
$ sudo usermod -aG docker $USER
Then I added ...
0
votes
1
answer
394
views
How do RUN docker in Dockerfile?
FROM kindest/node:v1.25.3
RUN docker pull some-image:latest
If I call docker build on my MacOS machine, I get
failed to dial "/run/containerd/containerd.sock": context deadline exceeded: ...
1
vote
0
answers
298
views
Kubernetes KinD add extra host to cluster
It is possible to add a DNS entry to the KinD Cluster configuration? The background is I use my own Docker registry with the address docker-registry. If I use my own images it doesn't work because the ...
0
votes
0
answers
28
views
How can I let Kind nodes reference services running on the host (localhost) [duplicate]
We have a Kind cluster that we use for local development. Various services run in containers, such as DB, backend API, web frontend, etc.., while developers may opt to run one or more services ...
1
vote
0
answers
1k
views
Create Kind cluster inside vscode devcontainer fails after a delete
I am trying to create a kind cluster in a vscode devcontainer. I am working on windows with docker desktop and have been using a docker inside docker template.
When the container is first constructed ...
0
votes
0
answers
580
views
how to configure api route in spring-cloud-gateway in kubernetes
Im learning kubernetes and im trying to run my microservices on kind cluster.
I have a backend API microservice which runs on containerPort: 8080.
I have exposed the port 18080 and mapped it to the ...
-1
votes
1
answer
362
views
Kubernetes kind : sudo kind delete cluster failed to lock config file: open /root/.kube/config.lock: read-only file system but no such file [closed]
I'm testing k8s using kind.
I created cluster:
vagrant@vagrant:~$ sudo kind get clusters
nodes-test
Now I like to delete this cluster with sudo kind delete cluster but getting:
Deleting cluster "...
0
votes
2
answers
175
views
Not able to call another pod
I have a backend pod, service related to it "backend-service" and another frontend pod trying to access the backend on url http://backend-service:8000 . I port forward my frontend , open the ...
0
votes
1
answer
517
views
Connecting to a kafka broker running in docker from a kubernetes service using kind
I'll try and keep this brief. I have a kafka broker running in docker, this is the docker-compose.yaml
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
...
0
votes
0
answers
360
views
Why an app deployed to k8s with ArgoCD has Application and Ingress stuck in "Progressing" state?
I have Docker running in WSL2 (no Docker Desktop in Windows, just docker engine within WSL), and a Kubernetes cluster created with kinD. Inside this cluster, there's an ArgoCD server.
I have built a ...
0
votes
2
answers
709
views
pod-to-pod communication across namespace in the same cluster
I am confused about some elementary network concept in k8s and can someone kindly explain this to me please? thank you!
as described here:
All ingress Pod-to-Pod communication has been denied across ...
4
votes
0
answers
547
views
Go install failing while installing k8s 'Kind'
While trying to install Kind using these instructions, I am getting this error:
can't load package: package sigs.k8s.io/[email protected]: cannot use path@version syntax in GOPATH mode
I'm not sure what ...
0
votes
1
answer
567
views
How to force KinD cluster to auto-start with Docker Desktop?
I'm using Docker Desktop 4.20 to setup a KinD cluster. The cluster is working fine, however, if I re-login or restart Docker Desktop, the control plane container is gone. It seems like there is no ...
0
votes
0
answers
879
views
ingress-nginx not listening on Port 80
I have a KinD cluster on my laptop where I am attempting to use ingress-nginx to provide a way to access UIs for services running in the cluster, at this stage just prometheus and argocd.
I'm having ...
1
vote
1
answer
872
views
Flink upload checkpoint to AWS S3 ERROR: Forbidden Status Code: 403
I deployed a flink application on a Kind cluster(https://kind.sigs.k8s.io/)(1 master & 2 worker nodes) using a yaml file.
As I want to upload flink checkpoint to a S3 bucket, I manually created ...
0
votes
1
answer
960
views
I can't reach my Kind cluster on WSL2 if I restart my computer, why?
I have a setup of WSL2 and Kind.
Whenever I restart my computer and open a new WSL2 window, I can no longer use kubectl to access my kind cluster.
kind get clusters
>>> kind
kubectl ...
-1
votes
1
answer
2k
views
Getting unknown API version when starting kind cluster
Trying to get kind running on Intel OSX 13.3.1 just to learn more about kubernetes.
Installed kubectl and kind using homebrew.
kubectl version 1.25.4
kind version 0.18.0
Docker Desktop 4.18.0
I can ...
0
votes
1
answer
499
views
Connecting Cilium Clustermesh between two separate VMs with kind-c1 and kind-c2 clusters
I followed the tutorial on https://piotrminkowski.com/2021/10/25/kubernetes-multicluster-with-kind-and-cilium/ to create two separate Cilium clusters, kind-c1 and kind-c2, on two different VMs within ...
1
vote
0
answers
88
views
How To Consume an API From a Nodemcu (ESP8266 WiFi Module)
I have configured a Kubernetes kind cluster to run a flask API. The flask App when run locally with flask run produces an IP which is the local machine assigned IP from the local network (192.168.100....
0
votes
1
answer
62
views
Running Krustlet on minikube or Kind
I was attempting to run a hello-world demo of Krustlet on minikube following the Krustlet's official tutorial.
julen@julen-HP-ZBook:~/Cloudlab/krustlet$ minikube start --driver=virtualbox
😄 minikube ...
0
votes
1
answer
1k
views
How to access https 443 port in kubernetes in windows using kind and docker
kubectl port-forward service/nginx 8080:443
Forwarding from 127.0.0.1:8080 -> 443
Forwarding from [::1]:8080 -> 443
Handling connection for 8080
E0314 16:38:47.834517 25527 portforward.go:406] ...
1
vote
0
answers
203
views
K8s nodeport service forwards traffic to unready pod
So far I thought I had a good understanding of Kubernetes. Today I was startled to see a service forwarding traffic to an unready pod. Can somebody fill this knowledge gap for me? Here is what I'm ...