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

Mounting folder into Docker container inside a Kubernetes Pod

I have this pod definition: apiVersion: v1 kind: Pod spec: securityContext: runAsUser: 1000 runAsGroup: 1000 fsGroup: 998 # Group ID of docker group on the node containers: - name: someconainter image: someimage …
Wazery
  • 15,394
  • 19
  • 63
  • 95
0
votes
1 answer

My pod status showing OOM-killed, but doesn't restarted container. Why?

I am running POD with three containers, one app POD and two sidecar containers. Here app container memory limit is exceeded and doesn't restart. Inside the app pod, a Java app is running. Here is the describe POD command status. Host Port: …
Ashok Kumar
  • 105
  • 2
  • 8
0
votes
1 answer

Determine if a pod should connect to KeyManager1 or KeyManager2

I am currently trying to create an architecture as shown in the diagram below. For the first deployment of the pods it's quite simple, as I always have an even number, I put the first half on KeyManager1 and the other half on KeyManager2. My problem…
0
votes
2 answers

Error with documentation ?? NetworkPolicy?

I walked through the code in a 3 node K8 cluster and doesn't seem like I am able to block the flow of traffic using networkpolicy on a deployment pod. Here is the the output from the exercise. user@myk8master:~$ kubectl get…
0
votes
1 answer

The extention of updateable fields in Pod

I wonder why only some fields of a pod can be modified。 The updateable fields are: spec.containers[*].image spec.initContainers[*].image spec.activeDeadlineSeconds 1 In my actual business, I have a need to change the schedulername of a pod. So i…
0
votes
2 answers

How to create pod using docker image from Artifactory

I have created one docker image and publish that image to Jfrog Artifactory. Now, I am trying to create kubernetes Pod or trying to create deployment using that image. Find the content of pod.yaml file apiVersion: v1 kind: Pod metadata: name:…
vaijayanti
  • 11
  • 1
0
votes
1 answer

Getting "1 node(s) didn't find available persistent volumes to bind" installing DSE OpsCenter on Kubernetes

I am trying to install DSE Opscenter on Kubernetes. Below is my cluster file apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: ops-storage provisioner: kubernetes.io/no-provisioner volumeBindingMode:…
0
votes
1 answer

Auto addition and deleteion of ingress rules in Kubernetes

I am trying to create an architecture where every deployment deploys with a cluster IP and the rule get automatically added to the ingress rule as a new path. My initial thinking was to give the Deployment a ServiceAccount that has access to manage…
0
votes
0 answers

Append 2 fields for host value in Fluentbit running in k8s

Is it possible to append 2 fields as a value for host in fluentbit. The fluentbit runs as a Daemonset [FILTER] Name modify Match * Add host ${K8S_CLUSTER_NAME} The above has the host with value pertaining to the env var set for…
Sai
  • 1,790
  • 5
  • 29
  • 51
0
votes
1 answer

Restart a POD on an Event

I have 2 pods - P1 & P2. P1 is running Nginx Proxy. P2 running an envoy + custom application. Due to some issue, the application stop responding to the requests redirected from P1. But locally K8s probes are working fine in P2. In this condition,…
Midson
  • 1,018
  • 3
  • 12
  • 23
0
votes
1 answer

How to get in prometheus the pods that have been running in the last 3 months

Hi I need to know how to query in prometheus the pods that have been running in the k8s cluster in the last 3 months. I have tried with kube_pod_start_time * 1000 but I only obtain the time the pod started Thanks!!
ichasco
  • 3
  • 2
0
votes
0 answers

How does kubernetes NFS client provisioner HA works?

I am new to kubernetes. We have a requirement to create a NFS mount point and provision it in kubernetes cluster using nfs-subdir-external-provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner#readme On high level, i…
0
votes
0 answers

Deleting Deployment does not delete its replicaset/pods in Kubernetes aks

I am deploying new deployment after changes in kubernetes service. But I am facing strange issue. When I delete deployment, it deleted fine but its replica sets and pods not deleted. Therefor after apply that deployment again, new replica sets and…
Hunzla Ali
  • 383
  • 2
  • 5
  • 22
0
votes
2 answers

Istio not serving kubernetes pods static files on Virtual service Jupyter Notebook pod

I am trying to write an Istio virtual service that routes the Jupyter notebook pods to a certain prefix. Inside my virtual service I have: spec: gateways: - istio-1/ingress-gateway-1 hosts: - my.domain.com http: - match: - uri: …
0
votes
1 answer

offset Kubernetes pod scaling by a second

I have an application that I want to scale in parallel but would love a way to have a brief pause between each new pod getting created. I need this because during pod creation I update a file, and if the file isn't closed by the time the next pod…
pbay12345
  • 23
  • 4