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
0
votes
2answers
34 views

Kubernetes - How to show all service accounts

How do I show all service accounts In Kubernetes? I have tried kubectl get --all-namespaces all. It does not show service accounts. How can I use kubectl to list all service accounts?
0
votes
0answers
26 views

GKE ingress multipath not working

I would like to use a ingress to expose two service on Google Kubernetes Engine. This is working apiVersion: extensions/v1beta1 kind: Ingress metadata: name: api-ingress annotations: ...
1
vote
2answers
41 views

Jenkins pipeline running using containers on an orchestration platform

I have a specific implementation of jenkins on docker. My requirement is to start slave containers on demand and only when they are needed and then stop them after the pipeline has ran. I have the ...
1
vote
2answers
31 views

initContainer with huge size software like magento2

As a practice I have pods with these 2 containers: php-fpm nginx The image of my project is called testimage. The solution uses the 'testimage' as initContainer and then copies the all folders and ...
1
vote
2answers
21 views

How do I get more control over the NodePorts my Service assigns to my Deployment?

I have a Deployment with 5 replicas. All have ssh and telnet. They should not be load balanced. I would like each to select from a predictable list of 5. Here is my Deployment apiVersion: apps/v1 ...
1
vote
1answer
39 views

Container runtime Vs orchestrator

The terms container runtime and orchestrator always confuse me. Can someone please put these in simple terms? Thanks
1
vote
0answers
31 views

Google cloud container running 40x slower then on aws

i have a flask api tunning a pytorch predict inside a kubernetes cluster. I deployed it on AWS and got good results. I have tried on GKE and had good results, but when im deploying my pods on a high ...
0
votes
0answers
19 views

How do I trigger a job on rolling update in kubernetes

I'm trying to run a job to run every time a rolling update is performed successfully on a deployment in kubernetes. I have a job that runs a migration script that talks to the pods in the deployment ...
0
votes
0answers
27 views

Persistent storageClass for GitLab on Kubernetes

Using the official helm chart and documentation, I want to deploy GitLab to Kubernetes. The storage guide shows how to store persistent data and also offers example Helm values. Sadly this doesn't ...
0
votes
0answers
78 views

Kubernetes local-path-provisioner with better readable paths instead of random ids on PVs

Since the k8s local storage doesn't support dynamic provisioning yet, I found the local-file-provisioner from Rancher which seems to fill this gap. Deploying the examples mentioned in the ...
0
votes
0answers
18 views

DeamonSet pods priority

I just upgraded my aws eks test cluster from 1.11 to 1.12. With that comes a below change: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.12.md#sig-scheduling: DaemonSet pods, which ...
2
votes
0answers
194 views

Rancher Pipeline: How to pass environment variables from one stage to another

Currently I am trying to move our existing build infrastructure to Rancher with its CICD pipelines. My main question is: Is it possible to pass environment variables from one stage to another? Our ...
0
votes
0answers
11 views

Confluent: Schema registry terminated ( logs inside )

I just want to add a new avro schema in the schema registry. I am using Google Kubernetes Engine ( GKE ) but as you can see below, the schema registry doesn't work. Why? https://pastebin.com/...
0
votes
0answers
24 views

Kubernetes UDP Ingress options

I am trying to deploy a UDP application in Kubernetes and I need some kind of ingress controller that supports UDP and I wish I could use something like Gobetween but it lacks ingress functionality. ...
0
votes
0answers
49 views

kube-controller-manager unable to communicate with etcd

1. What kops version are you running? The command kops version, will display this information. Version 1.12.2 2. What Kubernetes version are you running? kubectl version will print the version if a ...
1
vote
2answers
42 views

Is a ReplicaSet pulling a fresh image at every spin up?

I inherited an app without a ton of handoff information, and there's a Kubernetes setup with ReplicaSets and KOPS (and based on Docker containers). I am pretty new to Kubernetes Whenever one of the ...
0
votes
0answers
91 views

Gitlab + Kubernetes on GCE + DIND - how to get access to docker subsystem in the cluster?

Preliminaries I am using Gitlab Community Edition 12.0.3, in which I have standard project admin permissions but no more. The installation only has few and slow CI runners, so I went and created a ...
1
vote
1answer
23 views

Why do many pods fail to communicate with the master

