Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kubernetes]

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

0
votes
0answers
4 views

Jenkins Kubernetes Rancher, how to do a CI with these tools

I'm new with Rancher and Kubernetes and I have some know how of Jenkins. The point is that I don't know how to do a continuous integration of my apps with Rancher and Kubernetes. Is good to use ...
0
votes
0answers
6 views

Amazon EKS: using spot instances for worker nodes

When using AWS EKS, is it possible to set up the worker nodes on spot instances? how? Anything I special I should pay attention to, in such a setup?
0
votes
0answers
15 views

How important is it to configure a CA for a Kubernetes cluster?

Our IT department have setup a Kubernetes cluster for our development work using kops, and we've run kube-bench on it to see what security issues need to be addressed. Currently there's a lot of ...
0
votes
1answer
32 views

What are some good Kubernetes training courses?

I'm looking for Kubernetes training online or in person. What are some good training courses to take?
3
votes
1answer
76 views

Kubernetes - unable to login to Dashboard

I have installed Kubernetes using AWS Minikube scripts - https://github.com/scholzj/aws-minikube After installation I am trying to run kubectl proxy But I am getting this https:kubernetes-...
2
votes
0answers
18 views

Autoscaling with Kubernetes daemonset

I have a Kubernetes cluster running on Google Compute Engine. My program uses stateful connections, so I do not want my pods being moved between nodes. Because of this, I am running my workload as ...
0
votes
0answers
10 views

Can ping service by its DNS x.x.svc.cluster.local but failed pinging by IP

From inside the pod: dig postgres.default.svc.cluster.local ;; QUESTION SECTION: ;postgres.default.svc.cluster.local. IN A ;; ANSWER SECTION: postgres.default.svc.cluster.local. 5 IN A 10.10....
0
votes
0answers
20 views

How to intercept and redirect network communication inside docker containers?

I am fairly new to Docker-compose and have been tinkering around a bit. in the process, i came across a requirement where i need to close down external internet traffic, and redirect requests to ...
0
votes
1answer
27 views

Multiple Ingress controllers in Kubernetes

We currently have at our company a Kubernetes cluster with an ingress controller that manages the traffic of the services and their endpoints. We want to change our URL gradually, first add the new ...
0
votes
0answers
16 views

Kubernetes - Internal only API Endpoints

Hypothetical question. Say we have a Java application running in a Kubernetes pod (single docker container) that has 'public' endpoints and 'internal' endpoints. The /public endpoints should be ...
0
votes
0answers
32 views

how to setup authentication for kubernetes dashboard ?

how to setup authentication(username/Password) for kubernetes dashboard ? I have checked Securing the Kubernetes and Authentication using a token Token based Authentication can be done but can we ...
2
votes
2answers
40 views

How to install a private managed Kubernetes on-premise?

Where do you start in case you need something like a managed Kubernetes solution to setup a multi-tenant orchestration solution on-premises? Any entity with its own container infrastructure has an ...
0
votes
0answers
10 views

How to safely change the config and restart a persistent ELK cluster with helm - GlusterFS Heketi

I am using this helm chart to manage my ELK stack on Kubernetes. https://github.com/clockworksoul/helm-elasticsearch I want to upgrade the config and keep my data intact. We use glusterfs and it is ...
0
votes
0answers
45 views

Stolon vs CrunchyData for HA Postgresql

I'm using helm charts with kubernetes and I'm trying to deploy High Availability Postgresql database and found this article mentioning three project that provide HA Postgresql: 1- Stolon 2- ...
3
votes
1answer
20 views

Control order of container termination in a single pod in Kubernetes

I have two containers inside one pod. One is my application container and the second is a CloudSQL proxy container. Basically my application container is dependent on this CloudSQL container. The ...
0
votes
1answer
14 views

Using Google IAM for GKE service web access

I am hosting an application on GKE and would like to be able to let users from my organization access this application from the web. I would like them to be able to log-in using their Google Account ...
1
vote
2answers
82 views

Kubernetes Deployments & Rollbacks

At the moment I'm performing Kubernetes deployments by applying deployment.yaml then updating the container/pod image versions with kubectl set-image as outlined in the docs. I'm doing this using ...
0
votes
0answers
13 views

How to detect exception occured in a Pod in Kubernetes?

