Kubernetes IN Docker - local clusters for testing Kubernetes
Questions tagged [kind]
13 questions
2
votes
2 answers
Error in configuration: context was not found for specified context: kind-kind
This is my skaffold.yaml file:
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
kubeContext: kind-kind
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
- image: learnertester/auth
context:…
best_of_man
- 457
2
votes
1 answer
Cluster-autoscaler for Kind clusters
I have been using Kind clusters for testing and simulating the behavior of my application, and it has been great so far. I would like to test some senarios involving cluater-autoscaler (CA) without actually spinning nodes in the cloud. The default…
1
vote
0 answers
Kubernetes engine error with apiVersion and kind
I'm getting an error
This apiVersion and/or kind does not reference a schema known by Cloud Code. Please ensure you are using a valid apiVersion and kind.
on both manifest.yaml and nordered-service.yaml.
manifest.yaml =
apiVersion: apps/v1
kind:…
user30128602
- 11
1
vote
1 answer
failed to create cluster: failed to join node with kubeadm
I've been told my k8ssandra people that the following errors are related to kubernetes
What do I have to do to detect, and solve, the issue?
kind seems working fine:
root@k8s-eu-1-master:~# kind create cluster
Creating cluster "kind" ...
✓ Ensuring…
Raphael10
- 219
1
vote
1 answer
kind get clusters - not working with my local Kind-powered Kubernetes cluster
)
I'm trying to follow Working with your Kind cluster | Podman Desktop
yet encounter the following error:
% kind get clusters
ERROR: failed to list clusters: command "docker ps -a --filter label=io.x-k8s.kind.cluster --format '{{.Label…
alexus
- 13,667
1
vote
1 answer
How should I replace this line "provisioner: k8s.io/minikube-hostpath" for a "Kind" statefulset.yaml file?
The following is a StatefulSet.yaml file for deploying Cassandra database on a minikube cluster. I am not sure what lines should be replaced if I want to use a Kind cluster instead of a minikube one, but I think one obvious option would be…
best_of_man
- 457
1
vote
2 answers
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
- 457
1
vote
2 answers
Use .kube/config Client certs in curl
If you use kubectl get pod foo -v10 you see a curl line, but this does not work.
Example:
guettli@p15:~$ curl -k -v -XGET -H "Accept: application/json;as=Table;v=v1;g=meta.k8s.io,application/json;as=Table;v=v1beta1;g=meta.k8s.io,application/json"…
guettli
- 3,811
0
votes
0 answers
Running Conformance tests(Sonobuoy run) are failing for kind Multi node clusters which is provisioned on azure vm
Environment Setup:
Azure VM: Provision a single Azure VM to host multiple KIND clusters. This VM will act as the host for multiple Kubernetes clusters.
KIND Clusters: Deploy multiple KIND clusters on this single Azure VM. Each cluster will have its…
0
votes
0 answers
How to access pods from local terminal?
I have a Kind cluster installed on my Ubuntu machine. I have deployed few pods on the cluster and can see they're running using kubectl get pods command.
As my pods are some NodeJS services and a react web application, they're all serving on…
best_of_man
- 457
0
votes
1 answer
"CrashLoopBackOff" while deploying mysql on multi-node cluster
This is my configmap.yaml file:
apiVersion: v1
kind: ConfigMap
metadata:
name: mysql
labels:
app: mysql
app.kubernetes.io/name: mysql
data:
primary.cnf: |
# Apply this config only on the primary.
[mysqld]
log-bin
…
best_of_man
- 457
0
votes
1 answer
How to add "Kind" settings to "/.kube/config" file?
I have installed kubeadm previously and configured it using kubeadm --init and the configs are inside /.kube/config file by now. I recently installed kind and want to know how should I configure it?
My goal is to using kind to work with kubernetes…
best_of_man
- 457
-1
votes
1 answer
How can I release previously allocated resources of a deleted pod?
I already had 3 Cassandra node/pods running. I deleted them and tried to re create them again using the same YAML file as following, on the same Kind cluster, but it stuck pending status:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name:…
best_of_man
- 457