Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1
vote
0answers
58 views

What are the security loopholes closed by introducing Istio

My application consists of four microservices. (hr, salary, stock and employee). Users of the application access the "hr" service using http. To fulfill this request the hr microservice communicates ...
1
vote
1answer
553 views

how to stop and start kubernetes cluster

I have launched kubernetes cluster using kubeadm with 1 master and 2 worker node. Is there any safe way to stop and start the entire cluster without disturbing deployments. If I restart the master ...
1
vote
1answer
308 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 ...
1
vote
1answer
39 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 ...
1
vote
1answer
202 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
118 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
2
votes
1answer
1k 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. ...
2
votes
0answers
30 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
243 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
127 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 ...
1
vote
2answers
51 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 ...
1
vote
2answers
65 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
15 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
51 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 ...
1
vote
1answer
200 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
1answer
106 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
1k 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
112 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
1answer
495 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
103 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 ...
2
votes
2answers
73 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 ...
1
vote
1answer
842 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
162 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
131 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 ...
2
votes
2answers
104 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 ...
1
vote
1answer
2k 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 ...
5
votes
3answers
132 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
26 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 ...
5
votes
1answer
1k 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
51 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
809 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
69 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 ...
1
vote
1answer
203 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
334 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
468 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
724 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
719 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
90 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
353 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
604 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
116 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
492 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
1answer
339 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....
2
votes
0answers
207 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
4k 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 ...
16
votes
1answer
24k 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
43 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
2answers
1k 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
185 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....