mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-19 00:11:27 +08:00
Compare commits
2 commits
223b4c0893
...
eb573c83cd
Author | SHA1 | Date | |
---|---|---|---|
eb573c83cd | |||
8748e8e4a7 |
2 changed files with 5 additions and 1 deletions
|
@ -48,3 +48,7 @@ kubectl annotate deployment/myapp-deployment kubernetes.io/change-cause="DESCRIB
|
||||||
# You can then view the rollout history
|
# You can then view the rollout history
|
||||||
kubectl rollout history deployment/myapp-deployment
|
kubectl rollout history deployment/myapp-deployment
|
||||||
```
|
```
|
||||||
|
- Restart a deployment (repulls latest image if `imagePullPolicy` is set to `Always`)
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment/myapp-deployment
|
||||||
|
```
|
||||||
|
|
|
@ -4,7 +4,7 @@ server {
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|
||||||
root /usr/share/nginx/build;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html =404;
|
try_files $uri $uri/ /index.html =404;
|
||||||
|
|
Loading…
Add table
Reference in a new issue