|
- 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
- How to set dynamic values with Kubernetes yaml file
Inside values yaml, you can change predefined repository (or 100% any value can be repeated in Kubernetes yamls as you wish): image: repository: paulczar spring-helloworld Now if you want to deploy, make sure kubectl works and just apply these generated files using kubectl apply -f serviceaccount yaml , etc
- Kubernetes: how to set VolumeMount user group and file permissions
The Kubernetes securityContext, including fsGroup, does not change the ownership or permissions of files on hostPath volumes This is because hostPath volumes directly mount directories from the host node's filesystem, and Kubernetes does not modify the file ownership or permissions of the host's file system when doing so I had to manually set
- 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?
- Kubernetes: how to scale my pods - Stack Overflow
The resource determines the behavior of the controller The horizontal pod autoscaling controller, running within the Kubernetes control plane, periodically adjusts the desired scale of its target (for example, a Deployment) to match observed metrics such as average CPU utilization, average memory utilization, or any other custom metric you
- How to expose a Kubernetes service on a specific Nodeport?
-- Because, kubernetes exposed the port 31316 on the host (maps to the service) and hence it can be accessed on host:31316 -- Service port is visible only within the kubernetes cluster You can exec into a pod container and do a curl on servicename:service port instead of the NodePort Note the terms - container port: the port container listens on
- x509certificate - Kubernetes: expired certificate - Stack Overflow
Our Kubernetes 1 6 cluster had certificates generated when the cluster was built on April 13th, 2017 On December 13th, 2017, our cluster was upgraded to version 1 8, and new certificates were gen
- kubernetes - Listing all resources in a namespace - Stack Overflow
I would like to see all resources in a namespace Doing kubectl get all will, despite of the name, not list things like services and ingresses If I know the the type I can explicitly ask for that
|
|
|