About 29,900,000 results
Open links in new tab
  1. How to set dynamic values with Kubernetes yaml file

    Jan 17, 2018 · 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?

  2. Kubernetes: list all pods and its nodes - Stack Overflow

    Nov 3, 2023 · 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 …

  3. kubernetes - kubectl ls -- or some other way to see into a POD

    Jan 3, 2018 · 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 …

  4. Kubernetes: how to set VolumeMount user group and file …

    Apr 21, 2017 · The Kubernetes securityContext, including fsGroup, does not change the ownership or permissions of files on hostPath volumes. This is because hostPath volumes …

  5. How to switch namespace in kubernetes - Stack Overflow

    Mar 27, 2019 · Say, I have two namespaces k8s-app1 and k8s-app2 I can list all pods from specific namespace using the below command kubectl get pods -n &lt;namespace&gt; We …

  6. kubernetes - Kubectl error: memcache.go:265] couldn’t get current ...

    Aug 5, 2023 · In Kubernetes, the KUBECONFIG environment variable designates the location of the Kubernetes configuration file. This file holds details about clusters, contexts, and user …

  7. What is the meaning of CPU and core in Kubernetes?

    Aug 30, 2019 · 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 …

  8. How do I add an intermediate SSL certificate to Kubernetes …

    Aug 21, 2017 · How do I add an intermediate SSL certificate to Kubernetes ingress TLS configuration? Asked 7 years, 11 months ago Modified 2 years, 2 months ago Viewed 39k times

  9. kubernetes - How to list all containers running in a pod, including ...

    Nov 2, 2017 · A solution to retrieve all containers running in a pod is to run kubectl get pods POD_NAME_HERE -o jsonpath= {.spec.containers [*].name}, however this command line …

  10. how to stop and restart nodes in kubernetes - Stack Overflow

    Apr 20, 2021 · OR you can stop or scale down the deployment to zero mean you can pause or restart the container or pod with node you can delete node and new will will join the …