mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-12 01:15:09 +08:00
Update README.md
This commit is contained in:
parent
637684d130
commit
26d4801e5e
20
README.md
20
README.md
@ -79,7 +79,9 @@ Following are the key capabilities of this action:
|
|||||||
- uses: Azure/k8s-deploy@v1
|
- uses: Azure/k8s-deploy@v1
|
||||||
with:
|
with:
|
||||||
namespace: 'myapp'
|
namespace: 'myapp'
|
||||||
manifests: '/manifests/*.*'
|
manifests: |
|
||||||
|
deployment.yaml
|
||||||
|
service.yaml
|
||||||
images: 'contoso.azurecr.io/myapp:${{ event.run_id }}'
|
images: 'contoso.azurecr.io/myapp:${{ event.run_id }}'
|
||||||
imagepullsecrets: |
|
imagepullsecrets: |
|
||||||
image-pull-secret1
|
image-pull-secret1
|
||||||
@ -97,7 +99,9 @@ Following are the key capabilities of this action:
|
|||||||
imagepullsecrets: |
|
imagepullsecrets: |
|
||||||
image-pull-secret1
|
image-pull-secret1
|
||||||
image-pull-secret2
|
image-pull-secret2
|
||||||
manifests: '/manifests/*.*'
|
manifests: |
|
||||||
|
deployment.yaml
|
||||||
|
service.yaml
|
||||||
strategy: canary
|
strategy: canary
|
||||||
percentage: 20
|
percentage: 20
|
||||||
```
|
```
|
||||||
@ -112,7 +116,9 @@ To promote/reject the canary created by the above snippet, the following YAML sn
|
|||||||
imagepullsecrets: |
|
imagepullsecrets: |
|
||||||
image-pull-secret1
|
image-pull-secret1
|
||||||
image-pull-secret2
|
image-pull-secret2
|
||||||
manifests: '/manifests/*.*'
|
manifests: |
|
||||||
|
deployment.yaml
|
||||||
|
service.yaml
|
||||||
strategy: canary
|
strategy: canary
|
||||||
action: promote # substitute reject if you want to reject
|
action: promote # substitute reject if you want to reject
|
||||||
```
|
```
|
||||||
@ -127,7 +133,9 @@ To promote/reject the canary created by the above snippet, the following YAML sn
|
|||||||
imagepullsecrets: |
|
imagepullsecrets: |
|
||||||
image-pull-secret1
|
image-pull-secret1
|
||||||
image-pull-secret2
|
image-pull-secret2
|
||||||
manifests: '/manifests/*.*'
|
manifests: |
|
||||||
|
deployment.yaml
|
||||||
|
service.yaml
|
||||||
strategy: canary
|
strategy: canary
|
||||||
traffic-split-method: smi
|
traffic-split-method: smi
|
||||||
percentage: 20
|
percentage: 20
|
||||||
@ -144,7 +152,9 @@ To promote/reject the canary created by the above snippet, the following YAML sn
|
|||||||
imagepullsecrets: |
|
imagepullsecrets: |
|
||||||
image-pull-secret1
|
image-pull-secret1
|
||||||
image-pull-secret2
|
image-pull-secret2
|
||||||
manifests: '/manifests/*.*'
|
manifests: |
|
||||||
|
deployment.yaml
|
||||||
|
service.yaml
|
||||||
strategy: canary
|
strategy: canary
|
||||||
traffic-split-method: smi
|
traffic-split-method: smi
|
||||||
action: reject # substitute reject if you want to reject
|
action: reject # substitute reject if you want to reject
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user