Questions tagged [kubernetes-cluster]
109 questions
1
vote
1 answer
To get all pods in name spaces and in turn get image version of each pod using rest API's/client libraries
I have https://containers.cloud.ibm.com/global/swagger-global-api - Kubernetes API swagger to drill upto each clusters details till namespaces.Using IAM token to access these API’s.
Further, i want to get all the pods of that specific namespace and…

New123
- 219
- 1
- 4
- 13
1
vote
1 answer
how would i set up an h2 for a kubernetes cluster?
H2 is an open-source lightweight Java database.
Basically I am trying to build a DevOps pipeline but for the Kubernetes part I need to hook up the h2 database locally to the pod and not using aws rds for anything like that. Any ideas on how to…

Ray
- 11
- 2
1
vote
3 answers
Expandable single node K8s cluster
I am searching for a solution that enables me to set up a single node K8s cluster and if I needed I add nodes to it later.
I am aware of solutions such as minikube and microk8s but they are not expandable. I am trying k3s at the moment exactly…

AVarf
- 4,481
- 9
- 47
- 74
1
vote
0 answers
Get k8s service endpoints using kubernetes java client
I have my Kubernetes client which does this
public class Example {
public static void main(String[] args) throws IOException, ApiException{
ApiClient client = Config.defaultClient();
Configuration.setDefaultApiClient(client);
…

liotur
- 809
- 2
- 17
- 36
1
vote
1 answer
Only two master nodes are up in Kubernetes cluster with kops in AWS
I am trying to setup kubernetes cluster in AWS using KOPS. I configured for 3 master nodes and 6 nodes. But after launching the cluster only two master nodes are up.
I am using .k8s.local DNS instead of Purchased DNS. Below is the script that I am…

Sudhansu Kumar
- 129
- 1
- 3
- 10
1
vote
1 answer
NodePort service does not redirect request to another node
So I ve an on prem kubernetes cluster with two nodes. I use flannel as cidr.
The problem occurs when I deploy an app and the pod lands on the worker node and I try to access the service using master node ip and service port. Cluster ip is the same…

Mightee
- 689
- 7
- 22
1
vote
0 answers
How to create a pod from existing docker container
I have created a docker container using docker-compose.yml and it is running on 8085/tcp. Now i need to create a pod with this container and deploy it with kubernetes. I used .yaml file to do so but i am getting a CrashLoopBackOff error.
$ docker…

Jerrin Thomas
- 269
- 3
- 14
1
vote
1 answer
who/where actually work liveness probe in kubernetes?
in my kubernetes cluster, http liveness probe always failed with this message
Liveness probe failed: Get http://10.233.90.72:8080/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
so,…

GwiYeong Jeong
- 11
- 2
0
votes
0 answers
Terraform fails to create instance of gke cluster
so I'm trying to create 5 gke clusters in 5 different zones to simulate a fog-edge environment and I keep running into the same issue. Terraform fails to create one or more of the clusters. I've ran it multiple times and it is always the same…
0
votes
0 answers
how to setup production ready kubernetes cluster in "large scale environment"
Does anybody have enough experience to say what is the best provisioning tool for setting up a production ready k8s cluster in large scale? I'm already using rke2 and rke to setup a cluster.
I would like to know if there is a better solution? Is…

Ali
- 11
- 4
0
votes
0 answers
Can not install Calico using kubeadm, says connection to server xx:6443 was refused?
Im trying to install calico using kubeadm with the following command
kubectl apply -f https://docs.projectcalico.org/v3.9/manifests/calico.yaml
but it's showing the following error
The connection to the server 10.x.x.47:6443 was refused - did you…
0
votes
0 answers
kubernetes.io/pv-protection finalizer set immediately after the persistent volume creation
Creating a persistent volume using the following yaml definition file,
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-manual-pv
spec:
capacity:
storage: 256Mi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy:…

Seralahthan
- 182
- 11
0
votes
0 answers
Kubernetes Unprocessable entity error 422
WARNING:root:failed to start process PoolWorker-1:102: Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/fiber/pool.py", line 98, in safe_start
proc.start()
File…
0
votes
0 answers
How to migrate the kubernetes cluster image type from COS to Cos_containerd image type and how to remove the notification migrate to containerd
I am getting the below notification as migrate to containerd on gke clusters. How we can perform this and what impact it will have on clusters and pods running on it. This cluster dont have master and worker node configuration only 4 nodes are…

Karan
- 1
0
votes
0 answers
How to emit missing metrics from prometheus for RKE Grafana Dashboard?
I have imported the rke dashboard from grafana dashboard website and I am able to see a few panels with metric data, but some panels are not showing any data which is shown here.
Panel CPU Use by namespace doesn't show any data.
Below is the Query…