|
- 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: list all pods and its nodes - Stack Overflow
I have 3 nodes, running all kinds of pods I would like to have a list of nodes and pods, for an example: NODE1 POD1 NODE1 POD2 NODE2 POD3 NODE3 POD4 How can this please be achieved?
- How to expose a Kubernetes service on a specific Nodeport?
kubectl delete service kubernetes-dashboard -n kube-system Expose the Dashboard deployment as a NodePort kubectl expose deployment kubernetes-dashboard -n kube-system --type=NodePort The above will assign a random port >= 30000 So use the Patch command to assign the port to a known, unused and desired port >= 30000
- kubernetes - Ingress configuration for k8s in different namespaces . . .
I need to configure Ingress Nginx on azure k8s, and my question is if is possible to have ingress configured in one namespace et ingress-nginx and some serivces in other namespace eg resources? My
- 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
- kubernetes - How to kubectl re-apply deployment - Stack Overflow
I want to update my pod because there is a new image uploaded to docker registry with latest tag I am currently doing this: kubectl delete -f deployment yaml kubectl apply -f deployment yaml If I
- kubernetes - Pods stuck in PodInitializing state indefinitely - Stack . . .
I've got a k8s cronjob that consists of an init container and a one pod container If the init container fails, the Pod in the main container never gets started, and stays in "PodInitializing"
- kubernetes - Kubectl error: memcache. go:265] couldn’t get current . . .
In Kubernetes, the KUBECONFIG environment variable designates the location of the Kubernetes configuration file This file holds details about clusters, contexts, and user credentials, enabling tools such as kubectl to communicate with Kubernetes clusters effectively
|
|
|