Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
3 views

Jupyter Notebook classroom tooling

we are a group of students looking to design a better tool for the use and sharing of Jupyter Notebooks in the computer science classroom environment. For many of the beginning classrooms, it is a ...
0
votes
0answers
9 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
10 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 ...
-1
votes
0answers
10 views

Kubespray upgrade cluster fail

After upgrading Kubespray (tag v2.8.2) version 1.12.2 -> 1.12.5 there are issues. Can anyone suggest what these issues mean TASK [etcd : include_tasks] ***********************************************...
0
votes
1answer
16 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 ...
0
votes
0answers
8 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
16 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
7 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, ...
1
vote
0answers
27 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
31 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
15 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
9 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
1answer
19 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, ...
-1
votes
0answers
12 views

Newbie questions regarding the Spinnaker

I am a developer, I am trying to elevate my dev-ops knowledge to help my company with CI/CD. After some reading, I decided to use Spinnaker, as it covers all stages (I think). There is theoretical ...
0
votes
1answer
12 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
13 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
36 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
79 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
12 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
8 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
54 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?
0
votes
0answers
4 views

Failing at multi-command ReadinessProbe that I feel should work

Having a bit of trouble trying to get a readiness probe command working. Every external service / app of ours exposes an /up endpoint whose body contains the SHA of the current release. I’m trying to ...
1
vote
0answers
9 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....
0
votes
0answers
11 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
225 views

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

I need your help. 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 ...
0
votes
2answers
29 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 ...
3
votes
2answers
34 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 ...
1
vote
1answer
43 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
0answers
19 views

How to access URL in virtual machine from browser in host

I'm running a kubernetes cluster inside a virtual machine. I can access(curl) the URL https://wso2-apim/carbon from the virtual machine which is set up using a kubernetes ingress to point to a service ...
0
votes
1answer
26 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 ...
3
votes
1answer
61 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
17 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
64 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
47 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
41 views

How to get all log files on kubernetes master node?

I need receive all container log and i using filebeat autodiscover. When I deployed Filebeat to Kubernetes without using helm I got all the container logs in the first time. I want to do the same ...
1
vote
2answers
38 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
69 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 ...
1
vote
1answer
48 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
21 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
47 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 ...
0
votes
0answers
31 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
18 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?
6
votes
1answer
41 views

Access service in remote Kubernetes cluster using ingress

I'm attempting to access a service in an existing kubernetes cluster deployed in a remote machine. I've configured the cluster to be accessible through kubectl from my local mac. $ kubectl cluster-...
0
votes
1answer
29 views

How do I deploy an applications to Kubernetes with Minikube?

I would like to do something like this, but all Kubernetes quickstart demos are just for deploying a simple applications and not multiple. How would I create a yaml file that can deploy multiple ...
1
vote
0answers
24 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 ...
0
votes
0answers
17 views

How do you deploy Kubernetes to AWS with conjure-up (and not EKS)?

I am using Ubuntu 18.04 in AWS. I am trying to deploy a Kubernetes cluster with "conjure-up kubernetes". This has worked in the past to create EC-2 instances with Kubernetes. After I run the above ...
0
votes
0answers
21 views

Permission issue with Persistent volume in postgres in Kubernetes

I know this question has been asked repeatedly but not fully answered. I have a postgres running in as root user in a container which is using the persistent volume. But it seems like there is ...
1
vote
1answer
29 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 ...
0
votes
0answers
27 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 ...