|
- kubernetes - kubectl ls -- or some other way to see into a POD - Stack . . .
I'm using kubectl cp to copy a jar file from my local file system into a the home directory of a POD in my minikube environment However, the only way I can confirm that the copy succeeded is to is
- kubernetes - how to configure ingress to direct traffic to an https . . .
I have a backend using https I want to separate load on that back-end based on URL path I decided to use ingress to do this url path based logic in order to move traffic to different back-ends (
- kubernetes - What is the best practice to have request and limit values . . .
Recently we faced some issue in our AKS cluster that the nodes memory were simply got increased as the pods memory request was high ( request-2Gi, memory 2Gi) which increased the node count So ino
- What is the meaning of CPU and core in Kubernetes?
To clarify what's described here in the Kubernetes context, 1 CPU is the same as a core (Also more information here) 1000m (milicores) = 1 core = 1 vCPU = 1 AWS vCPU = 1 GCP Core 100m (milicores) = 0 1 core = 0 1 vCPU = 0 1 AWS vCPU = 0 1 GCP Core For example, an Intel Core i7-6700 has four cores, but it has Hyperthreading which doubles what the system sees in terms of cores So in essence
- kubernetes - How to schedule pods restart - Stack Overflow
Is it possible to restart pods automatically based on the time? For example, I would like to restart the pods of my cluster every morning at 8 00 AM
- kubernetes - Execute bash command in pod with kubectl? - Stack Overflow
The double dash symbol "--" is used to separate the command you want to run inside the container from the kubectl arguments So the correct way is: kubectl exec -it --namespace=tools mongo-pod -- bash -c "mongo" You forgot a space between "--" and "bash" To execute multiple commands you may want: to create a script and mount it as a volume in your pod and execute it to launch a side container
- kubernetes - How can I correctly setup custom headers with nginx . . .
For ingress-nginx, i e Kubernetes ingress you can use this snippet on the ingress resource to understand what you can use to pass additional headers to client and backend
- kubernetes - How to mount a persistent volume on a Deployment Pod using . . .
1 If doing this in a cloud provider, the storageClass object will create the respective volume for your persistent volume claim If you are trying to do this locally on minikube or in a self managed kubernetes cluster, you need to manually create the storageClass that will provide the volumes for you, or create it manually like this example:
|
|
|