All Questions
Tagged with kubernetes kubernetes
58,195
questions
-1
votes
0
answers
5
views
Cannot run Flyte binary on microk8s Homelab
I installed microk8s on my homelab machine (Ubuntu 22.04) and now I try to get Flyte running. I followed the "flyte-the-hard-way" tutorial and I have Postgres database and MinIO storage ...
0
votes
0
answers
4
views
how to enable session affinity in this setup
I'm looking for ideas and knowledge to understand options better to enable session affinity for my service.
Here are the details (simplified):
Everything is running in Kubenettes cluster (GKE).
...
0
votes
0
answers
9
views
kubectl TLC handshake timeout
I'm on a Mac machine with Apple M3 Pro. I am having this error Unable to connect to the server: net/http: TLS handshake timeout every now and then I used kubectl command. It happens more often after I ...
0
votes
0
answers
24
views
How to access K8s pods through external IP?
I deployed my django app in kubernetes, and then created a service of LoadBalancer type to expose it.
This is the deployment yaml file (I changed the actual image name to <my_image>):
apiVersion:...
-1
votes
0
answers
12
views
Azure AKS - Single app using all connections [closed]
We had an issue with our cluster resulting in outage due to failing outgoing connections.
The symptoms we were seeing were that a large portion of outgoing connections (connections to SQL server, ...
0
votes
0
answers
20
views
Empty string in container env value [closed]
I edit the env of a container definition as below.
env:
- name: STAGE
value: ''
- name: PORT
value: '1069'
But when I query the pod using @kubernetes/client-node, the value and valueFrom ...
0
votes
1
answer
17
views
Can't expose Airflow UI with Classic Load Balancer
I have an airflow helm release running on EKS cluster
NAME READY STATUS RESTARTS AGE LABELS
pod/airflow-postgresql-0 1/1 Running ...
0
votes
0
answers
15
views
kubernetes on fedora 40, postgresql error [closed]
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres-deployment
labels:
app: postgres
spec:
replicas: 1
selector:
matchLabels:
app: postgres
template:
metadata:
...
0
votes
1
answer
34
views
How to create kubernetes generic secret without base64 encoding?
for example I'm creating a kubernetes generic secret using following:
kubectl create secret generic passwords \
--from-literal=TestUser='mypass' -n mynamespace
And I will get the following secret:
# ...
0
votes
0
answers
12
views
Preserve client IP address from OVH load balancer [closed]
Goal
Set up preserved client addresses with the Istio controller.
What's Wrong with the OVH Tutorial:
I followed OVH's guide to preserve client IP addresses.
However, it didn't solve the issue.
OVH ...
1
vote
1
answer
30
views
GKE unable to connect to the server: dial tcp server_ip: i/o timeout
Every time I run a command in the kubernetes cluster I get the following error message: unable to connect to the server: dial tcp server_ip: i/o timeout
I've already followed the step by step to try ...
0
votes
0
answers
21
views
How can enable passing idToken to the underlying apiService in kubeAPI?
My kubeAPI is using OIDC and I've enabled username and group claims.
I created a Kubernetes APIService under KubeAPI aggregation. I need to decode the idToken and use its data. but KubeAPI only sends ...
-2
votes
0
answers
12
views
storage provisioner pod restarts due to Failed to update lock: [closed]
storage provision pod restarts when every copy the files from non PV path in the pod to pv path location error in the storage pod
[![enter image description here][1]][1]
E0715 19:02:34.047510 1 ...
0
votes
0
answers
19
views
How to access Hashicorp Vault secrets from AKS using pod workload Identity (pod managed identity)
I want to integrate my AKS cluster so it can fetch secrets from Hashicorp vault using the Azure authentication method in vault (pod workload ID). I know that different solutions exist but I can't find ...
0
votes
0
answers
31
views
How to send application tracing data to OpenTelemetry in Kubernetes?
I added open-telemetry helm chart
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
Install opentelemery operator
helm install opentelemetry-operator open-...
-1
votes
0
answers
34
views
DNS resolution does not work in K8s pod with CoreDNS service IP but works with CoreDNS pod IP [closed]
I have a single node K8s cluster running on a Ubuntu 22.04 machine, and I launched the cluster from K8s source code with the following command:
sudo CGROUP_DRIVER=systemd KUBELET_RESOLV_CONF=/run/...
0
votes
2
answers
31
views
Does nodeSelector field override taints set on a node?
I'm trying to understand how nodeSelector and taints work together in Kubernetes. Specifically, I want to know if using nodeSelector in a pod specification can override the taints on a node, allowing ...
0
votes
1
answer
114
views
deployment.yaml: error parsing uri: scheme must be "mongodb" or "mongodb+srv"
I am trying to run an application on my EKS cluster. The Kubernetes cluster is supposed to access an AWS EC2 instance with Mongodb installed on there. I've applied both a service.yaml file and ...
0
votes
0
answers
13
views
Minikube not getting started after being installled on windows 11 after installation of docker,kubectl
C:\Windows\System32>minikube start
W0719 09:32:32.201445 13512 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: ...
-1
votes
0
answers
25
views
Converting Memory Output from Ki to MB with JSON Path Query Output
I am running the below query to get two outputs across two columns :
Name
Memory
But the memory output is shown in Ki. I would like to convert the output of the node memory into MB when it is ...
0
votes
0
answers
18
views
Pods not Starting after applying istio-enabled label [closed]
I am following Istio Installation for installing istio on a 2 node Kubernetes Cluster. I see no error and all looks good when issuing istioctl verify-install . Then i label the default namespace ...
-1
votes
0
answers
21
views
Spring Cloud Gateway with Kubernetes discovery client for http and grpc requests
I'm trying to implement gateway service using Spring Cloud Gateway with k8s client dicovery that will redirect both http/1.1 and http/2(GRPC) requests
I set the following configurations:
server:
...
0
votes
0
answers
9
views
How to tell Tilt to identify a deployment / service created by an existing pod?
In my Tiltfile, I create a frontend and backend deployment, with a service for each one. I also configure the images used in each deployment to synchronize live updates:
# Identify deployment and ...
-1
votes
0
answers
16
views
Fluent bit adds slash into kubernetes log when sending it to elasticsearch [closed]
This is my configmap file for fluent.
apiVersion: v1
kind: ConfigMap
metadata:
name: fluent-bit-config
namespace: logging
labels:
k8s-app: f-bit-pod
data:
Configuration files: server, input, filters ...
2
votes
0
answers
28
views
Airflow pods wil only run on one k8s node (probably not an affinity issue)
I am running Airflow (deployed via Helm chart) using the KubernetesExecutor on a microk8s cluster that's also runnig Ceph.
We have 4 nodes. A control node and three identical data/processing nodes.
I ...
-1
votes
0
answers
14
views
Pod recycle /restarting causes Network error
Once the Pod gets to the limit the new pod starts. But it takes so long that requests start to timeout whilst waiting to be serviced so when the pod 2 (new pod) gets request it throws error as it ...
0
votes
0
answers
14
views
Error when adding volumeTemplates to nodeSet, Elastic Cloud on Kubernetes (ECK) on DigitalOcean
I was following the ECK installation guide on Elastic site https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html
I am applying this to DigitalOceans managed Kubernetes ...
0
votes
0
answers
15
views
Solace with EKS
soalce
I'm using an event-driven architecture for a microservice project, deploying all microservices and Solace in my EKS cluster. I'm accessing APIs via an ALB and Solace via an NLB as per the ...
0
votes
1
answer
53
views
Kubernetes Endpoint & Service
I have a question, when we provide static Endpoints for the Service, is targetPort ignored ?
As we can see below, endpoint listens on port 10235 and in Service targetPort I specified port 80. It works ...
0
votes
1
answer
18
views
Helm template access dependency's values
In a helm chart, I want to access one of the dependencies' values in my parent chart.
apiVersion: v2
name: hajhosein-kube-prom
description: A Helm chart for Kubernetes
# The version of the parent ...