Граф коммитов

139 Коммитов

Автор SHA1 Сообщение Дата
Matt Boersma 3e57d2887a Add copyright headers to source files (#4324)
* Add Copyright header

* Add Copyright header to more files

* Rearrange finicky package comments and enforce validate-headers in CI

* Remove some extraneous diffs

* Rename Makefile target to be more descriptive
2018-12-03 11:19:18 -08:00
Jack Francis ab0fd8ddfc
Updates from aks-engine spike (#4302)
* Fix prow set up

* e2e changes

* removing openshift artifacts

* accelerated networking rationalization, with tests

* remove additional sed statements for ip-masq addons

* Update go-dev tools image for go 1.11.2

* remove unused azconst methods

* add support PB6 vm skus

* update azure_const unit test

* update tiller versions in the recent versions of kubernetes

* VSTS VHD pipeline hosted ubuntu pool

* azureconst cruft

* scale: persist scale down in api model

* Add support for Kubernetes 1.11.5

* Fix docker-engine install in VHD pipeline

* remove IsOpenShift from E2E

* replace premature aks-engine reference

* make validate-headers doesn’t exist, revert rename
2018-11-29 11:46:29 -08:00
Cecile Robert-Michon 4a65d73215 Enable multiple Windows vmss agent pools - refactor pool names (#3907) 2018-11-14 12:06:08 -08:00
William H 532f41d078 Make orchestrator command Windows aware (#4142) 2018-11-14 11:01:13 -08:00
kkmsft 1f1dda675d Move the role assignment to the ARM template and fix api versions (#4032) 2018-10-31 16:00:56 -07:00
Matt Boersma 6a31c9962d Don't require vm tags (#4100) 2018-10-23 21:08:45 -07:00
Tariq Ibrahim 6579278de9 Refactor: Moving set defaults logic from package acsengine to package api (#3974) 2018-10-10 17:43:14 -07:00
Tariq Ibrahim f311552188
Move utility methods to the helper package (#3948) 2018-10-04 11:10:36 -06:00
Matt Boersma f8e1b5ada2 Add shortcuts for some common command-line arguments (#3904) 2018-09-25 17:36:18 -07:00
Shruti Ramesh f06621bd73 Adding DeleteApp func to AzureClient and returning appObjectID in CreateApp (#3869) 2018-09-19 12:51:35 -07:00
Rita Zhang c83e1028ba Add VMSS support for k8s master (#3769) 2018-09-14 17:21:55 -07:00
Matt Boersma 353c8bb50c
Update to go 1.11 and fix new linting errors (#3763)
* update go-dev-tools image

See https://github.com/deis/docker-go-dev/releases/tag/v1.15.0

* Fix new go vet errors in go 1.11

* Update go-dev image to 1.15.1 for goimports fix.

The "goimports" binary/plugin needed to be built with go 1.11.

* Update go-dev image to 1.16.0 for parity with AKS

* Test just headers of SSH keys

Go 1.11 now randomizes rsa.GenerateKey to prevent exactly this
type of implementation-specific test.

* Update go-dev image to 1.17.0 for party with AKS

* Add private key length and validation tests
2018-09-12 10:34:30 -06:00
Stéphane Erbrech ebd4bc3ba8 Make cmd more testable by abstracting authArgs and AzureClient (#3756) 2018-09-04 15:53:46 -07:00
Stéphane Erbrech 45a7b82fe2 add missing apimodel cli parameter description (#3740) (#3775) 2018-08-31 11:17:00 -07:00
kkmsft 93a02674a7 Support for kubernetes clusters with user assigned msi (#3736) 2018-08-30 13:07:48 -07:00
Cherwin Nooitmeer 2baa3b300f Check for nil before using osPublisher (#3768) 2018-08-30 11:27:04 -07:00
Jack Francis b1f72235ce
standardize ARM ops timeout to 2.5 hours (#3741) 2018-08-24 11:49:17 -07:00
Julien Corioland dc1f7235dc Rework the way to parse --set flag values (#3573) 2018-08-20 14:33:24 -07:00
Cecile Robert-Michon 5645440333 Allow deprecating k8s versions (#3493) 2018-08-17 10:21:53 -07:00
Shoshana Malfatto b3dca61ec3 Scale down shouldn't depend on VM index (#3644) 2018-08-16 16:04:58 -07:00
Jack Francis 1cbf389383
Kubernetes: ensure ARM operations have appropriate timeout value (#3646) 2018-08-10 14:53:15 -07:00
Jack Francis e38190b932
Deprecate ACS v1 classic mode support (#3647) 2018-08-10 13:35:03 -07:00
Jack Francis 623bd5dc62
update azure-sdk-for-go to v19 (#3608) 2018-08-03 14:32:28 -07:00
Matt Boersma 92aaae673c Fix errors pointed out by "make test-style" (#3593) 2018-07-31 17:10:51 -07:00
Matt Boersma ae44165ed2 Fix a DCOS upgrade test case when ~/.azure/config exists (#3587) 2018-07-31 16:35:19 -07:00
Rita Zhang 92d6f8be50 Fix validation when using keyvaultSecretRef (#3585) 2018-07-30 15:48:36 -07:00
Brian Goff be63a04a61 Use default model when --api-model not set deploy (#3384)
Also adds a flag on the root command to dump the default config to
stdout.
2018-07-27 16:26:54 -07:00
Brian Goff 03e6909daa Get sub from azure CLI when not provided (#3519)
thanks @cpuguy83!
2018-07-23 11:56:35 -07:00
Cecile Robert-Michon 4b9c004677 Do not enable accelerated networking for scale (#3490) 2018-07-17 11:58:09 -07:00
Tariq Ibrahim 1b62476a64 Cleaning up error usage #2 (#3476) 2018-07-16 21:54:56 -07:00
Tariq Ibrahim 280c94b0a3 Using Fatalf instead of Fatalln when formatting characters are present in the string. (#3450) 2018-07-10 10:46:27 -07:00
Cecile Robert-Michon a8cd0a4cb1 Unit tests (#3344) 2018-07-05 10:58:23 -07:00
Brian Goff 9993e58818 Cleanup error usage (#3386) 2018-07-02 17:01:54 -07:00
Stuart Leeks ab78b39ff4 Add bash completion command (#3392) 2018-07-02 12:19:28 -07:00
Julien Corioland 0cc5b1d18d Support --set flag in deploy command (#3188)
* wip #2796 - support --set flag in deploy cmd

* tests for --set flag support in deploy cmd

* wip: refactor deploy.go + fix unit tests

* add docs for --set flag support in deploy cmd

* initial loading from file without validation
2018-06-11 16:41:37 -07:00
Kenny Woodson 5af4efa91f Adding openshift console url to output of deploy (#3193) 2018-06-11 15:16:47 -07:00
Jim Minter c538a81d40 fix scale command on OpenShift (#3210) 2018-06-07 16:02:47 -07:00
Cecile Robert-Michon f5c08ef292
Replace log.Fatal by return errors in deploy.go (#3116)
* return err for autofill

* replace log fatal with return error

* check for err in unit tests

* fix typo

* lint

* log -> t
2018-06-01 13:09:20 -07:00
Daniele Antonio Maggio c02ec758da Scaling Windows agent pools for Availability Sets and VMSS (#2859)
* acs-engine deploy: model validation and required fields in --help

* Forced apimodel validation to avoid incongruences (fixes #2025)

* Added more details about required fields while deploying (fixes #2491)

* WIP - Adding windows agent pool scaling

* Revert "WIP - Adding windows agent pool scaling" - wrong branch

This reverts commit 0eb7ecedee.

* WIP - Windows Scaling on Availability Sets and VMSS

* WIP - Naming format modified for vmss windows scaling

* Merge remote-tracking branch 'Azure/patch-release-v0.16.2' into windowsscale

* Fixing tests

* feat(*): Bumps client-go to v7.0.0

This updates client-go to v7.0.0 and adds the needed dependencies on
`k8s.io/api`. Also fixes a small issue with conflicting `uuid` library
versions

* testing re-vendor health

make build-vendor passed!

* removing the vnet from scale templates (#2994)

This allows a cluster to scale even if the user has added a subnet to the vnet

* Fix missing DefaultKubernetesClusterSubnet

* dos2unix

* Clean and go fmt

* Clean and go fmt

* Clean and go fmt

* Fix util_test.go

* Using StorageProfile.ImageReference.Publisher to understand if Windows Agent Pool in Scaling scenario

* lint
2018-06-01 09:20:08 -07:00
Cecile Robert-Michon 1bd96cb8aa remove pre-fill validation in deploy (#3112) 2018-05-31 15:44:53 -07:00
Cedric Röck 055f2b568b Delete role assignments when deleting a VM (#2934) 2018-05-23 16:42:03 -07:00
dmitsh 5e49cf1114 DCOS: implement upgrade operation for clusters with bootstrap node (#3030)
* DCOS: implement upgrade operation for clusters with bootstrap node

* updated doc, tests
2018-05-22 10:51:48 -07:00
Cecile Robert-Michon 3482257e31 More cmd package unit tests (#2997) 2018-05-21 11:22:56 -07:00
Jim Minter adccde47da minor cleanups after the openshift AAD integration implementation (#2948) 2018-05-14 16:51:44 -07:00
Jim Minter 5e0ff5b835 add VMAS scale up/down support for openshift (#2896)
* add tgzreader to filesystem

* validate that openshift can only be started with one master

* remove ExternalMasterHostname and RouterLBHostname from OpenShiftConfig

* add VMAS scale up/down support for openshift

* minor test fixes
2018-05-11 17:14:01 -07:00
Cecile Robert-Michon 158f5a3fca
Fix broken upgrade nil pointer dereference (#2879)
* get client before rg

* go fmt
2018-05-08 11:00:15 -07:00
Cecile Robert-Michon ec4d486873
cmd package refactor and unit tests (#2867)
* unit tests for version and upgrade

* fix upgrade errors

* more refactoring

* bubble up errors

* upgrade validate unit tests

* separate authArgs validation
2018-05-07 11:36:22 -07:00
Jim Minter 6f5c9a3395 OpenShift AAD automatic service principal and authentication integration (#2795)
* bump azure-sdk-for-go and go-autorest

* add ad authentication
2018-05-04 15:23:21 -07:00
Cecile Robert-Michon 9db83d76a3
Reword cmd descriptions (#2856)
* fix formatting in cmd

* remove s
2018-05-04 09:32:47 -07:00
Julien Corioland ca9b3f1cad Create a --set flag for generate (#2787) 2018-05-02 16:09:55 -07:00