Questions tagged [kubernetes-cluster]

109 questions
3
votes
1 answer

Securely shutdown a node from kubernetes cluster

I've a running kubernetes(v1.11.1) cluster consisting of three nodes. I need to remove a node from the cluster properly. What should be the proper way to do that? I've used kubeadm to create the cluster.
Ratul
  • 453
  • 7
  • 15
2
votes
1 answer

Is "current-context" a mandatory key in a kubeconfig file?

THE PLOT: I am working on a kubernetes environment where we have PROD and ITG setup. The ITG setup has multi-cluster environment whereas PROD setup is a single-cluster environment. I am trying to automate some process using Python where I have to…
sxddhxrthx
  • 587
  • 5
  • 13
2
votes
1 answer

How to fix error: User cannot get resource "deployments" in API group "apps" in the namespace "default"?

I've got a problem with roles and authentication kubernetes. I created a one-node (one maser) cluster, on my baremetal server, and I made this cluster listen on different IP than default (with option "--apiserver-advertise-address= ip address ").…
Skyeee
  • 69
  • 1
  • 7
2
votes
1 answer

how to change the control-palne,master node's name in kube1.20.2

I succeeded in setup a control-plane,master node in my vm. Then I copied the vm, trying to join the copied vm to the existed kubernete cluster. Problem is that the original vm(node)'s name is new-master-1, and the copied node has the same name. Even…
ZhaoGang
  • 4,491
  • 1
  • 27
  • 39
2
votes
1 answer

Does Airflow Kubernetes Executor run any operator?

I am assessing the migration of my current Airflow deployment from Celery executor to Kubernetes (K8s) executor to leverage the dynamic allocation of resources and the isolation of tasks provided by pods. It is clear to me that we can use the native…
2
votes
1 answer

Deployment of MVC app in Azure Kubernetes Service failing with error- "Back-off restarting failed container"

I am able to deploy the web app to AKS cluster manually through commands (using kubectl to deploy YAML files) after pushing it to Docker Hub but when I try to automate the same through CI/CD pipelines, the app is not properly deployed to AKS. There…
KRM
  • 119
  • 1
  • 12
2
votes
1 answer

Is there an analog of --server-dry-run option in io.fabric8.kubernetes api (Java client for kubernetes)?

In command line we can use kubectl apply --server-dry-run -f example-pod.yml to make a trial run of yml file without persisting it. Can we do smth similar from Java, using io.fabric8.kubernetes (Java client for kubernetes) ?
2
votes
4 answers

How to create Kubernetes cluster with multiple nodes on Windows

All kubernetes forums and articles ask to work with minikube that gives you only a single-node kubernetes cluster. What options are available to work with multi node kubernetes cluster on a Windows environment?.
Suriyakanth
  • 269
  • 4
  • 13
2
votes
2 answers

Access SQL Server database from Kubernetes Pod

My deployed Spring boot application to trying to connect to an external SQL Server database from Kubernetes Pod. But every time it fails with error Failed to initialize pool: The TCP/IP connection to the host <>, port 1443 has failed. Error:…
2
votes
1 answer

Connection between Private GKE and Cloud SQL

I have a Private GKE Cluster with a public master endpoint, which has jobs that needs access Cloud SQL. I have a cloud SQL proxy DaemonSet receiving on 3307, which connects to actual DB on 3306. My network doesn't have outbound internet, neither any…
2
votes
1 answer

deploying image in kubernetes cluster getting CrashLoopBackOff

I am using kubernetes cluster to deploy an image using kubectl create -f dummy.yaml . my image is public in docker hub, the size of the image is 1.3 GB. the image pull successfully but it is not running it is " CrashLoopBackOff". when i run…
MOBT
  • 312
  • 3
  • 10
2
votes
2 answers

Windows Containers on windows and linux Kubernetes cluster

I'm kind of new to the Kubernetes world. In my project we are planning to use windows containers(.net full framework) in short term and linux containers(.net core) for the long run. We have a K8 cluster provided by infrastructure team and the…
marvelTracker
  • 4,691
  • 3
  • 37
  • 49
2
votes
1 answer

Co locate pods and persistent volumes in kubernetes

I have a kubernetes cluster spread across two zones, A and B. I am using nfs volumes for persistent storage. I have nfs volumes in both the zones. I am creating a stateful set of 2 replicas which will be spread across these zones (I used pod…
1
vote
0 answers

How to expose ip address to kubernetes dashboard

I set up a test k3s cluster in my local openstack machine and i want to access the dashboard from my local machine. I followed this guide https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ but didn't find the way to do…
1
vote
0 answers

How can I programmatically connect to multiple K8S clusters created with the eksctl command in AWS EKS?

I want to push some jobs.yml script to multiple Kubernetes clusters programmatically, connection details will be provided by customers and we can store it in encrypted format in DB or maybe S3. I'm trying to achieve this with @kubernetes/client-node…