Questions tagged [kind]

kind is a tool for running local Kubernetes clusters using Docker container “nodes”.

kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.

164 questions
2
votes
1 answer

how to overcome the readonly filesystem error for a secret that is mounted in mysql image

I'm working on setting up a mysql instance in K8s cluster with TLS support for the client connection. For that I have setup a cert-manager to issue the self-signed cert. I can see ca.crt, tls.key, tls.crt created in the secrets within my mysql…
stuck99
  • 21
  • 2
2
votes
1 answer

Share local directory with Kind Kubernetes Cluster using hostpath

I want to share my non-empty local directory with kind cluster. Based on answer here: How to reference a local volume in Kind (kubernetes in docker) I tried few variations of the following: Kind Cluster yaml: kind: Cluster apiVersion:…
spinyBabbler
  • 392
  • 5
  • 19
2
votes
0 answers

When NFS Client try to create a file on shared folder, operation not permitted occurs, both server and client are in containers

I've googled a lot and found some similar cases. However, none of them works in my case. Not sure if it has something to do with Mac. I will try to describe my question as clearly as possible. I use KIND to run a local Kubernetes cluster with 3…
Ray
  • 333
  • 4
  • 11
2
votes
1 answer

Exposing a kubernetes pod via service in kind kubernetes cluster

I'm following the tutorial here (https://kubernetes.io/docs/tutorials/hello-minikube/) to test a local development setup for kubernetes. However, I am using kind, instead of minikube. At the moment, I am stuck on step 3: minikube service…
asuprem
  • 554
  • 1
  • 5
  • 17
2
votes
0 answers

Gitlab CI/CD with Kubernetes kind

I created Kind cluster with following config file and was connected to private hosted gitlab. kind: Cluster networking: apiServerAddress: "X.X.X.X" # add to the apiServer certSANs the name of the docker (dind) service in order to be able to reach…
Bilal Ali Jafri
  • 915
  • 1
  • 6
  • 17
2
votes
1 answer

Istio Traffic Splitting Not Using Weight Properly

I am using the default bookinfo application https://istio.io/docs/examples/bookinfo/ and trying to test split traffic with the reviews service. Kiali is showing the split and everything seems to be configured correctly but its still doing a round…
CodyK
  • 3,426
  • 4
  • 36
  • 52
2
votes
1 answer

How can I resize the Docker Desktop Virtual Machine on Windows 10 from a PowerShell script?

I am attempting to write a PowerShell script (using PS core 7.0) to install and configure a Kubernetes cluster running on Kind on Windows 10 machines used by my teams. I have a working script to start up and configure the cluster the only issue is…
2
votes
2 answers

Kubernetes service with port-forward does not load balance

im goofin around with K8s for my master thesis at the moment. For this im spinning up an K8s Cluster with the help of KinD. I have also developed an small flask REST API which will echo en ENV var. Now im starting 3 Services which hold a number of…
kek112
  • 41
  • 5
1
vote
1 answer

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 testBucket/checkpoints, but I got this error from Job…
1
vote
0 answers

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.19). My Nodemcu which also has an IP of…
sam hassan
  • 197
  • 3
  • 14
1
vote
0 answers

How to get container ID from within the container with cgroup v2 and containerd runtime?

I am struggling to derive container ID from within the container with cgroup v2 and containerd runtime on k8s. It looks it's not in "/sys/fs/cgroup/devices" "/proc/self/mountinfo" anymore. In my example, the container ID is…
1
vote
1 answer

kubectl port-forward forwards to incorrect port (hashcorp/consul)

Following Hashicorp's Deploy Consul on Kubernetes on Ubuntu 22.04 Server/amd64. Cloned the repo. Done. Created the Kubernetes cluster using Kind. Done. Deployed the datacenter using consul-k8s. Done. Set environment variables. Done. View consul…
1
vote
1 answer

How to evict pods in kubernetes?

I'm testing a trigger i set on my k8s cluster. What it does it that detects if a pod is evicted. So to test I ran kubectl drain --ignore-daemonsets --force but the evicted pods are just automatically deleted instead of staying in…
1
vote
1 answer

Unable to add Additional kind clusters in Argo CD

I am having two kind clusters in my local machine . One is named as dev-cluster and another one as kind.The Argo CD is deployed and running on dev-cluster.When i try to Add the second cluster to Argo CD using argocd cluster add kind-kind --name…
Pratheesh
  • 565
  • 4
  • 19
1
vote
2 answers

Unable to load local docker image in kind kubernetes cluster

I have an Apple Macbook Pro with an M1 chip, where I have a local kubernetes cluster running through Kind. The thing is I don't understand how Kind deals with docker images from different platforms/architectures. The thing is I have an application…
beni0888
  • 1,050
  • 1
  • 12
  • 40
1 2
3
10 11