Questions tagged [kubernetes-cluster]

109 questions
0
votes
1 answer

Error making a job on a kubernetes cluster

I'm trying to make a job that runs sysbench on a pod. First I make the job with the next yaml: apiVersion: batch/v1 kind: Job metadata: name: sysbench-prepare spec: template: metadata: name: sysbench-prepare spec: …
Ángel
  • 1
  • 4
0
votes
1 answer

How to rebuild kubernetes cluster to change interface which kubernetes listen on?

I built kubernetes cluster using kubeadm init, on bare-metal server. I have master node - it's pretty simple one-node cluster, I just have to test something. But now I have to change the interface on which kubernetes is listening on (with this…
Skyeee
  • 69
  • 1
  • 7
0
votes
1 answer

Internal communication between pods at Kubernetes with code

Maybe this question is very wrong but my research so far hasn't been very helpful. My plan is to deploy a server app to multiple pods , as replicas (same code running in multiple pods) and I want each pod to be able to communicate with the rest…
0
votes
1 answer

setting up kubernetes cluster and running a database

This is my proposed kubernetes cluster, I want to be able to run Postgresql database, with my nodes accessing storage machine for storing the data, is this using NFS a good option? How best can I run a database instance here?
0
votes
1 answer

kubernetes v1.18.8 installation issue

I have deployed Kubernetes cluster v1.18.8 with kubeadm on production environment.Cluster setup is 3 Master and 3 Worker nodes with external Kube-api loadbalancer, etcd residing in Master nodes.Didn't see any issue during installation and all pods…
Mr Kashyap
  • 562
  • 1
  • 5
  • 16
0
votes
2 answers

minikube start error - Failed to validate 'docker' driver

How to resolve the following error when I try to do minikube start minikube v1.12.3 on Microsoft Windows 10 Home Single Language Using the docker driver based on user configuration ! 'docker' driver reported an issue: "docker version --format…
MrNolan
  • 154
  • 1
  • 4
  • 13
0
votes
0 answers

How to add custom machine images when creating Kubernetes cluster

When the vm instances are created on cluster creation I'm not able to change project wide ssh with out removing the vm instance from the vm instance group.Is there any way to do this
0
votes
2 answers

Can I guarantee the "kubernetes" Service will retain a consistent ClusterIP following cluster creation even if I attempt to modify or recreate it?

A few of our Pods access the Kubernetes API via the "kubernetes" Service. We're in the process of applying Network Policies which allow access to the K8S API, but the only way we've found to accomplish this is to query for the "kubernetes" Service's…
0
votes
1 answer

Forbidden error while retrieving details of cluster using with REST kubernetes API

Trying to retrieve details of the kubernetes cluster like namespaces and pod details using kubernetes API following doc API: /api/v1/namespaces Headers: Authorization: bearer - An IAM token…
0
votes
0 answers

Access kubernetes cluster details like namespaces and its pods and pod image using only REST API's

I have my kubernetes cluster on ibm cloud account which i have access to.Using api key im able to generate IAM token(Bearer token) for authorization to use API's in this swagger https://containers.cloud.ibm.com/global/swagger-global-api/ and get…
0
votes
1 answer

Why does GKE kubernetes cluster need a version?

I had some trouble understanding the documentation regarding upgrading versions for GKE clusters and nodes. https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades Why does a cluster need its own version?
0
votes
1 answer

How to set environment variables (Map) for docker container while creating pod in kubernetes cluster using java?

I am trying to create Pod in kubernetes cluster to start the docker image. I used ⁠client-java version 8.0.0 to create pod cluster. I used this doc ⁠kubernetes-client to create Pod cluster. But I couldn't set the environment variables for docker…
SST
  • 2,054
  • 5
  • 35
  • 65
0
votes
1 answer

How to check that all shards are moved from a specific elasticsearch node?

I'm trying to move all the shards (primary and copies) from one specific elasticsearch node to others. While doing some studies, I came to know about Cluster-level shard allocation filtering where I can specify the node name which I want to ignore…
Kamol Hasan
  • 12,218
  • 1
  • 37
  • 46
0
votes
2 answers

Is a Kubernetes service cluster specific or can a service span across clusters?

I am new to K8S. My understanding is that I will have to create a separate cluster for separate region. Say for example, I will have to create 3 clusters, one for us-south, another for eu-gb and third one for au-syd region. Now say I need my…
0
votes
1 answer

How to run the Kubernetes dashboard on a worker node?

I have used the following command to deploy the K8S dashboard: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta6/aio/deploy/recommended.yaml kubectl proxy It says the dashboard runs on the below-mentioned URL on…