kubernetes get deployments
# Get pods in default namespace
kubectl get deployments
#Get Pods in my-namespace
kubectl get deployments -n my-namespace
#Get Pods in all namespaces
kubectl get deployments --all-namespacesapiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80kubectl rollout restart deployment yourDeploymentName
Also in C++:
- bagisto
- apache restart ubuntu
- how to uninstall lamp server in ubuntu 18.04
- remove windows folder
- config git editor vim
- store ls into array bash
- ubuntu check user groups
- install vuetif
- Installation failed: Download failed. Destination directory for file streaming does not exist or is not writable.
- https://cloud.google.com/shell/docs/using-web-preview#previewing_the_application
- install vim plug neovim
- heroku delete app
- npm default init
- case shell
- open directory windows command
- how to run exe file in linux
- how to set environment variable using bash
- git commit and add in one command
- update git repository
- auto clean ubuntu
- Install Lumen CSV Reader package from Nuget Package Manager in Visual Studio
- how to remove file from directory in linux
- git check staged changes
- install hnswlib