Questions tagged [kubernetes]

For questions about Kubernetes, an open-source system for automating deployment, scaling, and management of containerized applications.

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

pod to pod can not be reached through service clusterIP running in the same minion

few days ago, i am facing a strange issue which is "a pod can not reach another pod running in the same minion/host through servide ClusterIP whereas they can reach each other skipping going through ...
3
votes
2answers
627 views

Amazon EKS from local kubectl does not cache MFA token/session

I have set up an EKS cluster in AWS. My user-account there is secured with MFA. And I have an assumerole, that is allowed to manage my infrastructure. So I installed and configured my system as ...
3
votes
1answer
66 views

Is running load balanced autoscale apps cheaper on AWS Kubernetes than just using EC2 resources?

We're running like 100+ servers on AWS EC2 with like 20 microservices all load balanced and autoscaled with 2 to 3 instances. The cost has become....very significant. I'm wondering if migrating ...
0
votes
0answers
19 views

Kubernetes Plugin on Jenkins - Is there a way to set the number of slave pods to maintain?

I know that I want to always have n number of slave pods available using the Kubernetes plugin with Jenkins. Is there a way to set this?
1
vote
1answer
163 views

Jenkins Node Image at Kubernetes Plugin

I'm working on huge pipeline with different development environment (python, node, java). For manage this CI pipeline our teams using Jenkins at Kubernetes environment. I want to give PipeLine node ...
1
vote
0answers
286 views

Kubernetes Continuous deployment stage in Gitlab Online fails

I am working on setting up a cloud DevOps deployment pipeline using Gitlab CI online, Kubernetes, and docker. I am following an example post at Continous delivery of a spring boot application with ...
2
votes
2answers
365 views

What's the best complete DevOps setup?

I'm curious what everyone recommends. Vagrant is for setting up test environments right? Ansible/Chef etc. seem good for servers you own, but what about cloud? Docker... great for standardizing app, ...
4
votes
1answer
558 views

Handling request based on source ip with traefik in k8s

I have a k8s cluster (three vms on my own hardware; no aws, google cloud, ...) that uses traefik (https://traefik.io/) as a reverse proxy to address services/deployments in the background. For this I ...
5
votes
2answers
557 views

ChaosMonkey for k8s?

Is there a kind of tool like ChaosMonkey specific for k8s that kill nodes and pods during office hours to train the team how to deal with issues and to harden the k8s cluster? It is possible to ...
3
votes
1answer
87 views

Mysql with Kubernetes

I am converting a webapp from monolithic to kubernetes based architecture. But how can mysql be persistent with data when we have 2 mysql pods in each of 2 differnet nodes? I think we can mount a ...
3
votes
2answers
248 views

Original Helm chart gone - how can I find / get it from the cluster?

I'm connected to a cluster which has a release, from a chart, but it was installed by someone else who I think used a tweaked, locally-stored chart. I don't have access to their original chart/repo. ...
2
votes
1answer
427 views

Terraform Issue - Can't find Data Source in Sub Module?

I'm fairly new to Terraform and have been following this example on creating an EKS cluster - https://github.com/terraform-providers/terraform-provider-aws/tree/master/examples/eks-getting-started ...
4
votes
1answer
93 views

kubernetes cluster node with 4cpu can't hold two pods with 2cpu

I have a Kubernetes Cluster on GCE (Google Cloud Engine) (Also called GKE - Google Kubernetes Engine). The Cluster is configured to have 4cpu per node. The pods I am using request 2cpu. I expect to ...
1
vote
2answers
353 views

How to Remove a Kubernetes (GKE) Cluster node-pool without down-time

I am using Google Kubernetes Engine. I have a multiple Kubernetes cluster node-pools. I want to delete one of them. Is there a way that I can first migrate all the pods on one node-pool to another ...
2
votes
1answer
27 views

Pod object and Pod’s health

Couple of questions here: a) what the concept of Pod object satisfies? There is the pause container which holds the namespace for the actual ‘app’ container(s) that will get added later and use that ...
0
votes
0answers
63 views

Integration Kubernetes with rancher?

In real production integration between Rancher and Kubernetes, please give an example topology and a scenario. Do we still need Rancher when I can manage the cluster with Kubernetes service that ...
0
votes
1answer
285 views

