Questions tagged [kubernetes]

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

0
votes
0answers
27 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
6 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
21 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 "...
0
votes
0answers
10 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
15 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
8 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 ...
0
votes
1answer
18 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
28 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
78 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
22 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
29 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 ...
0
votes
0answers
20 views

connect_write timeout - Fluentbit (Processor), Fluentd (Aggregator) and Elasticsearch in Kubernetes

I'm having some troubles with setting up ElasticSearch with Fluentd and Fluentbit for log aggregation. I'm using the following chart: https://github.com/helm/charts/tree/master/stable/elastic-stack ...
0
votes
1answer
13 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 ...
1
vote
1answer
94 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
16 views

Construct kube/config for kubectl from ca.crt, namespace, serviceAccount token in the pod

kubectl needs a config file to connect to the api-server. It is typically stored at ~/.kube/config I have a pod in my cluster. It has the kubectl binary # ls -al /usr/local/bin/kubectl -rwxr-xr-x ...
0
votes
0answers
34 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
17 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
13 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
0answers
165 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
12 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
0answers
14 views

How does Joyent ContainerPilot stand vs Kubernetes?

We are at the point of laying out a major healthcare interoperability project based on docker. Think of this as hundreds of systems (of the same type, but different versions), sending hundreds of ...
0
votes
0answers
5 views

How to add customer headers to Openshift Web Console HTTP responses?

A vulnerability auditing to our IT infrastructure found that responses from Openshift Web Console didn't have Strict-Transport-Security and X-XSS-Protection HTTP headers, and recommended that we ...
0
votes
0answers
27 views

Create a Cronjob in Spinnaker

I created a cronjob using kubectl. I would like to manage this job using Spinnaker, but I can't find my created job. This cronjob looks like this: apiVersion: batch/v1beta1 kind: CronJob metadata: ...
0
votes
1answer
32 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 ...
0
votes
0answers
22 views

How to install Jenkins X platform on Kubernetes

I'm newbie in Kubernetes and I have installed Jenkins X platform on the cluster. I have installed it on kubernetes --on-premise. The instellation get stuck in this step. "waiting up to 0s for the ...
0
votes
1answer
36 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
26 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
0answers
12 views

How to shrink k8s node pool (GKE) and underlying stateful set in an orderly way

I have an ElasticSearch cluster running in GKE in a dedicated node pool. I want to shrink the size of the ElasticSearch cluster in an orderly way. The steps I'd like to follow are: Drain specific ...
0
votes
0answers
9 views

Virtual Switching Sanity Check - BGP

I have a home Kubernetes cluster that runs in 4 VMs on top of Proxmox. Proxmox is tagged to VLAN 20, the Kubernetes VMs are tagged to VLAN 40. The Kubernetes VMs are BGP neighbors of my router so ...
0
votes
1answer
25 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
22 views

POST larger than 400 Kilobytes payload to a container in Kubernetes fails

I'm using EKS (Kubernetes) in AWS and I have problems with posting a payload at around 400 Kilobytes to any web server that runs in a container in that Kubernetes. I hit some kind of limit but it's ...
0
votes
0answers
61 views

Kubernetes ServiceAccount token rotation

Does Kubernetes automatically rotate the service account token? https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/ I couldn't find much on Google. Thanks
0
votes
0answers
124 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-...
2
votes
1answer
76 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
51 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: ...
2
votes
2answers
183 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
0answers
9 views

How to segment Pods in firewall zones in bare metal Kubernetes?

We are introducing a K8 cluster into our existing, segmented environment and are trying to find a way to host Pods in different firewall zones from a central cluster (akin to ESX hosts that get access ...
0
votes
1answer
86 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 ...
0
votes
0answers
87 views

Using application config file kubernetes configmap for mongodb failed when pod is deployed

Using helm to create my own chart to deploy an instance of mongodb on kubernetes cluster, I am using a custom configmap for having my own mongo configuration. My config map is looking like this: {{- ...
3
votes
2answers
244 views

Copy multiple files using * wildcard from kubernetes container

I have several files named out1, out2, ... in my Kubernetes container. I want to copy them to my local computer. I am using: $ kubectl cp pod:/path/out* . But I am getting an error: tar: Removing ...
0
votes
0answers
25 views

How to run mongoconnetor in kubernetes

I run mongo cluster and elasticsearch cluster and want to connect them by mongoconnector or transporter. for mongoconnector i find docker run -d --link=mongo:mongo --link=elasticsearch:...
2
votes
3answers
199 views

How to manage 10+ team environments with Helm and Kubernetes?

I'm looking for feedback on how we can improve our team environment and staging deployment process. We currently have 10 agile teams, and set up our Kubernetes deployments through Helm as follows: ...
0
votes
2answers
38 views

Accessing External REST api From Wthin Kubernetes Cluster

This is my first foray into Kubernetes land... I'm still pretty shaky on how things work and still wrapping my head around some of the concepts so please bear with me there. The application I am ...
1
vote
0answers
23 views

How to differentiate logs on the Error Reporting in the GCloud?

We have two clusters with multiple namespaces in each project. However our Error Reporting groups all errors together in the whole project and marking them as ‘gke_instances’ - there must be a better ...
0
votes
0answers
17 views

How to to access one cluster from the other one in the kubernetes on the google cloud?

We created 2 kubernetes clusters on the google cloud: development and production. We want to constantly transfer RabbitMQ stream from the one cluster to another. What should we use: VPC, some firewall ...
0
votes
1answer
26 views

What options are available to report the build status of Jenkins Multi Pipeline's first branch build on k8s to bitbucket-cloud?

Background The Bitbucket Status Notifier plugin has been configured. The status was reported, but since more and more jobs have been moved to Jenkins-on-steroids that is running on k8s, buildStats ...
1
vote
1answer
28 views

Secure Jenkins X on kubernetes

I install Jenkins X on kubernetes. I want to change the default installation and secure the Jenkins url, so it will be not accessible from the public. Can i change it to some port, or some way to ...
1
vote
2answers
367 views

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: ...
0
votes
2answers
35 views

Ingress or LoadBalancer on AKS

I'm wondering whether to use an Ingress or LoadBalancer to expose services on Azure AKS. I have successfully used both, but I cannot really choose. On one side, an Ingress allows us to have a single ...
2
votes
1answer
358 views

Prometheus alert CPUThrottlingHigh raised but monitoring does not show it

I have installed Prometheus to monitor my installation and it is frequently raising alerts about CPU throttling. The Prometheus alert rules to identify this alert is : alert: CPUThrottlingHigh expr: ...