I have lots of unexplained errors in kubernetes. Often I see errors in logs of pods with the following: Get https://10.152.183.1:443/api/v1/namespaces/{REDACTED}: x509: certificate is valid for 192....
0
votes
0answers
523 views

“NetworkPlugin cni failed to set up pod” error when deploying Pod, while Deployment work

For testing purpose, I want to keep things simple and run a Python Docker image on Kubernetes. So I used a Pod as smallest unit, based on the official template from the Kubernetes docs: apiVersion: ...
1
vote
1answer
114 views

“Error: forwarding ports: Upgrade request required” Error in helm of a kubernetes cluster

I have a kubernetes cluster built using kubespray and imported to Rancher. The nodes are configured with CentOS Linux 7 3.10.0-957.12.1.el7.x86_64 Docker version : 18.9.5 Kubelet version : v1.14.1 ...
0
votes
1answer
56 views

kubernetes statefulset - communicate addresses of other pods when pod launches?

Is there some metadata that I can apply, or some DNS that I can query, such that when a pod is started, the addreses of all the other pods in that statefulset will be somehow made available to the ...
0
votes
0answers
54 views

Docker ps shows a container that doesn't exist anymore

When I run docker ps I get a container ID that doesn't exist anymore. docker inspect and exec give me the Error: no such object message, and when I go to /var/lib/docker/containers/ there's no folder ...
0
votes
0answers
38 views

Jenkins: Managing Multiple Environment Configuration and Deployments

I am working on a product where we have 3 dev teams. 1 for UI and 2 for backend. Each team requires a complete env for their own testing. There 10+ backend services and many more other components and ...
0
votes
0answers
39 views

kubernetes service's dns not resolved inside cluster

i have setup a Service on my cluster, but can access it from pods only with the ip:port that are specified in the "Endpoints:" of the service. Instead i would like to use my-service.default.svc....
0
votes
0answers
95 views

Jenkins Kubernetes agent: multiple containers on dynamic agent pod - jnlp connection refused

so, I have a jenkins Master behind an Nginx reverse proxy on a GCP VM machine, and a GKE kubernetes cluster on which I need to have a dynamic slave pods. the pod has to have as an addition to the ...
0
votes
0answers
161 views

kubernetes - custom downscale stabilization delay per Horizontal Pod Autoscaler

I need to be able to set a custom downscale stabilization delay per HPA but i can only find a way to apply this delay to the cluster level with --horizontal-pod-autoscaler-downscale-stabilization "...
1
vote
1answer
45 views

Does K8s ClusterIP service supports custom timeout?

Report from Stack Overflow due to off-topic Base knowlege Since this question deals particularly with various timeouts configuration in Nginx, I thought giving their references here would make it ...
0
votes
1answer
19 views

Deploying a pod per REST request?

Is it possible to deploy 1 pod per each REST request? My process starts up in .004s and is about 1GB in size. After the REST request completes the pod will terminate. Given that I'd like to deploy ...
0
votes
0answers
24 views

Kubeadm ignores podSubnet from configfile