Adding a persistent volume to a Kubernetes deployment from Gitlab Auto Dev-ops

Recently, GitLab partnered up with Google Cloud to provide automatic deployment to Kubernetes clusters directly from project repos. I enabled Auto Dev-Ops on my project, which just contains some Node....
0
votes
0answers
615 views

Install Kubernetes using kops.I'm not able to connect to master api server

I installed Kubernetes in AWS cloud using KOPS. In aws master node and slave nodes are running running. Now I'm trying from other instance means where i installed the kops that node. I'm getting ...
2
votes
0answers
179 views

Did somebody manage to activate IAP for k8s successfully?

IAP works on Google in conjunction with App engine, but when IAP is activated for a backend service behind a loadbalancer, a 404 is returned and the app is redirected to _gcp_gatekeeper/authenticate ...
1
vote
1answer
3k views

Kubectl: the server doesn't have a resource type “cronjobs”

I ran minikube with: minikube start --vm-driver=kvm2 --kubernetes-version=v1.8.0 status: minikube: Running cluster: Running kubectl: Correctly Configured: pointing to minikube-vm at 192.168.39.93 ...
13
votes
1answer
16k views

What does “Does not have minimum availability” in k8s mean?

What does "Does not have minimum availability" mean? A GitHub discussion was found, but it is not clear to me what the error message means.
3
votes
1answer
41 views

Tool preferences for rapidly spinning up and spinning down k8s clusters

My team hosts several completely different projects on a production k8s cluster with a given configuration. We use AWS (and are starting to use Google Cloud). We have a QA cluster as well, that "sort ...
4
votes
3answers
957 views

How to add rules to Kubernetes NGINX Ingress controller from different yml definitions?

I'm trying to implement a Kubernetes cluster with a fanout pattern using an NGINX Ingress which routes traffic on multiple different hosts and paths to different microservices. The code for each ...
0
votes
2answers
154 views

How to implement DTAP in k8s?

Dev, Tst, Acc, Prd (DTAP) is about isolating multiple environments to ensure that data will not be mixed, e.g. production data in development or lost, e.g. database removal removes all production data....
2
votes
0answers
145 views

Encrypted at rest persistent volume in kubernetes?

Is there a recommended approach to using encrypted file system for persistent volumes in kubernetes? Perhaps mounting a LUKS fs disk image file ?
3
votes
2answers
194 views

How do I autostart Jenkins agent machines?

To save money, I would like a large number of agent machines to be stopped and started up only when needed. Better yet, a single VM should be copied and launched on demand. I am using Google Cloud ...
2
votes
1answer
290 views

One time/set up jobs on gitlab ci?

I'm setting up a pipeline that compiles and builds new docker images, and then deploys those images to testing kubernetes cluster. I'm using a shell runner. I need to setup my kubectl client to ...
1
vote
1answer
147 views

Local Prometheus and Grafana Installations to Monitor a Kubernetes Cluster

We want to start our monitoring off the cluster on a local server. Is this practical and will it be feasible and reasonable to hook local Prometheus and Grafana installations into a Kubernetes ...
0
votes
1answer
866 views

Kubernetes create multiple jobs based on template and list

We are currently migrating many of our production data ingress/processing scripts/processes into a kubernetes cluster. Each "customer" or company that we interface with has a bunch of data and we want ...
0
votes
0answers
511 views

How to implement Auto Review Apps on GitLab with Docker Compose and Swarm

I would like to have an Auto Review App available for every branch of my repo. My project is composed of multiple containers, and uses docker-compose.yml, but GitLab's Auto DevOps doesn't support it ...
1
vote
2answers
69 views

Monitoring tool to microservices on Kubernetes

I'm deploying an instance with kubernetes on Azure public cloud, and I need a tool to monitor the microservices and pods inside this instance, the question is, what tool are you using to do that? I've ...
1
vote
0answers
225 views

Gateway TimeoutError from server while accessing pods logs

I'm trying to execute kubectl logs on one of my pods. When pod is created on node different than master - it fails with following message: Error from server: Get https://kube-worker-3:10250/...
1
vote
0answers
928 views

Is there a standard pattern for doing flyway migrations on a kubernetes stack?

My google-fu is failing me here. There's these instructions from redhat but they're cooking their own flyway. Here's what I've done: I have a dockerfile that looks like this: FROM boxfuse/...
2
votes
0answers
45 views

