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

393 Коммитов

Автор SHA1 Сообщение Дата
Jack Francis 570b6de5da
fix table (#3400) 2018-07-02 13:30:18 -07:00
Stuart Leeks ab78b39ff4 Add bash completion command (#3392) 2018-07-02 12:19:28 -07:00
Yongli Chen 8f401a1595 Add Azure-npm to provide native k8s network policy support (#3205) 2018-06-28 14:33:49 -07:00
Cecile Robert-Michon 2ce038639d fix nil panic (#3359) 2018-06-25 16:02:20 -07:00
Diwakar ffc7707b16 Doc update: fix example kubernetes-vmas.json link (#3353) 2018-06-25 12:17:22 -07:00
Cecile Robert-Michon c70ce4a7bb Fix OMS addon + add tests and documentation for addons (#3342) 2018-06-25 11:03:28 -07:00
Sertaç Özercan d70808a7f8 Update Cluster Autoscaler to v1.3 (#3320)
* add CA v1.3 for k8s v1.11

* update tests

* update tag
2018-06-21 14:38:58 -07:00
Diego Casati 6da34350df Update kubernetes.md (#3329)
update broken link for the Kubernetes Examples
2018-06-21 13:09:25 -07:00
Cecile Robert-Michon 3afc25ee4e Increase unit tests coverage in package api (#3207)
* add unit tests to pkg/api/types.go

more unit tests

fix type

fix typo

fix expected result

gofmt

add isManagedDisk, isStorageAccount tests

fix expected

test osType and OrchestratorType

Add LowPriorityScaleSets test

typo

nvidia test and jumpbox profile

aadProfile test and doc fix

remove isAcceleratedNetworkingEnabled

fix int slice declaration

fix expected

add missing tests

fix expected bool

add missing test case

fix etcdVersion test

* fix typo

* fix nil pointer
2018-06-14 19:52:56 -04:00
Diwakar 8b40eb9a7c Add cluster-autoscaler addon documentation (#3243)
* Add cluster-autoscaler addon documentation

* Update addon configuration example
2018-06-12 13:57:42 -07:00
Bhargav Nookala d75e4f7375 Adding keyvaultSecretRef docs (#3250) 2018-06-12 09:31:32 -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
William Buchwalter 714bb486f5 Update NVIDIA drivers to 396 (#3224) 2018-06-08 13:53:37 -07:00
Jack Francis 4416dd2534
correct --max-pods documentation error (#3237) 2018-06-08 13:39:40 -07:00
Jack Francis 9374cd1958
Kubernetes: --image-pull-progress-deadline 30m by default (#3199) 2018-06-08 09:45:09 -07:00
Patrick Lang e7c9d23476 Adding notes on ACS-Engine v0.18.3 with Windows (#3216) 2018-06-08 09:44:10 -07:00
Sylvain Rabot eb556d99fb Use accelerated networking on agents (#3011)
* Add Accelerated Networking support on agents

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* add new API version only to nic VMAS resource

* add IsAcceleratedNetworking template func

* a cleaner implementation courtesy of @sylr

* using IsAcceleratedNetworkingEnabled method

don’t need vars/params anymore

* newline cruft
2018-06-06 10:38:14 -07:00
Rita Zhang f0e46d7fe5 Add doc and sample for Openshift with custom vnet (#2978)
* Add doc and sample for Openshift with custom vnet

* Remove vnetCidr from doc; Add master nic to dependson of agent nic if custom vnet
2018-06-06 10:35:41 -07:00
Pontus Arfwedson 5d527a4ab3 Provisioning of custom files when deploying k8s cluster (#2762) 2018-06-05 09:13:10 -07:00
Amine BIZID 0dececb663 Feat/custom dns (#3138) 2018-06-01 17:28:50 -07:00
Tariq Ibrahim ec9ee249c7 Updating the go-bindata go get paths (#3119) 2018-05-31 15:50:32 -07:00
Asier Artola 497e012d0d Custom Search Domains (#2590)
* hardcode ve-ci.com search domain for testing

* change customdata template to update searchdomain and register dns registries on windows server dns

* add required types

* add functionality in acs-engine

* add params and variables in templates

* remove not required lines

* add custom search domain examples

* update clusterdefinition

* change sd prefix to searchDomain

* should be customSearchDomain in json

* move implementation to CSE

* always include searchDomain vars

* this is cleaner in a cloud-init-provided file

* cse func cruft and check for all vals
2018-05-30 23:01:24 -07:00
Sertaç Özercan a2e0c55ec8 NVIDIA Device Plugin (#2545)
* update to docker-ce

* add nvidia-docker2 to gpu agents

* add nvidia device plugin daemonset addon

* custom nvidia device plugin image spec

* rename yaml

* update agent docker daemon

* validated docker versions

* revert docker update, pinning nvidia-docker2 and nvidia-container-runtime

* updating feature gates for gpu vms

* update tests

* update device plugin feature gate

* disabling for v1.10 for now

* revert dockerengine repo

* remove deadcode

* remove version check

* update tests

* update docs

* update gpu docs

* v1.10 support

* update test for gpu nodes only

* OrchestratorVersion1Dot8AndUp was deprecated in master

* updates to k8s >= 1.10

* tests

* update tests

* update tests

* update e2e

* update docs

* check for v1.11

* account for version or release in gpu e2e test

* cuda-vector-add e2e test as Job
2018-05-30 22:59:39 -07:00
Bill Pratt f8753adf45 Use enable-admission-plugins key for v1.10 and above (#3090) 2018-05-29 23:12:04 -07:00
Youkoulayley 384a005b35 Add pod-pid-limit options to kubelet in kubernetes 1.10 (#2736) 2018-05-29 22:49:47 -07:00
Cecile Robert-Michon 52d1e82fdc Add CSE VM extension error troubleshooting guide (#3103) 2018-05-29 17:18:28 -07:00
Cecile Robert-Michon 77bd48385b
Rationalize AvailabilityProfile default (#3065)
* default to Avail Set for k8s < 1.10

* forgot not

* unit test

* Docs

* missing s

* remove override in example

* fix unit test

* fix validation

* move instance metadata for k8s

* improve error messages
2018-05-29 15:33:00 -07:00
Patrick Lang 4955615f25 Adding Windows troubleshooting section (#3045)
* Adding Windows troubleshooting section

* Add issue links

* Fix markdown

* Adding example http request in troubleshooting

* Adding another version to list
2018-05-29 10:56:55 -07:00
Richer Larivière d966110929 Add doc for useManagedIdentity (#3097)
* Added useManagedIdentity to clusterdefinition.md

* Put kubernetesConfig section in alphabetical order
2018-05-29 10:50:25 -07:00
Mangirdas Judeikis c99b11579d Update docs (#3050)
add some openshift references
fix links
add delve example
2018-05-25 13:38:50 -07:00
Bill Pratt d65c809a92 SP with resource group level scope example (#3077) 2018-05-24 13:56:20 -07:00
Mani Bindra ff3b5d4ae1 added instuctions for installation with gofish (#3055) 2018-05-23 10:24:17 -07:00
Aaron Wislang 7cf8097d83 Support for Low-priority VMs on Virtual Machine Scale Sets (VMSS) for Kubernetes (#2980)
* Add support for Low-priority VM Scale Sets (VMSS)
See: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-use-low-priority

* Fix typos and remove HasLowPriorityScaleSets

* Tweak IsLowPriorityScaleSet and add test TestAgentPoolProfile
2018-05-22 13:57:31 -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
Tariq Ibrahim d6ceda86ff Fixed dead links in documentation. (#3019) 2018-05-21 10:08:42 -07:00
Cecile Robert-Michon 25cfb555f3 Update docs for Azure CNI subnet requirements (#2992) 2018-05-18 10:49:54 -07:00
Patrick Lang 6a46909812 Adding example on how to switch Windows versions and OS disk size (#2995)
* Adding example on how to switch Windows versions and OS disk size

* Adding link to troubleshooting on pod startup
2018-05-18 10:49:17 -07:00
Jiangtian Li 7f20f7bffd Update windows build documentation (#2970) 2018-05-16 08:58:03 -07:00
Jim Minter bfc9c7eea7 add some e2e test documentation (#2932) 2018-05-15 12:48:47 -07:00
Jess Frazelle 244d6614ab add containerd and fix flannel and cilium (#2967)
* add containerd to container runtimes

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix flannel and cilium

closes #2966

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-15 11:44:01 -07:00
James Sturtevant b391c25824 update images to 1803 (#2958) 2018-05-15 10:11:17 -07:00
Dmitri Fedotov a19bfb971b Fixed some typos in the text (#2907)
* update browing to browsing

* update publically to publicly
2018-05-10 09:51:01 -07:00
Peter Schiffer 79e575cf82 First version of OpenShift docs (#2839)
Resolves #2692
2018-05-10 09:43:56 -07:00
Cecile Robert-Michon 9db83d76a3
Reword cmd descriptions (#2856)
* fix formatting in cmd

* remove s
2018-05-04 09:32:47 -07:00
Jack Francis cd14e015a8
StorageProfile default is now ManagedDisks (#2833) 2018-05-03 11:34:27 -07:00
Julien Corioland ca9b3f1cad Create a --set flag for generate (#2787) 2018-05-02 16:09:55 -07:00
Jack Francis 94013a4d76
rationalize network config and k8s NetworkPolicy (#2813) 2018-05-02 15:50:42 -07:00
Julien Corioland d8a1e0c83c Documentation about how to run Kubernetes in an hybrid env (#2804)
* docs: running k8s in an hybrid cloud/on-premises environment

* docs: hybrid k8s - fix broken link

* corrections after @CecileRobertMichon's review
2018-05-02 11:10:41 -07:00
Cecile Robert-Michon 0b4a0de5d7
add k8s 1.11 e2e (#2814)
* add 1.11 e2e

* windows 1.11

* k8s 1.11 components

* add UT

* fix test

* remove accelerators for k8s >= 1.11

* Remover support for windows

* rm windows 1.11 e2e test
2018-05-01 17:06:30 -07:00
Dong Liu 27de7f1834 Add CustomWindowsPackageURL config in kubernetesConfig (#2777) 2018-04-30 16:26:25 -07:00
Mani Bindra c4bb27d9d7 Add acs-engine version information to acs-engine provisioned k8s clusters (masters and agents) (#2782)
* working version with blank acsengineVersion in upgrader.go

* acsengine version changes for upgrade path

* modified unit tests to pass acsengineVersion

* incorporated initial review comments

* Added 'Checking VM tags' section to deploy document
2018-04-30 16:11:22 -07:00
Cecile Robert-Michon a3a804db1c
Add etcd encryption key (#2756)
* etcd encryption key

* add unit test
2018-04-30 15:02:57 -07:00
Cecile Robert-Michon 330c9764f1
Add osType to clusterdefinition.md (#2806)
* add os type

* fix wording
2018-04-30 11:51:07 -07:00
Sertaç Özercan 981a72e927 VirtualMachineScaleSets support for Kubernetes (#2620)
* initial commit

* master resource

* vmss name and vnet dependency

* revert master change

* added parameters for vmType and primaryScaleSetName

* instanceMetadata

* update vmss upgrade policy

* update vmss agent

* add osdisk and datadisk storage accounts

* add validation

* update example

* add managed identity

* windows vmss node

* update example

* windows update

* agent custom image

* update windows setup script

* disable overprovision

* update validation

* setting hostname dynamically on windows nodes

* add tests

* add validation for instanceMetadata

* update docs

* update tests
2018-04-24 14:13:14 -07:00
Cecile Robert-Michon 351a2e0a41
add private cluster feature in table (#2726) 2018-04-20 10:43:26 -07:00
Thomas Stringer 8451569870 Monitoring extension documentation addition (#2740)
* add acs-engine monitoring extension section for monitoring docs

* add further post deployment experience documentation

* fix monitoring extension doc suggested changes
2018-04-20 10:36:31 -07:00
Rita Zhang c4c16add4e Update doc for key vault encryption feat (#2723) 2018-04-19 10:17:42 -07:00
Matt Boersma 5509886618 Update references to gcr.io to point to Azure CDN endpoint (#2721) 2018-04-18 18:54:18 -07:00
Rinor Maloku 8afd262383 fix typo in aad doc (#2714)
fix typo
2018-04-18 09:39:15 -07:00
Amit Kumar 27a594c07b Adding parameter to specify more master SANs (#2656)
* Add SANs to API server certificate

* Add unit tests

* Update readme
2018-04-17 10:54:35 -07:00
Rita Zhang 4e07210b63 Enable encryption at rest with Azure key vault (#2544) 2018-04-16 16:01:25 -07:00
Mark Gerrits 45e4a225f9 [feature] Prevent overwriting existing cluster resources in output directories (#2581)
* Prevent overwriting existing folder when using the deploy command
2018-04-10 16:56:15 -07:00
dmitsh dfe8ea2c7b adding DC/OS custom data for version 1.11 (#2609)
* adding DC/OS custom data for version 1.11

* adding DC/OS 1.11 to validation and changin default to latest

* Issue #2445: Print a more descriptive error message when using acs-engine to create K8s cluster with a minor release (#2522)

https://github.com/Azure/acs-engine/issues/2445

Fix: Enhance error message to convey the user about incompatible orchestrator profile parameters supplied to acs engine.

* Add logic for dcos linux custom install locations and package info

* Fixed issue with vanilla 1.11 deploy

* Fixed issue with vanilla 1.11 deploy

* setting proper DCOS repository URL

* set proper bootstrap download URL for dcos 1.9

* fixed regression in dcos 1.9

* temporarily disable marathon app in DCOS cluster validation

* typo
2018-04-10 12:12:09 -07:00
Sean Knox f60f5219fc remove deprecated etcd-quorum-read flag from apiserver (#2630) 2018-04-09 08:52:49 -07:00
Cecile Robert-Michon 2d32f706b7 Cluster definition docs cleanup (#2622)
* Fix syntax of clusterdefinition.md

* remove periods

* Upper case and such

* add enablePodSecurityPolicy to docs

* VNET uppercase

* describes becomes Describes
2018-04-06 15:12:14 -07:00
Jack Francis 1362b03240
fix maxPods deprecation inconsistency (#2618)
* fix maxPods deprecation inconsistency
2018-04-06 13:57:54 -07:00
Jack Francis 3e07cc0038
k8s apiserver --oidc properties are user-overridable (#2603)
* enable more oidc user overrides

* updated docs
2018-04-05 14:18:08 -07:00
Michalis Kargakis d5ec309f52 Enable running custom images in acs-engine (#2513)
* Enable running custom images in acs-engine

* Added basic docs reference to ImageReference properties
2018-04-04 16:21:15 -07:00
Sylvain Rabot 3df500a740 Specifying 256GB instead of 128 for etcd disk (#2435)
Also adds graduating defaults:

512 GB for > 3 nodes
1024 GB for > 10 nodes
2048 GB for > 20 nodes
2018-04-02 15:13:03 -07:00
Dave Sykes 80c0c83b42 Add documentation to update Route Table when Custom VNET is in different RG (#2086)
* Updated Custom VNET docs to add instructions for route table when the Custom VNET is in a different Resource Group to the Kubernetes cluster

* fixed typos, added newlines
2018-04-02 12:21:56 -07:00
chshou 05ebc78b57 Make --azure-container-registry-config optional (#2546)
* move --azure-container-registry-config to default list

* add docs and unit tests

* added test cases
2018-03-30 14:55:45 -07:00
Bill Pratt 50f8dfcea0 Updated admission control defaults documentation to match actual (#2558) 2018-03-30 11:26:28 -07:00
Sylvain Rabot 00fd963d88 Remove trailing whitespaces (#2495)
* Remove trailing whitespaces in parts/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in pkg/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in examples/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in docs/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in test/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in extensions/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in .circleci/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in jenkins/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* Remove trailing whitespaces in scripts/

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2018-03-27 12:21:55 -07:00
Jack Francis 4dbe7eb018
Generic kube-scheduler config interface (#2500)
* move scheduler to generic config model

* set —v default but allow user override

* added docs and tests
2018-03-22 15:19:24 -07:00
Christoph Schittko 7a1954aca9 Refactor registry credentials to DcosConfig (#1137) 2018-03-16 14:21:00 -07:00
Jess Frazelle df44a7c1a8 network policy: add cilium (#2429)
* docs: add cilium to network policy

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* network policy: add cilium

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* remove cilium from legacy e2e
2018-03-13 10:22:37 -07:00
Cecile Robert-Michon b0f5e38c36 auto-jumpbox provisioning for private clusters (#2401)
* add provision jumpbox flag

* add jp to resources

* fix osDisk resource

* Add jumpbox parameters

* fix broken link in docs

* fix nil reference error for agent pool only

* rename inconsistent params

* handle nil jumpbox profile

* Add support for storage account and managed disks

* docs

* update example files

* missing }

* fix typo in docs

* use isTrueBoolPointer

* keep instance metadata default

* fix typo

* check for nil private cluster
2018-03-08 12:34:38 -08:00
Mark Gerrits 447cd0aed2 Notes on day-to-day operations on an acs-engine cluster (#2351)
* Notes from my experiences..

.. over the last couple of days

* Rename day-two-operations.md to kubernetes-day2-operations.md
2018-03-05 14:59:40 -08:00
Jack Francis 06521d515f
remove unnecessary hyperkube reference (#2391) 2018-03-05 13:49:19 -08:00
Cecile Robert-Michon 6d8c23d114
update docs for private clusters (#2363) 2018-02-28 16:59:08 -08:00
Gerardo Saca 59f3b1967f Improve info to get issuerurl (#2356) 2018-02-28 09:37:31 -08:00
Chris Oelerich 479d8e2eac typo (#2342) 2018-02-27 09:44:34 -08:00
Brendan Burns 4cea6dbfa6 Improve the instructions for AAD. (#2330)
* Improve the instructions for AAD.

* broken link and syntax
2018-02-27 09:03:56 -08:00
Cecile Robert-Michon 1c3d6a7fc1 Private clusters (#2326)
* add isprivatecluster func

* wip remove load balancer for PC

* add enablePrivateCluster flag

* no public IPs for private cluster

* working private cluster for 3 masters

* remove duplicate iptables cmd

* remove useless function

* fmt

* revert dnsprefix docs change

* undo etcd change

Move change to a separate PR because it is unrelated

* remove masterPublicIpAddress

* fix typo

* handle DCOS + swarm nil case

* add docs and example

* replace host by jumpbox in the docs

* add instructions to create jumpbox

* indents
2018-02-27 08:38:10 -08:00
Jack Francis 483b32c9c3
docs cruft (#2321)
we are not actually setting —read-only-port=0 for kubelet
2018-02-22 15:48:47 -08:00
Jun Sun 47f2a4f0fb Revert static IP allocation logic in Azure CNI, PR 1966. (#2315) 2018-02-22 10:42:19 -08:00
William Buchwalter aa842ee2a1 Updates NVIDIA drivers installation (#2219)
* updated NVIDIA drivers installation

* linting engine.go

* update GPU doc
2018-02-21 11:12:04 -08:00
pidah 10cd058dea set kubelet defaults for --cgroups-per-qos & --enforce-node-allocatable (#2310)
* set kubelet defaults for --cgroups-per-qos &  --enforce-node-allocatable

* update docs
2018-02-21 11:11:00 -08:00
Dennis Benzinger | SAP Hybris 2e6d7cf1da Clarify that only Calico supports K8s network policies (#2270) 2018-02-20 12:50:17 -08:00
Martin Haaß ff5c73b26e add prerequisit to have permissions to create service principals in the subscription (#2281)
acs-engine hangs with "WARN[0008] apimodel: ServicePrincipalProfile was empty, assigning role to application..."
if user does not have enough permissions to create and assign service principals ans azure applications
2018-02-15 08:51:26 -08:00
Jack Francis cb6c824e56
kubelet —cluster-domain is user-overridable (#2276) 2018-02-14 16:05:08 -07:00
pweil 576beb8e13 minor doc fixes 2018-02-08 14:15:01 -05:00
pidah 4649183016 add default audit policy (#2189)
* add default audit policy

* apiserver audit log rotation is user-configurable
2018-02-06 16:43:27 -08:00
ckbhatt 918e1b5fbe Updated broken links (#2208) 2018-02-05 20:46:30 -08:00
pidah 0530b2dee6 update ApiServerConfig customization/override example (#2201) 2018-02-05 12:11:26 -08:00
Stephen J. Lawrence Jr 7923b9600b fix-api-server-bind-address-flag - Fixes a flag typo in the api serve… (#2192)
* fix-api-server-bind-address-flag - Fixes a flag typo in the api server yaml

* fix-api-server-bind-address-flag - update docs with --bind-address fix

* Update doc entry for bind-address flag
2018-02-03 14:32:33 -08:00
Diwakar b2f59719c7 Update clusterdefinition.md (#2171)
Fix apiserver options table markdown
2018-02-01 08:50:14 -08:00
Jiangtian Li f6713ccc7e Update window binary build documentation (#2147)
* Update window binary build documentation

* move background section
2018-01-24 17:20:54 -08:00
pidah 3c592ba0cc add Azure Active Directory Admin Group Object ID flag (#2111) 2018-01-23 16:48:43 -08:00
Jiangtian Li 5ad7fbb5ef Update custom vnet doc (#2128) 2018-01-23 12:54:53 -08:00
Stuart Leeks 949269c16e Update docs for --feature-gates (#2081) 2018-01-18 12:21:54 -08:00
Jun Sun ab9e35bf58 Adopt CIS Kubernetes Benchmark, Part 2: Controller Manager. (#2066) 2018-01-17 13:43:50 -08:00
tamilmani1989 767932c985 Improving IP address assignment for master nodes with Azure CNI. (#1966)
* Azure cni static ip change (#1)

* VSTS#1828538 Modified master IPs from dynamic to static and made agent nic dependent on master nic

* Modified firstconsecutive static IP for default vnet

* updated documentation specific to Azure CNI

* Fixed styling test errors

* Handled no master scenario

* updated one of the examples cluster config to use firstConsecutiveStaticIp from the start of subnet

* removed azureCNI check so that agent nic will always depend on master nic

* Specified dependency of agent nic on master nic in windows agents template

* moving firstConsecutiveStaticIP away from the edge of usable address space

* Update documentation to help customers how to specify firstConsecutiveStaticIP and ipAddressCount for master nodes.
2018-01-17 08:28:58 -08:00
Jess Frazelle 8bd7c2c4f1 clear containers (#1945)
* clear-containers: add runtime to api and pass through parameters

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: add scripts

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: add example

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: fix variables

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: add docs

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: update install script

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: fix script

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: update example

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: update features docs

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* clear-containers: make test linters happy

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* setKubeletOpts to work better with kubeconfig

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* whitespace cruft

* more whitespace fun
2018-01-16 16:09:32 -08:00
Jack Francis 5e39da12fc
add anchor tags to k8s generic config docs (#2058) 2018-01-16 09:51:19 -08:00
Matt Boersma 962d72515d Update GCR URLs to reference Azure CDN (#2042)
* update k8s Docker URLs to use Azure CDN consistently

* fix a typo in documentation
2018-01-11 14:25:32 -08:00
Jack Francis cdf105bc44
CoreOS distro is an exerimental feature (#2041) 2018-01-11 13:41:53 -08:00
Jeff Kwan f5be62730e Updated documentation to include group usage (#2037)
Also added the groups OIDC claim
2018-01-11 13:09:22 -08:00
Jack Francis 1b4840759c
apiserver default config changes (#2034) 2018-01-10 15:57:39 -08:00
Jun Sun e08eb94b15 Added CIS-reported apiserver config changes (#1989) 2018-01-10 14:25:23 -08:00
Jack Francis 5e7549dce3
Generic cloud-controller-manager config interface (#2017)
* etcd client port is static 2397

* humans are the best

* using vars for etcd master ports

* generic cloud-controller-manager

* we need this if after all

* added ccm example and using helpers

* debug

* err.Error() for string

* bye bye debug

* we do need that sleep, though!
2018-01-10 11:44:51 -08:00
Jack Francis 8fd4ac4267
azure cloudprovider is default, not static (#2019) 2018-01-09 23:03:38 -08:00
Jack Francis d216b94387
generic Kubernetes API server config interface (#2012)
* generic apiserver config

* add spaces for visual improvement

* rationalize aad vars

* same ccm config approach for both apiserver and controller-manager

* reverting changes to masterEtcdServerPort and masterEtcdClientPort

* etcd client port is static 2397

* moving sed bits around

* fun w/ sed

* humans are the best

* using vars for etcd master ports
2018-01-09 12:12:17 -08:00
Brendan Burns 8d5fba918a Updates to kubelet flags. (#1942)
* 3 new static kubelet configs

* triage —read-only-port

* --read-only-port is back, --protect-kernel-defaults is gone
2018-01-03 14:58:33 -08:00
pidah a30d445417 add etcd encryption at rest (#1973)
*  add etcd encryption at rest

* changed to EnableDataEncryptionAtRest *bool
2018-01-02 16:54:24 -08:00
Jack Francis 39081b8789
Generic controller-manager config (#1960)
* wip generic controller-manager config

* clean up tests

* controller-manager yaml uses controllerManagerConfig

* array command usage for controller-manager yaml

* more rebase fun

* dispatch --route-reconciliation-period to cloud controller manager

* 1 fix and 2 cleanups

- actually using passed-in *api.KubernetesConfig reference in GetControllerManagerConfigKeyVals()
- removing unnecessary validations for both controller manager and kubelet
2017-12-22 14:24:29 -08:00
Jack Francis d2f2a21dce
enable RBAC on k8s by default (#1962) 2017-12-21 13:21:39 -08:00
Jack Francis 9fc1e8e08c
Azure CNI IP address allocation doc update (#1933)
* for your consideration

* 10.0.0.4 is the first IP address available for dynamic allocation
2017-12-19 12:28:03 -08:00
Jack Francis 97bf063fdf
fix "ACS-Engine The Long Way" doc link and include VNET reference (#1951)
* fix long way link and vnet addition

* correct link fix
2017-12-19 12:09:17 -08:00
Jack Francis 3c70413cdb
Generic kubelet config interface (#1854)
* demonstrating a generic kubelet config interface

* setting the desired outcome

* filling out default kubelet config

* cleanup

* docs and blacklist

* docs

* dead code

* line continuation

* punt on blacklist

* revert

* revert

* agent nodes updates

* implement read-only kubelet config properties

* deprecate KubernetesConfig.HardEvictionThreshold

* deprecated KubernetesConfig NodeStatusUpdateFrequency

* agent kubelet doesn’t use register node or taints

* moving KubernetesConfig into master/agent namespace

* using MasterProfile reference to be consistent with agents

* optimize non-user configurable values

* fixed for agent pool-only

* NonMasqueradeCidr and docs

* table markdown

* more kubelet config defaults, documented

* restored validations

* windows-specific network-policy enforcement

* added plugins volume mount

* remove docs for hardEvictionThreshold property

* work toward v1.5 support

* enforce kubelet config key ordering for consistency

and to pass tests

* really enforcing > 1.5

* make + append = twice too many

* rearranging furniture

* systemd and ${}

* using a common kubelet config

* cleaner diff

* easier easier diff

* cruft

* need kubenet override

* rationalize defaults + overrides
2017-12-19 11:02:44 -08:00
Nicholas Eberts cc25ae72a0 Update features.md (#1920)
MSI feature is not ready in k8s 1.8 since it requires azure-sdk-for-go version upgrade, this issue is fixed in v1.9, you could find detailed info here:
https://github.com/kubernetes/kubernetes/issues/55837
2017-12-12 09:09:02 -08:00
Jack Francis e2772ee7dc
configurable docker-engine version (#1874)
* configurable docker-engine version

* added allowed values

* docs
2017-12-11 09:42:23 -08:00
Jiangtian Li df9c48f5c1 Revise kubernetes windows documentation with RS3 content (#1899) 2017-12-07 18:37:28 -08:00
Sebastian Fyda db2a747443 Update custom-vnet.md (#1888)
fetching route table assumes user uses json ouptut, which is not always true
2017-12-06 15:16:02 -08:00
Jack Francis cef6aacb50
Azure CNI enabled by default for Kubernetes clusters (Linux only) (#1887)
* Turned on azure CNI by default

* explicitly setting networkPolicy to none for vnet k8s

* added k8s only regression e2e suite

* removing temporary test suite

* docs and e2e updatees

* Added Azure CNI custom vnet e2e test

* updated ginkgo e2e

* added vnetCidr validation

* making spaghetti

* punt on validation

* docs updates
2017-12-06 14:43:25 -08:00
Jun Sun 30ce15e309 Organize templates by orchestration types and update references. (#1890) 2017-12-06 11:41:42 -08:00
pidah 6ba554d9c9 add hard eviction threshold docs (#1884) 2017-12-05 09:02:14 -08:00
William Buchwalter 1476a57d59 Update k8s GPU doc (#1873)
* Update k8s GPU doc

* k8s gpu doc: remove reference to LD_LIBRARY_PATH
2017-12-01 15:37:43 -08:00
Sertaç Özercan 6d1a3c2a89 Add ACI Connector (#1844)
* added aci connector addon

* added example json

* linting changes

* disabled by default

* linting changes

* added readme

* fix test bools

* review changes

* add KubernetesAddon.Config key/val defaults

* defaults for config

* handling nil

* KubernetesAddons.Config conversion

* update example api model readme

* update default config

* update example api model

* removing china cloud changes
2017-12-01 09:19:19 -08:00
David Tesar beb34ea98e Update to Calico 2.6.3 (#1853) 2017-11-30 09:20:38 -08:00
William Buchwalter 3a08760a9c update and fix k8s gpu doc (#1856) 2017-11-29 16:26:34 -08:00
pidah 59dd098f46 add enableAggregatedAPIs docs (#1846) 2017-11-29 12:56:47 -08:00
Alexander Gabert 9ca92cbe31 typo intersted (#1808) 2017-11-21 08:51:31 -08:00
dmitsh b719f89bcc revised upgrade documentation (#1802)
* revised upgrade documentation

* addressed comments

* addressed comments
2017-11-20 15:01:59 -08:00
Cecile Robert-Michon c6efc047b7 Fix rescheduler test (#1793)
* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* conditionally check for rescheduler

* fix table format

* fix table

* clean test

* re-add dashboard test
2017-11-17 18:13:02 -08:00
Cecile Robert-Michon 0ec78c790f Add Rescheduler addon (#1780)
* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* added rescheduler addon

* fix typo

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* merge master upstream

* Revert "merge master upstream"

This reverts commit ab8d33d28a2b5e9a419e0018c9fee82b0134b11e.

* added rescheduler addon

* fix typo

* add rescheduler spec to mastervars

* add rescheduler spec to mastervars

* added rescheduler image to KubeConfigs

* changed to using new addon pattern

* parametrize limits/requests

* fix types test for isReschedulerEnabled

* fix var name in test

* added rescheduler limit params

* fixed pr comments

* removed extra line

* add rescheduler regression test + added docs + fixed dashboard name in docs

* typo fix
2017-11-17 16:01:18 -08:00
Richard Ortega 036c658e94 Support for CoreOS as a distro for master and agent nodes (#1632)
* support for CoreOS on master and agent nodes

* updated coreos customdata files to support acsengine updates (with etcd3 support) and added check for distros on agents

* fix typo

* set master profile distro

* fixed k8s custom script for handling multiple os logic

* fix formatting issue

* updated documentation

* fix duplicate literal, updated docs

* update custom coreos data to reflect changes in main custom data

* merged coreos customdata files into main customdata files, masterprofile now defines agents distro OS if defined

* add linux distro support for agents by enumerating image offer per agent pool

* update ubuntu default image for agents

* ensure agent and master custom data is properly checking the correct profile, updates to docs

* updated ubuntu image for agentparams

* moved examples files, added to E2E

* errata
2017-11-17 14:46:50 -08:00
Jack Francis 5bbdaa1d5e
Addons w/ initial tiller and dashboard implementation (#1765)
* Addons w/ initial tiller implementation

* IsTillerEnabled is a method of KubernetesConfig

* gofmt

* Addons.Enabled is a *bool

* enables multiple containers per addon spec

* protecting against out of range errors

* gofmt

* added unit tests

* restoring validation tests

* added kubernetes-dashboard addon

* removing deprecated KubernetesConfig properties

* kubernetes-dashboard resource limits

derived from kubernetes-dashboard chart:

https://github.com/kubernetes/charts/blob/master/stable/kubernetes-dashboard/values.yaml

And multiplied by 3x to be a little more permissive, considering this is a change from “no resource limits”.
2017-11-16 12:52:32 -08:00
Jason Poon 1f855a0f83 fix(docs): use release-1.5 for influxdb/grafana install (#1781) 2017-11-16 09:18:56 -08:00
Jiangtian Li 7fd0285bca Update doc (#1773) 2017-11-15 09:18:18 -08:00
Jack Francis 8db990ba17
enabled instance metadata service by default (#1763) 2017-11-13 15:42:39 -08:00
dmitsh bd006fc997 allow disabling dashboard addon in kubernetes cluster (#1754)
* initial commit

* next

* added example for deployment without dashboard

* added check for no dashboard in validation; update doc

* fix test

* added to regression set
2017-11-12 14:39:04 -08:00
Jiangtian Li 8b5852e7df Switch to RS3 Windows in Kubernetes cluster (#1686)
* Use RS3 Windows Server image

* Fix HNS network config

* Fix network setup

* use master subnet gateway instead of pod gateway in hnsnetwork config

* Adds proper management subnet injection.

* Adds port mapping capability to the config for the new WinCNI.

* Simplify mgmtsubnet config and remove unused kubeproxy parameter

* Switch from preview image to public image

* Use 1709 tag in Dockerfile

* Use servercore for POD infra container since 1709 nanoserver doesn't have powershell

* Remove patching winnat.sys

* Validate Kubernetes Windows version

* Update version support in windows script

* Fix issue in restart kubelet/kubeproxy service

* Update windows build script

* Use nanoserver in POD infra container

* Modify windows zip build process

* Modify windows zip build script

* Update windows zip name

* Update windows zip location

* Fix unit test

* Update windows test image

* Fix windows iis test
2017-11-07 12:34:40 -08:00
Markus Priegl 9ede76a969 Update monitoring.md (#1681)
docu updated: removed duplicated line and added "-" to 'command', as it has to be kept from original file
2017-10-30 12:54:45 -07:00
William Buchwalter 456001c321 [WIP] Add NVIDIA drivers for k8s linux agents (#989)
* [k8s] add NVIDIA drivers for linux agents

* update k8s+GPU documentation

* Allows different drivers install script for different skus

* add unit test for GPU script

* remove templates.go

* Add kubernetes GPU example template
2017-10-24 16:33:10 -07:00
Jack 487b5688a5 adding scale command that can scale up (#1636)
* adding scale command that can scale up

* fixing error message mistakes

* adding documentation

* small clarification on one parameter description

* adding scale down and making it query arm for state

* fixing spelling mistake/make test-style errors

* remove https://
2017-10-24 13:32:29 -07:00
Jack Francis 0a87736923 Doc update: attach route table to VNET (#1627)
* add mention of route attach to vnet req

* s/\.name/\.id
2017-10-20 09:06:16 -07:00
Antoine 812edff3f0 Update acsengine.md (#1629)
Fix typo
2017-10-20 09:03:35 -07:00
Aleksandar Nikolić 3349fb2754 Fix a typo in kubernetes.md (#1602)
Fix a typo.
2017-10-14 06:25:28 -07:00
David Bourasseau 8281069307 Enabling --non-masquerade-cidr option (#1361)
* add kubernetes Non Masquerade CIDR in order to be able to install K8s in a network that has already used the 10.0.0.0/8, and therefore activated NAT of a pod to an address in 10.0.0.0/8

* gofmted

* rename CIDR to Cidr according to the exciting code

* fix kubernetesNonMasqueradeCidr to KUBELET_NON_MASQUERADE_CIDR on master
* clean
* Review change

* change CIDR to Cidr

* json lint

* added NonMasqueradeCidr validation

* documentation
2017-10-09 11:09:54 -07:00