We’re rewarding the question askers & reputations are being recalculated! Read more.

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
5
votes
2answers
1k 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
40 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
388 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: ...
1
vote
2answers
94 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
39 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
18 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
29 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
51 views

Secure Jenkins X on kubernetes

I have installed Jenkins X on kubernetes. I want to change the default installation and secure the Jenkins url, so that it will be not accessible to the public. Can I change it to some port, or some ...
1
vote
2answers
856 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
50 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
1k 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: ...
3
votes
2answers
3k views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
1
vote
0answers
29 views

kubernetes - load balancing where ressources are available

I would like to know how could I set up a load balancer at the Kubernetes level so my services point to the pods that have more RAM/CPU resources available, and not randomly. It would be co-existing ...
2
votes
1answer
29 views

Which libraries generate observability metrics for applications in the cluster to prometheus?

I recently read "Cloud Native DevOps with Kubernetes" by O'reily and it mentions the RED and USE metrics which are a good starting point for gaining better observability into the system, however I'm ...
4
votes
1answer
174 views

Process auditing in containers

I've read numerous articles on this going back to 2013, but what I wasn't able to ascertain is whether a reliable method has yet been devised for auditing processes inside a container. This question ...
1
vote
0answers
25 views

jenkins-x with “jx” installer: enforce https instead of http

My current kubernetes setup has no open http port, for security reasons. But https is open and has a valid certificate. Still the jx installer of jenkins-x seems to require http in order to complete ...
0
votes
1answer
27 views

Jenkins is running as a docker image in a kubernetes cluster and won't come up due to plugin version incompatibility

We are running Jenkins as a docker image in a kubernetes cluster. However it does not come up any more because of some plugin version incompatibility. How can we upgrade the plugins, or disable them ...
1
vote
1answer
195 views

Keeping graphs of terminated Kubernetes pods in Prometheus/Grafana

I love using Prometheus/Grafana to monitor and tune resource usage on my Kubernetes clusters. When pods are terminated, however, the graphs are disposed of it seems. I am looking for a solution to ...
1
vote
1answer
1k views

What setting to use for jenkins tunnel?

I am trying to run a jenkins system on my macbook for testing Jenkins is running in the mac "Docker Desktop" in Kubernetes, using a helm chart It has a Kubernetes slave set up with the Kubernetes ...
0
votes
0answers
24 views

Access resources on local network from within K8s pod

I have a Kubernetes pod running on a bare-metal cluster. How can I access a resource on the local network from within the pod? For example: From within pod my-pod-abc123 ping 192.168.0.4 Currently, ...
3
votes
1answer
145 views

Does Prometheus expose the Horizontal Pod Autoscaler's “Current CPU Utilization” as shown in the Kubernetes dashboard?

In the Kubernetes dashboard, I can see for a HPA the following information: Min Replicas: 3 Max Replicas: 11 Target CPU Utilization: 80% Status Current Replicas: 3 Desired Replicas: 3 Current CPU ...
1
vote
0answers
820 views

Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job

I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication ...
-1
votes
1answer
284 views

etcd cluster is unavailable or misconfigured (kubernetes multi-master)

I am new to kubernetes and I am working on creating multi-master-kubernetes with 2 masters nodes. Could anyone explain why when I execute the command ETCDCTL_API=2 etcdctl member list, I get: etcd ...
1
vote
0answers
62 views

Kubernetes: How to tell on which node a local storage PV has been created on

I have provisioned manually a few small local storage PVs for a redis stateful set (I have provisioned 10 on a 3 node cluster) They seem to to be working fine. The pods created by the redis stateful ...
1
vote
0answers
30 views

In simple terms, what is the advantage of a Virtual Kubelet?

I have read about the Virtual Kubelet project. I can see that it allows you to delegate from Kubernetes to an Azure Container Instance (ACI), that it allows you to deploy both unix/windows boxes, ...
0
votes
1answer
193 views

Deploy to GKE from CI server outside of cluster

I'm setting up our CI (Jenkins pipeline) to deploy apps to a GKE cluster. Our Jenkins sever is running external to GKE or any Google Cloud infrastructure. I'm thinking of using a docker image with ...
1
vote
1answer
41 views

If we are using Kubernetes do we need to implement HA on both the infrastructure and application level?

Is this something that's going to be covered at the application level with pod autoscaling? Or should we implement both horizontal pod autoscaling and infrastructure high availability within our cloud ...
4
votes
2answers
127 views

If we are using containers do we still need to worry about configuration management at an infrastructure level?

We are about to begin our journey with containers and I am wondering if we still need to utilize something like Chef, Ansible, Terraform, etc. to ensure that our infrastructure is properly maintained? ...
1
vote
0answers
16 views

Flow for Confluent Plugins on Kubernetes

Our team is developing Confluent/Kafka Source Connector-plugins. Do you have any ideas on how to install/upgrade the plugins? How is the flow (git -> Jenkins -> running Source Connector) supposed to ...
1
vote
1answer
40 views

declaratively mount a service account secret in OpenShift

I am using helm charts to deploy some webhook handlers. The handlers need to connect to the cluster they are running on to deploy the configuration within it. It works but one step is tricky to move ...
0
votes
0answers
95 views

