-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{ACS} az aks create/update: Add parameter --auto-upgrade-channel to support auto upgrade
#18825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
c662843
b30dd37
c8ed48e
c00c905
71456b1
ed4e903
da3ff65
1b21016
0a925aa
c7f92e3
4121a33
c1affbf
f6a3be7
ec9cd69
e5985c3
0ef331c
cd47cb0
8d8f80f
fb05ee7
effe159
33c2f04
0df7c06
8aa3f09
dbca938
432f0ee
49ef3ad
eb0e57f
90c3952
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,13 @@ | |
| CONST_SPOT_EVICTION_POLICY_DELETE = "Delete" | ||
| CONST_SPOT_EVICTION_POLICY_DEALLOCATE = "Deallocate" | ||
|
|
||
| # consts for upgrade channel | ||
| CONST_RAPID_UPGRADE_CHANNEL = "rapid" | ||
| CONST_STABLE_UPGRADE_CHANNEL = "stable" | ||
| CONST_PATCH_UPGRADE_CHANNEL = "patch" | ||
| CONST_NODE_IMAGE_UPGRADE_CHANNEL = "node-image" | ||
| CONST_NONE_UPGRADE_CHANNEL = "none" | ||
|
||
|
|
||
| CONST_OS_DISK_TYPE_MANAGED = "Managed" | ||
| CONST_OS_DISK_TYPE_EPHEMERAL = "Ephemeral" | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,7 +28,8 @@ | |||||
| from ._consts import CONST_OUTBOUND_TYPE_LOAD_BALANCER, CONST_OUTBOUND_TYPE_USER_DEFINED_ROUTING, \ | ||||||
| CONST_SCALE_SET_PRIORITY_REGULAR, CONST_SCALE_SET_PRIORITY_SPOT, \ | ||||||
| CONST_SPOT_EVICTION_POLICY_DELETE, CONST_SPOT_EVICTION_POLICY_DEALLOCATE, \ | ||||||
| CONST_OS_DISK_TYPE_MANAGED, CONST_OS_DISK_TYPE_EPHEMERAL | ||||||
| CONST_OS_DISK_TYPE_MANAGED, CONST_OS_DISK_TYPE_EPHEMERAL, \ | ||||||
| CONST_RAPID_UPGRADE_CHANNEL, CONST_STABLE_UPGRADE_CHANNEL, CONST_PATCH_UPGRADE_CHANNEL, CONST_NODE_IMAGE_UPGRADE_CHANNEL, CONST_NONE_UPGRADE_CHANNEL | ||||||
|
|
||||||
| orchestrator_types = ["Custom", "DCOS", "Kubernetes", "Swarm", "DockerCE"] | ||||||
|
|
||||||
|
|
@@ -202,6 +203,7 @@ def load_arguments(self, _): | |||||
| validator=validate_load_balancer_idle_timeout) | ||||||
| c.argument('outbound_type', arg_type=get_enum_type([CONST_OUTBOUND_TYPE_LOAD_BALANCER, | ||||||
| CONST_OUTBOUND_TYPE_USER_DEFINED_ROUTING])) | ||||||
| c.argument('auto_upgrade_channel', arg_type=get_enum_type([CONST_RAPID_UPGRADE_CHANNEL, CONST_STABLE_UPGRADE_CHANNEL, CONST_PATCH_UPGRADE_CHANNEL, CONST_NODE_IMAGE_UPGRADE_CHANNEL, CONST_NONE_UPGRADE_CHANNEL])) | ||||||
|
||||||
| c.argument('auto_upgrade_channel', arg_type=get_enum_type([CONST_RAPID_UPGRADE_CHANNEL, CONST_STABLE_UPGRADE_CHANNEL, CONST_PATCH_UPGRADE_CHANNEL, CONST_NODE_IMAGE_UPGRADE_CHANNEL, CONST_NONE_UPGRADE_CHANNEL])) | |
| c.argument('auto_upgrade_channel', arg_type=get_enum_type(['rapid', 'stable', 'patch', 'node-image', 'none'])) |
Uh oh!
There was an error while loading. Please reload this page.