|
- Kubernetes how to make Deployment to update image
If you want a kubernetes deployment to start a new pod using the same image (and this trick only works with the "latest" tag) you have to specify it without a tag Next time add the "latest" tag and it will trigger the update The order could be reversed, it doesn't matter
- kubernetes - kubectl ls -- or some other way to see into a POD - Stack . . .
You can execute commands in a container using kubectl exec command For example: to check files in any folder: kubectl exec <pod_name> -- ls -la or to calculate md5sum of any file: kubectl exec <pod_name> -- md5sum some_file
- How to set dynamic values with Kubernetes yaml file
There is a ConfigMap feature with Kubernetes, but that's also write the key value to the yaml file Is there a way to set the key to environment variables?
- Kubernetes size definitions: Whats the difference of Gi and G?
While I explored yaml definitions of Kubernetes templates, I stumbled across different definitions of sizes First I thought it's about the apiVersions but they are the same So what is the differe
- Checking Kubernetes pod CPU and memory utilization
I am trying to see how much memory and CPU is utilized by a kubernetes pod I ran the following command for this: kubectl top pod podname --namespace=default I am getting the following error: W02
- Reasons for OOMKilled in kubernetes - Stack Overflow
Kubernetes has a different approach: with the node allocatable feature enabled (which is the default currently) it "carves" only a part of the node's memory for use by the pods How much that is depends on the value of 3 parameters, captured in the previous link (kube-reserved, system-reserved, and eviction-threshold)
- 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 Pod terminates with Exit Code 143 - Stack Overflow
Kubernetes Pod terminates with Exit Code 143 Asked 3 years, 2 months ago Modified 1 year, 5 months ago Viewed 78k times
|
|
|