Top "Kubernetes-pod" questions

Kubernetes-pod refers to Pods, the smallest deployable units of computing that can be created and managed in the cluster management software Kubernetes.

kubectl list / delete all completed jobs

I'm looking for a kubectl command to list / delete all completed jobs I've try: kubectl get job --field-selector status.succeeded=1 …

kubernetes kubectl google-kubernetes-engine kubernetes-pod kubernetes-jobs
Connect to other pod from a pod

Basically, i have a Deployment that creates 3 containers which scale automatically: PHP-FPM, NGINX and the container that contains the application, …

kubernetes kubernetes-pod
Does Kubernetes take JSON format as input file to create configmap and secret?

I have an existing configuration file in JSON format, something like below { "maxThreadCount": 10, "trackerConfigs": [{ "url": "https://example1.com/", "username": "username", "…

kubernetes kubernetes-pod configmap kubernetes-secrets
can we mention more than one node label in single nodeSelector in kubernetes

i want to schedule 10 pods in two specific node(total 15 nodes in our kube cluster). so in replication-controller file i …

docker kubernetes kubernetes-pod
Kubernetes mount volume on existing directory with files inside the container

I am using k8s with version 1.11 and CephFS as storage. I am trying to mount the directory created on …

docker kubernetes mount kubernetes-pod
Kubenetes POD delete with Pattern Match or Wilcard

When I am using below it deletes the running POD after matching the pattern from commandline: kubectl get pods -n …

kubernetes kubectl kubernetes-pod
How to make the pod CIDR range larger in kubernetes cluster deployed with kubeadm?

I deployed my cluster with the --pod-network-cidr added, and have created the new ip pool using calicoctl to change the …

kubernetes kubernetes-pod project-calico calico
How to Configure Pod initialization in a specific order in Kubernetes?

I want to know how I can start my deployments in a specific order. I am aware of initContainers but …

deployment kubernetes kubernetes-pod
Passing java_opts to spring boot applications in kubernetes

Currently, we are building Docker images with an entrypoint and passing this image to a Kubernetes deployment. Is there any …

spring-boot docker kubernetes kubernetes-pod kubernetes-deployment
Avoiding kubernetes scheduler to run all pods in single node of kubernetes cluster

I have one kubernetes cluster with 4 nodes and one master. I am trying to run 5 nginx pod in all nodes. …

kubernetes scheduler kubernetes-pod