Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
14 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
7 views

How to install Jenkins X platform on multi master cluster Kubernetes

I'm newbie in Kubernetes and I have created a multi master cluster (2 master an 2 nodes). And now I'm working on installing Jenkins X platform on the cluster. I have installed the platform on one ...
0
votes
0answers
5 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
16 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
9 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
6 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
20 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
21 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
9 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
21 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-...
1
vote
1answer
29 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
32 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: ...
1
vote
0answers
22 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
7 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
14 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
40 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: {{- ...
2
votes
2answers
46 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
20 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
179 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
26 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 ...
0
votes
0answers
13 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
16 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
23 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
25 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
191 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
23 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 ...
1
vote
1answer
111 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: ...
0
votes
1answer
117 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
19 views

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
20 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 ...
2
votes
1answer
53 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
18 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
0answers
29 views

Nginx ingress controller failed to run

I'm trying to deploy nginx-ingress controller in my own server without load balancer and cloud provider. I did the following steps: apiVersion: v1 kind: Namespace metadata: name: ingress-nginx ...
0
votes
0answers
12 views

Is K8S dashboard recommended for production ready server?

I saw many tutorials show how to setup k8s dashboard UI for development which will be access from localhost. Can it be used for production server too? If yes, how to setup it on production master ...
0
votes
1answer
21 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
23 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 ...
0
votes
1answer
111 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
14 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, ...
2
votes
1answer
52 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
224 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 ...
0
votes
0answers
44 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
17 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 ...
0
votes
0answers
5 views

Pack and move kubernetes to a different host

Say I had a K8s based infra on GCP and wanted to easily move to AWS. What design architecture do you recommend ? like use of zeroconf pods, avoid vendor locks etc.. How to make pack-and-move easy ? ...
1
vote
0answers
21 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
35 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 ...
0
votes
0answers
33 views

Golang, Jenkins and Kuberentes | Readiness probe failed on health check

I'm trying to deploy my buffalo golang app to Kubernetes over Jenkins. When I deploy the app it passes all phase but the pod isn't ready. I get the following error when I describe the pod: ...
1
vote
1answer
38 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
86 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
13 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 ...
0
votes
1answer
13 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 ...