How do I get Openshift to let Tomcat retain it's hosted site's changes

I have a pod in Redhat Openshift running Tomcat and inside Tomcat I have Ozone Widget Framework, my site hosted in Tomcat. I have executed the oc command to use my existing configuration so that my ...
1
vote
1answer
175 views

What are reasons to prefer an ingress over using `expose` in k8s?

If one uses expose in k8s then it is possible to assign an IP to an app so it could be accessed on the www. It is also possible to configure an ingress. This is basically a rproxy. What are reasons ...
1
vote
1answer
81 views

Is it required to move a domain to Google DNS in order to use certbot in kubernetes on Google Cloud platform?

Follow-up to What are trusted providers that offer wildcard certificates and associated costs to be used in an Orchestration Platform like Kubernetes? With https://github.com/jetstack/cert-manager it ...
2
votes
1answer
126 views

Expose kubernetes deployment on master's IP

I have simple deployment which has 3 replicas. I want this deployment to be load balanced between this 3 replicas, but available under IP of my master and on some specified port. This cluster was ...
1
vote
2answers
176 views

Should I build my own pipeline or use GitLab for Kubernetes?

My company is moving from an architecture of "many projects on a single webserver" to a Kubernetes cluster with multiple different hosted web applications in a single cluster. In order to make ...
1
vote
2answers
76 views

What are trusted providers that offer wildcard certificates and associated costs to be used in an Orchestration Platform like Kubernetes?

Currently, certbot and nginx are used to create a trusted webpage. Recently, an attempt was made to move the images to a kubernetes cluster on google cloud platform. A guide was found to configure an ...
1
vote
1answer
850 views

How to create a docker registry secret without passing the password on the command line?

According to this document https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ one could create a docker registry by running: kubectl create secret docker-registry ...
0
votes
1answer
34 views

How to dimmension VMWare VM linux servers to run kubernetes container clusters?

I'm designing a web apps and web services hosting platform using kubernetes clusters of VMs running docker containers (web services, web apps, databases). This application hosting platform will be ...
4
votes
4answers
145 views

How to find interdependencies between pods in a Kubernetes cluster?

Two Pods run in a Kubernetes cluster. One is a simple Wordpress application and the other a Mysql database. The Wordpress Pod communicates with the Mysql database. The aim is to find dependencies ...
0
votes
1answer
1k views

How to login to k8s proxy nowadays?

Back in the day when I ran kubectl proxy, I could login to http://localhost:8001 immediately, but know a login prompt is shown. When skipped is clicked the following message is shown: configmaps is ...
1
vote
1answer
1k views

How to deploy applications to k8s using bitbucket pipelines?

The aim is to implement Continuous Deployment (CD) to a k8s cluster. It works to deploy a Nginx image to the k8s. https://github.com/kubernetes/kubernetes/blob/master/examples/simple-nginx.md ...
7
votes
1answer
723 views

What is the impact of using Helm Deployments instead of StatefulSets for Databases like MongoDB or MySQL?

The definition of a stateless app seems to apply to database servers like MongoDB or MySQL. I found Helm Charts as a kind of template-repository for Kubernetes. However, the stable builds all use ...
5
votes
2answers
4k views

Why does Helm time out on almost every action?

I'm trying to set up helm for the first time and I'm having troubles. First, I've created account with cluster-admin role. (According to https://github.com/kubernetes/helm/blob/master/docs/rbac.md#...
4
votes
1answer
60 views

How to apply DRY to k8s files?

At the moment there are more than 100 different deployment files. The majority of the config is identical, but there are some differences and therefore every docker image has its own deployment ...
1
vote
1answer
812 views

How to copy a file locally to remote pod before it starts?

# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar works, but then a pod should be ...
1
vote
2answers
200 views

Switching between blue / green services in Kubernetes using UI page

The project is going with a new technology stack and I need to do a new CI / CD implementation. I started to play with Kubernetes and how to do blue / green deployment via command line. I managed to ...
3
votes
1answer
1k views

how to control pod termination speed in kubernetes

I have a k8s deployment that I update by doing kubectl apply -f spec.yml. I use the default update strategy. Whenever I update, new pods get created and the old ones eventually get deleted. This is ...