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
10 views

AWS EKS CronJob resource not found

I have an Amazon EKS Kubernetes cluster and have the need to run a CronJob on it. However, when I published the manifest to k8s, the object is there, I can list it, get it, but I cannot describe it ...
-3
votes
0answers
19 views

Docker containers takes too much time to process tasks

I am using 3 containers as microservices and RabbitMQ for communication b/w them. I am using azure VMs for running the container. The machine has 64 GB ram and 32 cores. The architecture is given ...
1
vote
1answer
29 views

Proper way to showcase multi-container web app to customers

I have a web app consisting of multiple services (authentication service, database, main web app..), and each of these services can run in container. Currently, when a customer ask for a demo, I am ...
0
votes
0answers
8 views

K8s pod hangs when starts with volume

I am learning how to use volume with pods in K8s. I tried the exact example here. This is the snippet apiVersion: v1 kind: Pod metadata: name: test-pd spec: containers: - image: k8s.gcr.io/...
0
votes
0answers
9 views

skaffold: does not update image tags if tags are specified already (for local development)

In all our Kubernetes deployment manifests, I specify the image and the tag (such as image_name:v0.1.2). This is great for production, as I know exactly which version is running, and can revert to ...
0
votes
1answer
13 views

How to specify a filter for Kubectl -o flag=custom-column

I want to use kubectl get -o=custom-columns to extract information with specific columns. The cropped yaml response is like this { "apiVersion": "v1", "items": [ { "...
-3
votes
1answer
38 views

Access database deployed in kubernetes [closed]

I have created created a kubernetes cluster with 1 master and 2 nodes in our data centre and deployed a postgres database in it. I would like to access database with with Pgadmin
1
vote
1answer
20 views

Keep getting permissions error gcloud.container.clusters.get-credentials

I am trying to integrate CircleCi with gcloud Kubernetes engine. I created a service account with Kubernetes Engine Developer and Storage Admin roles. Created CircleCi yaml file and configured CI. ...
0
votes
0answers
7 views

Kubernetes cluster on top of etcd cluster

I have a K8s-cluster of five bare-metal machines running CoreOS. As the reboot strategy on update, I'd like to use the etcd-lock (https://coreos.com/os/docs/latest/update-strategies.html), as I have ...
1
vote
0answers
8 views

Deprecation errors using run to test an nginx container in Kubernetes v1.3.6

I'm getting deprecation errors while trying to run a couple of nginx pods bash-4.4$ kubectl run nginx --image=nginx --port=80 --replicas=3 WARNING: New generator "deployment/apps.v1beta1" specified, ...
2
votes
0answers
52 views

Kubernetes auto scaling in cloud environment

Anyone knows if there is a solution to provision (non-managed) autoscaling Kubernetes clusters in the cloud? I am looking for a generic solution that will work in any public cloud and in private data ...
1
vote
1answer
35 views

Tfs octopus migration to k8s and docker

My current client uses .net and .net core, tfs and deploys via octopus. They want to use helm, k8s and docker. With all of the environments, env variables are already in octopus. I am thinking to ...
0
votes
0answers
30 views

How to clean up disk space for Azure Kubernetes Node?

I followed this tutorial to create a Kubernetes cluster on Azure to run build agents: http://www.chrisjohnson.io/2018/07/07/using-azure-kubernetes-service-aks-for-your-vsts-build-agents/ To recap ...
0
votes
2answers
30 views

Pod & pod's health

Few questions here: What does the concept of object Pod satisfy? A paused container containing the namespace for the actual app area (s) will be added later and use that namespace. So what activities ...
0
votes
0answers
24 views

How to annotate ingresses for traefik to generate Let's Encrypt certificates?

I am using traefik as an ingress-controller and want to serve other ingresses via auto-generated Let's Encrypt certificates and enforce SSL. I set up traefik with it s official helm chart like this: ...
0
votes
2answers
37 views

nodes in a kubernetes cluster in azure unable to communicate with one another

I'll start off by saying I'm not really an infrastructure person, but am being required to maintain it until we hire someone more suited to it, so apologies if I have any terminology wrong. We have a ...
0
votes
1answer
13 views

Route webhook to all replicas

Normally a request gets routed to one of the replicas. However, if each instance need to take some action when a webhook request comes in, how can I route the request to all replicas? Obviously only ...
0
votes
2answers
27 views

Change variable inside of project. Jenkins, docker, kubernetes

Because I am new in the DevOps, I don't know where I need to apply the changes to correctly run the project. The structure: Git → Jenkins → Docker build -> Kubernetes (deploy) Is it better to make ...
0
votes
0answers
24 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 ...
1
vote
1answer
32 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
21 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
72 views

What are some good Kubernetes training courses? [closed]

I'm looking for Kubernetes training online or in person. What are some good training courses to take?
3
votes
1answer
142 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
1answer
27 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
18 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
28 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
117 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
1answer
23 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
53 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
44 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
16 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
150 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
26 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
30 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
85 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
19 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
32 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
209 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 ...
4
votes
3answers
36 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
23 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 ...
2
votes
0answers
130 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
20 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
247 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
53 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
62 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
33 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
178 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
35 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 ...