I use Kubernetes 1.14.2 on Centos 7.6 with Weave as Network-Plugin. I created my kubernetes cluster with kubeadm init --config kubeadm-config.yaml with the following config (here a screenshot ...
1
vote
1answer
76 views

Deploying Anchore to Kubernetes Cluster using Helm

Kubernetes version 1.14.2 (Client) 1.14.1 (Server) Anchore Chart anchore-engine.1.0.5 App Version 0.4.0 I'm trying to deploy Anchore via Helm to a Kubernetes cluster, but I'm getting failures in ...
0
votes
0answers
52 views

limit prometheus alert to kubernetes nodes of a specific label

I am working to build an alert rule that is basically "When number of running pods is greater than cluster_pod_capacity - single_node_capacity" sum(kubelet_running_pod_count) > sum(...
1
vote
0answers
136 views

Kubernetes metric or command to show liveness delay time (app startup time)

HTTP Kubernetes liveness and readiness checks are configured as per the documentation. The initialDelaySeconds field tells the kubelet how long it should wait before performing the first liveness / ...
1
vote
1answer
105 views

Interacting with a Trident container (NetApp) via CLI within a Openshift/Kubernetes cluster?

Background We're currently using NetApps Trident PV (Persistent Volume) orchestrator to dynamically create volumes on our NetApp ONTAP clusters for Pods running within our Openshift/Kubernetes ...
0
votes
1answer
181 views

Increase Kubernetes Nginx Ingress limits for large images in Docker registry

When pushing images to a self hosted Docker registry installed using their official helm chart, this works for some images. But for one image, I'm not able to push two layers. Docker retry it several ...
1
vote
1answer
22 views

How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

I am currently investigating how to manage the containers for our new data-processing pipeline. What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I ...
2
votes
1answer
3k views

How to solve 'upstream connect error or disconnect/reset before headers. reset reason: connection termination' in Istio?

I try to setup an aws load balancer (ELB) with SSL follow the instruction at #6566 Certificate was attached on ELB. However, I got the issue "upstream connect error or disconnect/reset before ...
0
votes
0answers
76 views

Problems mounting GlusterFS when starting up pod (in Kubernetes)

Just to give a bit of background - I have a 3 node GlusterFS cluster running, and I made sure to test it works by mounting a few directories on some servers. I also tested a mount on the Kubernetes ...
1
vote
0answers
25 views

Kubernetes scheduler trying to assign pods to node that no longer exists

I had a node get automatically removed from our kubernetes cluster by the autoscaler. However, it appears the scheduler didn't get the memo, and it's still trying to assign pods to the dead node: ...
1
vote
0answers
43 views

Deis Workflow Alternative

We're looking to build an internal Heroku-like PaaS that supports clustering and a DFS. We found Deis Workflow that seems to do exactly what we're looking for, but the project has since been ...
0
votes
2answers
2k views

helm - cannot get resource “namespaces” in API group

I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it $ helm install stable/kubernetes-dashboard --name ...
0
votes
1answer
14 views

use different kubectl configs in different terminal sessions

If I run kubectl get svc, it seems to be the same across terminal sessions - how can use a local configuration that's only loaded for my current terminal session? If the answer is a local config file ...
0
votes
1answer
43 views

Kubernetes multi cloud

I'm exploring doing kubernetes on a multicloud setup the configuration I want is a master connected to nodes in multiple cloud platforms. In my limited research I haven't found many tools to make this ...
1
vote
1answer
91 views

How to run/deploy devilbox (Docker image) docker-compose on GCP without a Dockerfile?

Devilbox comes with a docker-compose file to run a docker container: https://github.com/cytopia/devilbox However, on the GCP Kubernetes Engine it is only possible to start up a new container via a ...
1
vote
1answer
36 views

Why label k8s deployment?

In the below deployment yml, the deployment itself has a label "app: hello". What would happen if I delete that line (line 6)? I understand the functional need for pods to be labeled, because then ...
0
votes
1answer
32 views

How to choose appropriate number of replica sets for kubernetes

I have just started learning about kubernetes and its concepts, so sorry if this is a lame question, however, I cannot seem to find the answer anywhere. I understand that a node is a VM or a physical ...
0
votes
0answers
383 views

Create MariaDB/MySQL HA Cluster on Kubernetes using master-master replication

I want to deploy high avaliable web apps that require a MySQL database on a multi note Kubernetes cluster. Having never deployed any SQL cluster, I learned that there are master-master and master-...
3
votes
1answer
838 views

How to use same Helm dependency in many charts?

For example, I have this charts structure: ├── parentChart │   ├── charts │   │   ├── childChart1 │   │   │   ├── charts │   │   │   │   └── postgresql-3.11.6.tgz │   │   │   ├── Chart.yaml │   │   │ ...
0
votes
1answer
714 views

External access to internet from Kubernetes Pods

I'm having troubles with network access from pods. I had installed new Kubernetes cluster with flannel-network plugin, Checking the health of server - good. I tried to check network via busybox: ...
4
votes
2answers
846 views

Automate Helm's tiller installation with Terraform

I need to be able to generate disposable kubernetes environments using terraform. These environments should use helm for application deployment and ideally have tiller installed during the terraform ...
0
votes
1answer
611 views

error validating data: ValidationError(Deployment): unknown field “spec” in

I know that yml files are temperamental and I still struggle to figure it out. Can anyone help out here to understand what is it about my client-deployment.yml file that makes Kubernetes want to issue ...