
kubernetes - kubectl - How to restart a deployment (or all …
Oct 8, 2020 · 21 We have an AKS cluster and sometimes we end up with an issue where a deployment needs a restart (e.g. cached data has been updated and we want to refresh it or …
Restart pods when configmap updates in Kubernetes?
May 19, 2016 · How do I automatically restart Kubernetes pods and pods associated with deployments when their configmap is changed/updated? I know there's been talk about the …
How can I keep a container running on Kubernetes?
Aug 7, 2015 · I'm now trying to run a simple container with shell (/bin/bash) on a Kubernetes cluster. I thought that there was a way to keep a container running on a Docker container by …
Get YAML for deployed Kubernetes services? - Stack Overflow
May 12, 2017 · I have deployed the app in Kubernetes via the + button. I don't have the YAML for this. I have inserted a Secret in Kubernetes for the PEM file required by the app. How do I get …
kubernetes - How to assign a Deployment to a specific Node Pool
Oct 13, 2021 · I am fairly new to Kubernetes and was able to set up a workflow including ingress. How can I specify which Deployments (not pods) go to a specific Node pool? Also, do …
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 …
Scale down Kubernetes Pods - Stack Overflow
Nov 30, 2017 · I am using kubectl scale --replicas=0 -f deployment.yaml to stop all my running Pods. Please let me know if there are better ways to bring down all running Pods to Zero …
kubernetes - Difference between daemonsets and deployments
Dec 21, 2018 · Kubernetes deployments manage stateless services running on your cluster (as opposed to for example StatefulSets which manage stateful services). Their purpose is to …
Kubernetes how to make Deployment to update image
I do have deployment with single pod, with my custom docker image like: containers: - name: mycontainer image: myimage:latest During development I want to push new latest version and …
Kubernetes Deployments vs StatefulSets - Stack Overflow
Jan 11, 2017 · Deployment of Stateful and Stateless application Stateful application is used to deploy using Statefulset component of Kubernetes. Stateless application is used to deploy …