I have a multinode kubernetes cluster. Multiple services are deployed as Pods. They communicate over each other via rabbitmq which also exists as Pod in the Cluster. Problem Scenario: Many time ...
0
votes
0answers
18 views

How to do Rancher 2.0 Node Scheduling Priority Settings?

Does anyone have experience with Rancher 2.0 priority scheduling? I would like to make sure certain containers are running over others. If I add scheduler, priority and priority class name, nothing ...
1
vote
1answer
79 views

Jenkins Pipeline Kubernetes Agent shared Volumes

I have a Jenkins Pipeline using Kubernetes Agent. I schedule multiple containers in my pod template. I recently wanted to add volumes that would be shared some of the containers and am having ...
1
vote
0answers
7 views

What is the recommended way to monitor differences between multiple Kubernetes namespaces/clusters?

Given a Kubernetes cluster with two namespaces; what is the recommended way to monitor and sync differences in configmaps, deployments, ingresses etc. between the namespaces?
2
votes
1answer
21 views

How to update pods if version hasn't changed?

During development we are continually building a Docker image with the same version (say 0.0.1-development) as there is no need to bump for each minor change. We do eventually bump when additional ...
1
vote
0answers
68 views

Kubernets docker registry behind nginx-ingress

I try to setup docker-registry in Kubernetes cluster behind the nginx-ingress controller. The issue is, when I try to push the image into private registry, it tells me: Get https://registry.local/...
0
votes
1answer
17 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 ...
0
votes
0answers
20 views

Kubernetes Nodes with High CPU peaks on EC2 Metrics

we have been using kubernetes in production for while on aws. We have noticed some network metrics (ec2 cloud watch metrics) kicks in with some ridiculous values, for example we can see "bursts" ...
3
votes
2answers
163 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 ...
2
votes
1answer
47 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
12 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
47 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 ...
0
votes
0answers
17 views

What are RW alternatives to RO configMaps in k8s?

Since k8s 1.8.9 configMaps are ReadOnly (see https://github.com/kubernetes/kubernetes/issues/62099). We use configMaps to mount configuration inside a container and the apps itself make changes to ...
1
vote
0answers
115 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 ...
0
votes
0answers
29 views

What are best practices to use Ansible-Vault in conjunction with k8s

Some companies seem to use ansible-vault in conjunction with k8s to ensure that sensitive content like passwords that reside in yaml file are encrypted. In order to apply this should one deploy the ...
0
votes
0answers
7 views

GCP indicates that node is healthy, but most of the PODs cannot be started on this node

So now and then PODs cannot be scheduled. When the PODs are sorted per node then sometimes all failed PODs are concentrated on one node: We found out that draining the, in this case hx9h node solves ...
2
votes
2answers
182 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, ...
0
votes
0answers
17 views

correct “Unable to connect to the server” messages after changing kubernetes configuration

I was given some very raw instructions to set up a kubernetes cluster, including some setup scripts to run, and no leisure time to read all the docs. Also I had some guest VMs setup for me in ESX. ...
2
votes
0answers
178 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
135 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
67 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
58 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. ...
0
votes
0answers
23 views

Kubernetes dashboard hardening

Given Basic Authentication is enabled for Kubernetes dashboard. Is it beneficial to provide minimal rights to the dashboard service account, and then sign in with a more unrestricted service account ...
2
votes
1answer
77 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
57 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
1answer
67 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
22 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
49 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
111 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
217 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 ...
0
votes
0answers
65 views

k8s contrib/keepalived-vip problems

I am trying to get contrib/keepalived-vip and I am having a problem here: In: utils.go:func getPodDetails(kubeClient *unversioned.Client) (*podInfo, error) at pod, _ := kubeClient.Pods(podNs)....
0
votes
0answers
49 views

Service for cluster leader with leader election tolerance configuration in kubernetes?

I've deployed a mongodb cluster using stable/mongodb-replicaset There is a service defined as [releaseName]-mongodb-replicaset but it does not appear to point to the primary node. Some applications ...
0
votes
0answers
28 views

how to add an node to my kops cluster? (node in here is my external instance)

I have created a kubernetes cluster on AWS, as by following below instruction. All my master and worker nodes of Ubuntu OS type. https://jee-appy.blogspot.in/2017/10/setup-kubernetes-cluster-kops-...