What is Amazon's Borg?

I know that Kubernetes was inspired by software called Borg used internally at Google. Is there a name for what Amazon AWS uses internally to manage its hardware resources as internal platform?
1
vote
0answers
26 views

gcloud Kubernetes API - Can't scale over 25 RPS, or how to find a bottleneck

We recently moved our GraphQL API from a big stateful monolithic app to a stateless design running on kubernetes in Google Cloud. Our production cluster is composed of: 6x n1-standard-2 (2 vCPUs, 7....
1
vote
0answers
46 views

How do I set up a Prometheus rule to routinely scrape an HTTP endpoint?

I'm getting started with Prometheus (Prometheus Operator), and I'm looking at adding it to an existing cluster, where each container has a /healthcheck endpoint, that is going to either return true, ...
0
votes
1answer
6k views

Pod's state “pod has unbound immediate PersistentVolumeClaims” when deploy Jenkins with Helm chart

I try to deploy Jenkins in local Kubernetes cluster with Helm from repo stable/jenkins:lts. But after deployment I get pod which has status "pod has unbound immediate PersistentVolumeClaims". PVC has ...
0
votes
2answers
92 views

How to automatically remove k8s namespaces every week?

In our company multiple stakeholders create test systems in k8s that they forget to remove. The aim is to remove namespaces that are older than one week automatically. Is there a certain operator that ...
4
votes
2answers
127 views

Automatic Kubernetes deployments per Github pull-request

I'm looking for a tool/service that will achieve a similar result as Heroku Review Apps using Google services. When a new pull-request is created in Github: Create new Cloud Build trigger for it ...
0
votes
1answer
3k views

Deploy helm chart from Jenkins to Kubernetes

I want to deploy helm chart from Jenkins to Kubernetes but I don't find any Plugins in Jenkins for Helm. How can I tell Jenkins to run Helm chart in Kubernetes ?
0
votes
1answer
41 views

Entering to docker container of my elasticsearch google kubernetes pod - CONTAINER ID is changing

I have a kubernetes cluster on GCP, in which I have a elasticsearch service. I have a elasticsearch-0 pod which is running a docker container of elasticsearch. ~ ❯❯❯ kubectl describe pod ...
6
votes
4answers
5k views

How to get kubernetes pod network CIDR

I have a running k8s cluster initialized with kubeadm. On initialization, I did not pass the option --pod-network-cidr How do I get the CIDR of the pod network I tried Looking at the /etc/...
1
vote
1answer
42 views

Easiest way to manage an elasticsearch cluster in GCP?

I'm trying to create my own Elasticsearch cluster to use for security analytics. I'm familiar with the function and setup of a single instance deployment, but I'm having trouble figuring out the ...
1
vote
1answer
82 views

Is there any latest technology which will replace Docker, Kubernetes in future? [closed]

What's the future of engineers starting career in tools like Docker, Kubernetes?
3
votes
1answer
78 views

How to convert a docker-compose file to kubernetes file(s)?

Is there any easy way to convert a docker-compose.yml file to Kubernetes file(s)?
1
vote
0answers
206 views

How to get all log files on kubernetes master node?

I need to receive all container logs using Filebeat autodiscover. When I deployed Filebeat to Kubernetes without using helm, I got all the container logs in the first attempt. I want to do the same ...
2
votes
2answers
209 views

Gitworkflow and testing short lived feature branches in Openshift/Kubernetes

Recently my team started adapting git workflow for agile-based delivery, we've been using JIRA, TeamCity and various other CI tools to complete the pipeline. The workflow works great for monolith or ...
5
votes
1answer
425 views

Connecting jaeger with elasticsearch backend storage on kubernetes cluster

I have a kubernetes cluster on google cloud platform, and on it, I have a jaeger deployment via development setup of jaeger-kubernetes templates because my purpose is setup elasticsearch like backend ...
2
votes
1answer
810 views

Why can the certificate not be found by the Ingress Controller, while the certificate has been issued?

kubectl logs nginx-ingress-controller-X -n nginx-ingress W1222 06:52:04.575115 8 controller.go:1058] Error getting SSL certificate "app/app-tls": local SSL certificate app/app-tls was not found....
1
vote
0answers
76 views

How to setup external service (keycloak) to protect an app in kubernetes?

I have a java application protected by keycloak (that's an standalone application for session control which runs on port 9080). Keycloak is available to world because during auth process, my app ...
0
votes
1answer
208 views

Consul Helm chart: Connect Injector service not working

Below is my config that I am applying over the latest version of the chart (0.4.0). The consul client daemonset pods come up and successfully register with the cluster. The connect injector webhook ...
1
vote
0answers
188 views

running httpd and nginx in the same pod kubernetes

I am not able to run both apache (httpd) and nginx in the same pod. Indeed both containers are running on port 80. # kubectl logs -f multi-container -c apache (98)Address in use: AH00072: make_sock: ...
1
vote
1answer
21 views

What does mapping in yml file means?

I am not sure what mapping in YAMl file means, can someone advise what does mapping in YAML file means?