Questions tagged [kubernetes-cluster]

109 questions
15
votes
1 answer

Spring boot scheduler running cron job for each pod

Current Setup We have kubernetes cluster setup with 3 kubernetes pods which run spring boot application. We run a job every 12 hrs using spring boot scheduler to get some data and cache it.(there is queue setup but I will not go on those details as…
Darren
  • 151
  • 1
  • 1
  • 3
8
votes
5 answers

How to find master node from worker node in Kubernetes

I need to know to which master node my current worker node is connected. I can see the worker nodes by typing "kubectl get nodes" command in the master node, but I need to find the master node from the worker node itself. In simple words, How to…
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
7
votes
1 answer

GCLOUD Kubernetes in f1-micro results in (Node pools of f1-micro machines are not supported due to insufficient memory)

I tried to start a new f1-micro node in my cluster using Googles UI and it silently fails. So I decided to run it using gcloud to see if that one provides more details And so I ran the following gcloud container node-pools create my-f1-pool…
7
votes
3 answers

Kubernetes cluster default timezone?

I had a question about the timezone used by my Kubernetes Cluster. I know I can adjust the timezone of the pods(https://evalle.xyz/posts/kubernetes-tz/). However, I want to make sure my Cluster always uses UTC in the time zone. Is this a default…
5
votes
2 answers

Do Kubernetes worker nodes have to have exactly the same hardware and OS?

When I use to build Hypervisor (i.e. VMWare, Hyper-V, etc.) clusters, ALL the hardware and software has to be exactly the same. Otherwise I ran the possibility that the workload could run into a 'conflict' (i.e. the VM won't run because the hardware…
dshield
  • 71
  • 1
  • 4
5
votes
1 answer

What is the difference between current and available pod replicas in kubernetes deployment?

I am trying to get my hands dirty on Kubernetes. I am firing following command: kubectl get deployment and I get the following headers in the output: I can't find the difference between current and available columns in the following output? I know…
4
votes
1 answer

Enable Access for Kubernetes Dashboard via external VIP or Floating IP

I have a Kubernetes Cluster setup with below topology I have deployed Kubernetes Dashboard on the cluster and able to access dashboard with kubectl proxy. But when I try to access the Dashboard via Floating IP/VIP using the…
4
votes
2 answers

Kubernetes Java Client API Exception

I am using Kubernetes Java client API https://github.com/kubernetes-client/java for fetching all namespaces present. I am Getting Error- io.kubernetes.client.ApiException: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:443 …
Ketan Kumbhar
  • 85
  • 1
  • 1
  • 8
3
votes
4 answers

How to find if a node is master or worker in k8s?

In K8s, every cluster has a set of nodes, some are master and others are worker nodes. How can we know if a node is a master or a worker?
Arjun
  • 6,501
  • 10
  • 32
  • 34
3
votes
1 answer

"pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Service: Unauthorized"

I have set up a private cluster on GKE with k8s version 1.18.12-gke.1206 and Access to cluster endpoint is set to Public endpoint access enabled, authorized networks disabled. I'm running an ingress controller on this cluster of type…
3
votes
1 answer

Is there a way to get the UID of the Kubernetes cluster?

I'm trying to make a Kubernetes multi-cluster, and I need a unique value to distinguish between cluster. Does Kubernetes provide a UID to distinguish each cluster? If not, is the best way to separate each cluster by the UID of the kube-system…
H.jenny
  • 171
  • 1
  • 2
  • 11
3
votes
0 answers

Equivalent of 'kubectl cluster-info' in kubernetes python client?

Is there any equivalent kubernetes python client function for kubectl cluster-info which output Kubernetes master is running at https://192.x.x.x:8443 KubeDNS is running at…
3
votes
1 answer

How to grant access to specify namespace in kubernetes dashboard?

I have multiple namespace in my k8s cluster and user too. I deployed K8S dashboard, and now I want to grant access to namespace to specify user. EX: user A only access namespace A on dashboard user B is only access namespace B on…
3
votes
2 answers

kubernetes - can we create 2 node master-only cluster with High availability

I am new to the Kubernetes and cluster. I would like to bring up an High Availability Master Only Kubernetes Cluster(Need Not to!). I have the 2 Instances/Servers running Kubernetes daemon, and running different kind of pods on both the Nodes.…
user1830237
  • 41
  • 1
  • 1
  • 4
3
votes
1 answer

Kubernetes cluster architecture

Does it make sense to create a separate Kubernetes cluster for my Cassandra instances and one cluster for the application layer? Is the DB cluster accessible from the service cluster when both are in the same region and zone? Or is it better to have…
Alex Tbk
  • 2,042
  • 2
  • 20
  • 38
1
2 3 4 5 6 7 8