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
0
votes
0 answers

line 6: field constraints not found in type v1alpha4.Node

I am trying kind create cluster --config kind-config.yaml to create a kind cluster using the following kind-config.yaml file: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker constraints: memory:…
best_of_man
  • 643
  • 2
  • 15
0
votes
1 answer

What is the equivalent command of "minikube start --memory 5120 --cpus=4" for "Kind"?

Here in Cassandra deployment instruction, it says: Caution: Minikube defaults to 2048MB of memory and 2 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these…
best_of_man
  • 643
  • 2
  • 15
0
votes
1 answer

Kubernetes in Docker KinD - Node notready

I'm following this article https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/ but I'm facing and issue. So Windows 10, WSL2 enabled with Ubuntu 22.04 and Docker Desktop. Using Kind I tried to create a cluster using…
0
votes
0 answers

helm install tekton cdf/tekton-pipeline fails with INSTALLATION FAILED no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"

I am trying to install tekton helm chart into my local K8s cluster created by Kind on Windows 10. I run the following command helm install tekton cdf/tekton-pipeline and it fails with Error: INSTALLATION FAILED: unable to build kubernetes objects…
Alexey Auslender
  • 402
  • 5
  • 18
0
votes
1 answer

Running apt-get update in a ubuntu pod in kind kubernetes cluster gives Clearsigned file isn't valid, got 'NOSPLIT' error

I am running a kind cluster and deployed a ubuntu pod kubectl run ubunt-test --rm -i --tty --image ubuntu -- bash Then I tried to run apt-get update on the shell. The output is Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease …
Shaad7
  • 51
  • 3
0
votes
1 answer

Pass environment variable from makefile to YAML file

I am setting an environment variable inside a makefile. makeflie: ... export KINDPORT=30000 ... I want to pass it to the YAML file that I am using (for kind cluster configuration file): ... extraPortMappings: containerPort: ${KINDPORT} hostPort:…
kfirt
  • 11
  • 3
0
votes
0 answers

virtiodev driver access problem in kubernetes and kind but everything works fine in minikube

I’ve run an application to offload the compute on a GPU via the PCI link. It works fine with Docker and Minikube but I’ve encountered a driver problem with Kubernetes (kubeadm or kind). I mounted all necessary local folders (and also checked) and…
0
votes
2 answers

Why is my service always routing to the same pod?

I have a simple Webserver that exposes the pod name on which it is located by using the OUT env var. Deployment and service look like this: apiVersion: v1 kind: Service metadata: name: simpleweb-service spec: selector: app: simpleweb …
User12547645
  • 6,955
  • 3
  • 38
  • 69
0
votes
2 answers

How to deploy two ingress-nginx controllers on one kind kubernetes cluster

For testing purposes, I deploy two versions of my application on the same machine. On production, only one application instance runs in one cloud Kubernetes cluster and uses the ingress-nginx controller to expose its API. I use kind to run a…
Andriy Simonov
  • 1,276
  • 1
  • 11
  • 19
0
votes
1 answer

How to simulate k8s node notready

I have a project where I need to handle when a node becomes notready and when it becomes ready, but I only have one server and I know I can use the Kind to create a multi-node cluster, but I don't know how to implement a node that becomes notready…
moluzhui
  • 1,003
  • 14
  • 34
0
votes
1 answer

preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling

On Mac with kind, I created a single node cluster, and then try to install nginx ingress as instructed in https://kind.sigs.k8s.io/docs/user/ingress/ kind create cluster --name devops kubectl apply --filename…
sqr
  • 365
  • 2
  • 12
  • 29
0
votes
0 answers

Permission denied when accessing persistent volume

I have a kube cluster running using kind. Kind runs in a docker container. It has access to a volume by way of the following: extraMounts: - hostPath: /mnt/disk-1/shared containerPath: /shared-drive ... the persistent-volume and pvc…
0
votes
1 answer

Resolve domain inside a pod using the host machine

We've got a dev environment setup in which a part of our services are inside Kubernetes (using kind) and a part of it is not. Inside the Kubernetes pod, a request is made to a certain host (localdev.companyName.com), we own this domain and return…
Pouya Ataei
  • 1,959
  • 2
  • 19
  • 30
0
votes
0 answers

Docker desktop k8s config file similar to Kind conf

I am using kind kubernetes cluster on my Mac and I created it using a config file with mounts as shown here The pain here is I have to load all images already on my machine pulled using docker pull from my company's docker registry i.e. artifactory.…
0
votes
1 answer

CRDs of GKE for local development with minikube

I'm trying to running my project (that supposed to) deploy on GKE in my local environment with minikube (Docker-Engine) for sake of development and testing, however when I type helm install it tells me I need to install CRDs like BackendConifg,…