Questions tagged [kubernetes-pod]

Kubernetes-pod refers to Pods, the smallest deployable units of computing that can be created and managed in the cluster management software Kubernetes. Use this tag for questions related to this group of containers.

Kubernetes-pod refers to Pods, the smallest deployable units of computing that can be created and managed in the cluster management software Kubernetes. Use this tag for questions related to this group of containers.

2142 questions
0
votes
1 answer

How do I inject the container without rebuilding the pod in k8s

I have a project that I want to add debug container to a pod or some pods, but I don't want the pod to be rebuilt. kubectl patch can be added but the pod will be rebuilt. Is there any other way to achieve this? I really appreciate any help with…
moluzhui
  • 1,003
  • 14
  • 34
0
votes
3 answers

Why my pod error "Back-off restarting failed container" when I have `imagePullPolicy: "Always"`

Why my pod error "Back-off restarting failed container" when I have imagePullPolicy: "Always", Before It worked but today I deploy it on other machine, it show that error My Yaml: apiVersion: apps/v1 kind: StatefulSet metadata: name: couchdb …
cksawd
  • 11
  • 1
  • 2
  • 5
0
votes
1 answer

pod crashed find what job it was doing, and how to assign same job to another pod

I have pods working on some jobs(doing some processing on some files) and suppose one of the pods gets stuck or crashes is there was to find out which file the pod was working on and save the processed data the pod had processed till the pod got…
Sami Ullah
  • 717
  • 8
  • 14
0
votes
1 answer

kubernetes: pods creation automation

While learning kubernetes, terms like kubectl, master node, api server etc come up regularly. Kubectl is client to interact with k8s cluster for doing stuff like creating pods, managing them etc. For eg, locally I use it to work with minikube. But…
Mandroid
  • 6,200
  • 12
  • 64
  • 134
0
votes
1 answer

When should I use commands or args in readinessProbes

I am working my way through killer.sh.for the CKAD. I encountered a pod definition file that has a command field under the readiness probe and the container executes another command but uses args. apiVersion: v1 kind: Pod metadata: …
TeeTee
  • 99
  • 7
0
votes
0 answers

Kubernetes install TimescaleDB

I'm trying to install in my Kubernetes cluster TimescaleDB, unfortunately following more tutorials I always fall in a similar error. For example, I tried this tutorial but the pod 'timescale-db-timescaledb-data-1' has the error: install: cannot…
0
votes
1 answer

How to cancel a broken StatefulSets rolling update?

I have a PostgreSQL Kubernetes Service based on Patroni/Spilo. This Kubernetes service deploys a cluster of three PostgreSQL pods + three Etcd pods. During maintenance, I had a failure and I wasn't able to restore the old configuration that worked…
Salvatore D'angelo
  • 1,019
  • 3
  • 14
  • 39
0
votes
1 answer

Jenkins pipeline with kubectl get pods return "unexpected EOF"

I'm trying to create a Jenkins pipeline with multi-stages, the first stage creates the image, the second stage create new pods from the newly created image and the third stage checks if each pods is alive. In the third stage one of the commands…
0
votes
2 answers

Kubernetes Deployment Rolling Update

I have an application that I deploy on Kubernetes. This application has 5 replicas and I'm doing a rolling update on each deployment. This application has a graceful shutdown which can take tens of minutes (it has to wait for running tasks to…
Akshay Gopani
  • 473
  • 4
  • 16
0
votes
1 answer

Overwrite parameters in scc ( SecurityContextConstraints )

I would want to enable seccomp on my openshift v4.6 to use RuntimeDefault securityContext: seccompProfile: type: RuntimeDefault when i run the command below i can see that i've allowPrivilegeEscalation set to true $ oc get scc…
0
votes
1 answer

How can I save my changes on pod to do a URL redirect on nginx ingress?

I'm new working with docker and kubernetes, and I have some problems on my company environment to save somethings. I have my environment running on a EKS and I need to do a redirect URL on my NGINX ingress-controller, but I couldn't save my changes…
0
votes
0 answers

Kubernentes External Ip is working only in the cluster

I am new to Kubernetes and I am trying to host a testing site,I have pods running as below NAME READY STATUS RESTARTS AGE sasank-website-78864ff54b-656ld 1/1 Running 0 …
0
votes
1 answer

What happens when kubernetes readiness-probe return false? How long to wait?

What happens when Kubernetes readiness-probe returns false? Does Kubernetes restart that pod after timeout? How long Kubernetes waits for readiness?
J.J. Beam
  • 2,612
  • 2
  • 26
  • 55
0
votes
0 answers

Cluster name within the Pod

Is there a way to get the name of the cluster within the pod. Is there a fieldRef that can be used to pass on the cluster name to the pod while creating the pod using the deployment.yaml file?
Balachandar
  • 1,538
  • 3
  • 16
  • 25
0
votes
2 answers

Not able to access application inside kubernetes POD

Service.Yaml pods.yaml i am not able to access my application from browser. What mistake i am doing ? if i give Ipaddress:30010 -> my app is not getting reached. (attached my pod.yaml and service.yaml here in attachment)