Commit Graph

2342 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 95f4f83fbe
Merge pull request #7900 from zacblazic/use-encryption-provider-config-flag
Use non-experimental version of encryption provider config flag in 1.13+
2020-01-05 10:31:40 -08:00
Kubernetes Prow Robot be1eea3474
Merge pull request #7772 from zadowsmash/fix-rhel-yum-config
fixed yum proxy configuration
2020-01-04 19:39:40 -08:00
Justin Santa Barbara 6c41748640
Download nodeup into a writeable path on COS
/opt/ isn't writeable on COS, so we download to /var/lib/toolbox/kops
instead.
2020-01-04 18:16:08 -05:00
Kubernetes Prow Robot 78267482bf
Merge pull request #8212 from hakman/move-nodeup
Move nodeup to /opt/kops/bin
2020-01-04 14:49:40 -08:00
Kubernetes Prow Robot a22af4fa80
Merge pull request #8239 from johngmyers/simplify-rolling
Simplify code for rolling updates of nodes
2020-01-04 13:13:40 -08:00
John Gardiner Myers 01dd793604 Specify number of NotReady instances in makeGroup() parameter 2020-01-04 10:47:08 -08:00
John Gardiner Myers 39f849271b Fold setUpCloud() into getGroups() 2020-01-04 09:08:00 -08:00
John Gardiner Myers 612e4ae484 Extract creation of the CloudInstanceGroup 2020-01-04 09:08:00 -08:00
Reilly Brogan 3e5b211bcd Add support for weave.npcExtraArgs 2020-01-03 21:28:37 -06:00
John Gardiner Myers 4d16192299 Merge branch 'master' into cordon 2020-01-03 10:56:32 -08:00
John Gardiner Myers cba59afac4 Change taint key per review comment 2020-01-03 10:07:21 -08:00
Kubernetes Prow Robot 35039d2b5e
Merge pull request #8258 from rifelpet/update-mock-kops-version
Update mock kops version in integration tests
2020-01-03 08:15:41 -08:00
Kubernetes Prow Robot afb4ecb883
Merge pull request #7730 from ripta/custom-sysctls
Custom sysctl Parameters
2020-01-03 07:35:41 -08:00
Kubernetes Prow Robot 2b24f69f9c
Merge pull request #8216 from mmerrill3/feature/issue-8113-weave-resources
Adding ability to configure resources for weave (#8113)
2020-01-03 06:43:40 -08:00
Peter Rifel 21c5a82ed3 Update mock kops version 2020-01-03 08:17:02 -06:00
Xiaoyu Zhong 9b3d690141 Stabilize sequence of "export xx=xxx" statements 2020-01-03 11:14:28 +08:00
Xiaoyu Zhong cb93ba822a Rename ImageId to ImageID for launchconfiguration 2020-01-03 11:13:52 +08:00
John Gardiner Myers a03cdeceec Update copyrights for 2020 2019-12-31 20:54:15 -08:00
John Gardiner Myers cd499f6f09 Remove unused code 2019-12-31 14:33:05 -08:00
John Gardiner Myers 0cbd76ecfb Simplify code for rolling updates of nodes 2019-12-31 10:25:55 -08:00
Kubernetes Prow Robot befa1d7465
Merge pull request #8234 from tanjunchen/staticcheck-004
nodeup/pkg/ pkg/ staticcheck: Fix ST1005
2019-12-31 09:23:40 -08:00
Kubernetes Prow Robot 1702b78ce3
Merge pull request #8225 from yuxiaobo96/kops-check3
staticcheck:remove duplicate import packages
2019-12-31 05:03:40 -08:00
yuxiaobo a599348f99 staticcheck:remove duplicate import packages
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-31 15:10:08 +08:00
tanjunchen 7e25f9831d nodeup/pkg/ pkg/ staticcheck 2019-12-31 15:03:39 +08:00
John Gardiner Myers 97ad2c3b54 Taint nodes needing update 2019-12-30 16:06:00 -08:00
John Gardiner Myers 5189cc1ef6 Add a third instance to each nodes group in rolling update tests 2019-12-30 13:48:37 -08:00
John Gardiner Myers 92581ab4a1 Create nodes for instances in rolling update tests 2019-12-30 13:48:37 -08:00
John Gardiner Myers 77769855af Return groups from getTestSetup() 2019-12-30 13:48:34 -08:00
tanjunchen 8acb51e061 pkg/apis/ pkg/commands/ pkg/model/ staticcheck 2019-12-30 21:13:40 +08:00
John Gardiner Myers 4ef035faa2 Fix pkg/resources/openstack staticcheck failure 2019-12-29 15:57:14 -08:00
Kubernetes Prow Robot a90bee6a05
Merge pull request #8144 from zehuaiWANG/cleanup-buildDiffLines
clean up buildDiffLines
2019-12-28 19:07:39 -08:00
mmerrill3 b38bafe79d Adding ability to configure resources for weave (#8113)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2019-12-28 18:07:11 -05:00
Ciprian Hacman 474cb76827 Update tests 2019-12-28 22:17:16 +02:00
Kubernetes Prow Robot f57c09b279
Merge pull request #8079 from vvbogdanov87/fix-shared-volume-removal
Set shared field for volume resource on delete
2019-12-28 11:35:39 -08:00
Ciprian Hacman 993b808cfc Move nodeup to /opt/kops/bin 2019-12-28 20:18:45 +02:00
Kubernetes Prow Robot b6be94935e
Merge pull request #8041 from tanjunchen/fix-code
replace TrimRight with TrimSuffix
2019-12-27 22:39:38 -08:00
Kubernetes Prow Robot be6e8a83e2
Merge pull request #8194 from bittopaz/ali-patch-2
Alicloud: refine Alicloud RAM role policy
2019-12-27 09:30:23 -08:00
Kubernetes Prow Robot adf659370c
Merge pull request #8170 from hakman/coninerd-add-1.2.4
containerd: Use containerd 1.2.4 with Docker 18.09.3
2019-12-27 09:29:38 -08:00
Kubernetes Prow Robot 8436a3ea8d
Merge pull request #8159 from johngmyers/validate-spot
Always consider spot instance node readiness in cluster validation
2019-12-26 16:39:38 -08:00
Kubernetes Prow Robot dd608e879b
Merge pull request #7770 from mitch000001/external-cloud-controller-feature-flag
Guard External cloud controller manager with its feature flag
2019-12-26 14:03:38 -08:00
ares 1e6675f9e9
Merge branch 'master' into fix-staticcheck-pkg-resources-digitalocean 2019-12-26 13:05:01 +08:00
Kubernetes Prow Robot eac15ee25c
Merge pull request #8195 from fenggw-fnst/work
Add corresponding unit test to the function in subnet.go.
2019-12-25 12:03:50 -08:00
Xiaoyu Zhong 5287f6d024 Refine Alicloud RAM role policy 2019-12-25 11:02:41 +08:00
Guangwen Feng 32e468bf77 Add corresponding unit test to the function in subnet.go.
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2019-12-24 18:24:06 +08:00
Aresforchina 8ebcea0024 fix staticcheck failures in pkg/resources 2019-12-24 17:12:53 +08:00
Kubernetes Prow Robot dffc8975d6 pkg/resources/aws:simplify code and remove code 2019-12-24 10:56:57 +08:00
Kubernetes Prow Robot 61d556f9e9
Merge pull request #8188 from Aresforchina/fix-pkg-resources-aws
pkg/resources/aws:simplify code and remove code
2019-12-23 16:19:29 -08:00
Kubernetes Prow Robot 6fd4762290
Merge pull request #8186 from johngmyers/instancegroup-staticcheck
pkg/instancegroups - fix static check
2019-12-23 15:25:29 -08:00
Ciprian Hacman 760c7b06b4 Use containerd 1.2.4 with Docker 18.09.3 2019-12-23 19:26:38 +02:00
Aresforchina 8f86a1b201 pkg/resources-aws:simplify code and remove code 2019-12-23 19:00:17 +08:00
John Gardiner Myers 1d3d5c1d2f pkg/instancegroups - fix static check 2019-12-22 20:56:27 -08:00
Justin SB 802b1add43
Refactor: Add Region() method to fi.Cloud
This enables us to simply the apply logic.
2019-12-22 13:40:38 -05:00
Kubernetes Prow Robot 4621df3c0a
Merge pull request #8155 from hakman/staticcheck-nodeup
nodeup/pkg/model - fix static check
2019-12-20 00:15:32 -08:00
Kubernetes Prow Robot 015efe0b26
Merge pull request #8132 from zehuaiWANG/kops-change-main
kops-change-main
2019-12-19 22:17:45 -08:00
Justin Santa Barbara 2c770aa7a5
Merge branch 'master' into split-containerd 2019-12-19 07:03:33 -05:00
John Gardiner Myers 80dc001b23 Determine node role from instancegroup spec 2019-12-18 21:47:16 -08:00
Ciprian Hacman fa665943ac nodeup/pkg/model - fix static check 2019-12-18 22:07:31 +02:00
zehuaiWANG 0454c46328 clean up buildDiffLines 2019-12-18 14:13:58 +08:00
Justin Santa Barbara 84835ce0ba
Update pkg/instancegroups/rollingupdate_test.go
Co-Authored-By: John Gardiner Myers <jgmyers@proofpoint.com>
2019-12-17 21:25:18 -05:00
Peter Rifel a24d9b6455
remove more trailing whitespace 2019-12-17 13:03:16 -06:00
Peter Rifel 85a1d23c18
remove trailing whitespace that was breaking gofmt 2019-12-17 12:49:20 -06:00
Justin Santa Barbara 8373c9fc4d tests: increase timeout in rolling update tests
We never know when e.g. a GC is going to delay us, so we need a lot
more padding on these timeouts.
2019-12-17 09:59:21 -05:00
zehuaiWANG 3273e55c0d kops-change-main 2019-12-17 13:30:43 +08:00
tanjunchen 52537053cc simplify code and remove unused code 2019-12-17 00:28:35 +08:00
tanjunchen f45dba4b62 replace TrimRight with TrimSuffix 2019-12-16 09:45:49 +08:00
Ciprian Hacman f1ffd9a7f6 Rename config option contained.configFile to containerd.configOverride 2019-12-16 00:59:26 +02:00
Ciprian Hacman 92cd1842c6 Add support for containerd container runtime - generated 2019-12-15 21:37:57 +02:00
Ciprian Hacman 1a4d8bf49c Add support for containerd container runtime - tests 2019-12-15 21:37:57 +02:00
Ciprian Hacman 42b73b877d Add support for containerd container runtime 2019-12-15 21:37:57 +02:00
Justin Santa Barbara 58dccb0c5d dev: hack/update-expected.sh should generate missing file
Don't treat a failure to read a file as an error, if we are supposed
to be generating that file.
2019-12-14 22:14:39 -05:00
Kubernetes Prow Robot c54394c0e3
Merge pull request #8035 from tanjunchen/fix-pkg-staticcheck
fix-pkg-staticcheck and remove the repeat code
2019-12-14 11:03:36 -08:00
John Gardiner Myers 2850826a52 Improve logging of cluster revalidation 2019-12-13 13:48:47 -08:00
John Gardiner Myers 19e165759b Add unit test for flapping validation 2019-12-13 13:45:21 -08:00
vvbogdanov87 1b6ae9cb88 Add shared volume test 2019-12-12 20:54:41 +08:00
Jesse Haka 44183aef7f validate cluster twice 2019-12-12 08:48:15 +02:00
Kubernetes Prow Robot c36470f227
Merge pull request #8076 from hakman/iptables-backend
Add support for NFT with Calico and Canal
2019-12-10 05:25:30 -08:00
Kubernetes Prow Robot e2060cdce1
Merge pull request #8074 from johngmyers/validate-bastion
Validate cluster after updating bastions
2019-12-10 04:07:29 -08:00
Ciprian Hacman dd69274cf2 Set FELIX_IPTABLESBACKEND for Calico and Canal 2019-12-10 13:45:33 +02:00
Kubernetes Prow Robot 11cec04bab
Merge pull request #7792 from tanjunchen/remove-some-unused-code
remove unused functions and simplify return str
2019-12-09 21:15:28 -08:00
John Gardiner Myers 1239c05e71 Validate after updating bastion 2019-12-09 18:45:51 -08:00
John Gardiner Myers 2e36124f77 Expose ValidateTickDuration for use by unit tests 2019-12-09 18:43:20 -08:00
vvbogdanov87 a5c2fd5e59 Set shared field for volume resource
Signed-off-by: vvbogdanov87 <vvbogdanov87@gmail.com>
2019-12-08 18:11:00 +08:00
Kubernetes Prow Robot f4320a8842
Merge pull request #8022 from sportradar/bump-cilium-11
Bump cilium version to 1.6.4
2019-12-07 20:53:08 -08:00
Kubernetes Prow Robot 2e140fc779
Merge pull request #8039 from johngmyers/validation-test-public
Increase validation test coverage
2019-12-06 15:53:54 -08:00
Kashif Saadat fcf6f0098c Canal Typha spec and apimachinery 2019-12-06 15:36:48 +00:00
John Gardiner Myers 4eccd3d53f Remove DrainAndValidateRollingUpdate feature flag 2019-12-05 22:50:04 -08:00
Kubernetes Prow Robot b60fbff92d
Merge pull request #7865 from tioxy/ebs_termination
EBS Root Volume Termination
2019-12-05 20:36:48 -08:00
Gabriel Tiossi 0e7aca0743 chore(api): deleteOnTermination codegen
Codegen for deleteOnTermination and rootVolumeDeleteOnTermination (crds
and apis)
2019-12-05 21:15:28 -03:00
Gabriel Tiossi dfd7fa9b2a docs(api): Default value for deleteOnTermination
State default value for both deleteOnTermination and
rootVolumeDeleteOnTermination equals to true
2019-12-05 21:04:40 -03:00
Kubernetes Prow Robot d8c3051611
Merge pull request #8036 from DerekHeldtWerle/additional-leader-election-options
Additional leader election options
2019-12-04 10:58:57 -08:00
John Gardiner Myers 92e8545902 Increase validation test coverage 2019-12-03 15:56:56 -08:00
John Gardiner Myers 21694bd545 Make validation assertions more concise 2019-12-03 15:56:53 -08:00
John Gardiner Myers fa2a651666 Test validation through the public interface 2019-12-03 15:56:08 -08:00
Kubernetes Prow Robot 094fe2a645
Merge pull request #7925 from johngmyers/optimize-validation
Pass the cloud object to validator from caller
2019-12-03 15:40:58 -08:00
Kubernetes Prow Robot 33ed6315b6
Merge pull request #7600 from uruddarraju/ng
Allow users to set kube controller manager's concurrent sync flags.
2019-12-03 13:22:58 -08:00
Kubernetes Prow Robot d551191c2c
Merge pull request #8027 from bittopaz/ali-patch-9
Alicloud: fix comparison failures for VPC and NATGateway
2019-12-03 12:40:58 -08:00
Kubernetes Prow Robot 8fead73173
Merge pull request #7406 from gjtempleton/Capacity-Optimized-Spot-Strategy
Add CapacityOptimized to list of supported spot allocation strategies
2019-12-03 02:44:57 -08:00
Gabriel Tiossi 3b902262f7 feat(awsmodel): Logic for EBS DeleteOnTermination
Implement separated logics for root volume and additional volumes
2019-12-03 04:28:35 -03:00
Gabriel Tiossi 9364da6d4f feat(api): DeleteOnTermination fields for volumes
Support RootVolumeDeleteOnTermination and DeleteOnTermination fields
to enable a deeper customization
2019-12-03 04:07:50 -03:00
tanjunchen 977f987d65 fix-pkg-staticcheck and remove the repeat code 2019-12-03 10:32:37 +08:00
Derek Heldt-Werle 424ef85a2a Generated files related to leader-elect flags
Signed-off-by: Derek Heldt-Werle <derek.heldt-werle@viasat.com>
2019-12-02 15:50:05 -08:00
Derek Heldt-Werle 6b7a882b59 Adds support for additional leader-elect flags for use by either the kube-scheduler or kube-controller-manager
Signed-off-by: Derek Heldt-Werle <derek.heldt-werle@viasat.com>
2019-12-02 15:50:05 -08:00
Kubernetes Prow Robot 2e572edf82
Merge pull request #8014 from bittopaz/ali-patch-2
Alicloud: support internal api loadbalancer
2019-11-28 06:19:03 -08:00
Xiaoyu Zhong 91bd701f7a Alicloud: fix comparison failures for VPC 2019-11-28 16:52:47 +08:00
Xiaoyu Zhong 69381be8e1 Alicloud: support internal api loadbalancer 2019-11-28 11:50:18 +08:00
Xiaoyu Zhong d81566482b Alicloud: etcd-manager support 2019-11-28 10:00:08 +08:00
Ole Markus With d98ea4922a Bump cilium version to 1.6.4 2019-11-27 20:48:00 +01:00
Kubernetes Prow Robot 09a8de4368
Merge pull request #7904 from johngmyers/concise-tests
Improve rolling update test coverage
2019-11-27 07:05:20 -08:00
Xiaoyu Zhong 4433be4ee3 Alicloud: only private subnets need SNAT rule 2019-11-27 17:29:07 +08:00
Kubernetes Prow Robot 482fce5d54
Merge pull request #7424 from mmerrill3/feature/dynamic-audit-config
Implementing audit dynamic configuration (#7392)
2019-11-26 01:01:10 -08:00
Srikanth 5ee945fc88 incorporate review comments 2019-11-24 12:56:46 +05:30
Srikanth 7b8eb2bfee Initial work for kops-controller to support digital ocean 2019-11-24 12:56:46 +05:30
John Gardiner Myers 38b19e53b4 Add a second master to rolling update tests 2019-11-19 16:55:39 -08:00
John Gardiner Myers 8121a84089 Improve rolling update test coverage 2019-11-19 16:55:39 -08:00
John Gardiner Myers cfca6fae10 extract RollingUpdateCluster initialization in rollingupdate tests 2019-11-19 16:55:39 -08:00
John Gardiner Myers d82c834fe3 extract common test setup in rollingupdate tests 2019-11-19 16:55:39 -08:00
John Gardiner Myers 7e8c77a8bf extract CloudInstanceGroup setup in rollingupdate tests 2019-11-19 16:55:36 -08:00
John Gardiner Myers 3d6d6734e5 Make rollingupdate test assertions succinct 2019-11-19 16:45:55 -08:00
Kubernetes Prow Robot a7ebaf7378
Merge pull request #7402 from maruina/lyft-cni-v0.5.0
Upate Lyft CNI to v0.5.1
2019-11-19 16:19:19 -08:00
Peter Rifel 3dc06afa12 Fix goimports errors
It turns out we werent running verify-goimports in our CI jobs.

While we work to get that enabled, we can at least unblock the releases by doing a one-time fix of the failing goimports
2019-11-19 05:05:02 -08:00
Kubernetes Prow Robot baa5ae3934
Merge pull request #7860 from hakman/docker-19.03.4
Add support for newer Docker versions
2019-11-17 12:23:54 -08:00
Peter Rifel 57d72da5ec Upgrade AWS VPC CNI to 1.5.5 2019-11-17 10:48:53 -06:00
John Gardiner Myers bd4e1277ae Pass the cloud object to validator from caller 2019-11-13 22:19:55 -08:00
John Gardiner Myers 55f4fcb419 Extract the list of instance groups earlier in validation 2019-11-13 22:08:52 -08:00
陈谭军 e197b32b0e
Merge branch 'master' into remove-some-unused-code 2019-11-13 09:50:30 +08:00
GuyTempleton f6218a50f0
Add CapacityOptimized to list of supported spot allocation strategies
Add Terraform capacity-optimised warning

s/optimised/optimized/
2019-11-09 19:04:16 +00:00
Ciprian Hacman 3e07810e0b Update Docker version defaults 2019-11-09 07:11:52 +02:00
Zac Blazic 84c2be1b66 Add generated fields 2019-11-08 18:24:05 +02:00
Zac Blazic 5b8b6da26a Add encryptionProviderConfig field 2019-11-08 18:06:33 +02:00
John Gardiner Myers b63cc36f88 Update bazel 2019-11-07 22:59:51 -08:00
Justin Santa Barbara 5a0b199119
Merge branch 'master' into fix-roll-validation 2019-11-07 20:54:10 -05:00
Kubernetes Prow Robot e29a04e5af
Merge pull request #7854 from FayerZhang/master
fix golint failures
2019-11-07 11:37:43 -08:00
Kubernetes Prow Robot fdde53235e
Merge pull request #7838 from srikiz/DO-7442-AddGossipClusterForDO
[DO-7442] Add gossip cluster implementation for Digital Ocean cloud provider
2019-11-05 21:57:13 -08:00
Kubernetes Prow Robot a7745468d7
Merge pull request #7791 from tanjunchen/handle-error
remove the unnecessary break
2019-11-05 21:57:06 -08:00
Kubernetes Prow Robot 53cabfb594
Merge pull request #7852 from bittopaz/ali-patch-2
Alicloud: split ProviderID with "."
2019-11-05 21:13:09 -08:00
John Gardiner Myers 5b8bed77fa Don't update first node in instancegroup if cluster fails validation 2019-11-04 16:26:39 -08:00
John Gardiner Myers 63e0c5e726 Add tests for cluster validation during rolling update 2019-11-04 16:26:39 -08:00
Peter Rifel ea4c25530b Revert "Upgrade Amazon VPC CNI plugin to 1.5.4"
This reverts commit 699fe56619.
2019-11-04 13:52:27 -08:00
Matteo Ruina 46ba9ff605 Add missing IAM permission 2019-10-31 15:29:12 +01:00
feifei.zhang@huawei.com 4b49412105 fix golint failures 2019-10-31 20:22:37 +08:00
Ripta Pasay 4db54d3830 Update apimachinery and CRDs 2019-10-30 11:44:27 -07:00
Ripta Pasay 1ca77d42f6 Add SysctlParameters to ClusterSpec and InstanceGroupSpec 2019-10-30 10:54:52 -07:00
Xiaoyu Zhong 9d61c1d1a7 Alicloud: split ProviderID with "." 2019-10-30 23:20:23 +08:00
Srikanth 60329f07db Incorporate review comments 2019-10-30 20:09:45 +05:30
Uday Ruddarraju e43a1681f1 Auto generated updates for kube-controller-manager's concurrent sync flags 2019-10-30 00:50:57 -07:00
Uday Ruddarraju c4443f2326 Allow users to set kube controller manager's concurrent sync flags. 2019-10-30 00:50:57 -07:00
tanjunchen 9aaa3c7f43 remove unnecessary break 2019-10-29 13:03:35 +08:00
Srikanth d237a4cb04 Code cleanup for PR 2019-10-29 09:45:30 +05:30
Srikanth c52d4d9dbd More updates to protokube seeding DO cloud provider 2019-10-29 09:40:38 +05:30
Srikanth cb4a8ef6fc Rebase with latest master 2019-10-29 09:40:38 +05:30
Jesse Haka b77a58a896 add protocol4 as allowed to master 2019-10-28 11:57:51 +02:00
Jesse Haka a09a920e92 fix firewalls for openstack 2019-10-27 21:58:40 +02:00
Jesse Haka f65b0f3bda return fatal if no network found 2019-10-27 08:22:52 +02:00
Jesse Haka 5e3b94ae17 use existing network and subnet 2019-10-27 08:21:25 +02:00
Kubernetes Prow Robot ac535e4527
Merge pull request #7822 from justinsb/etcdmanager_bump_for_1_16
Update etcd-manager to 3.0.20191025
2019-10-26 15:37:24 -07:00
Kubernetes Prow Robot cb66ae7af9
Merge pull request #7794 from gjtempleton/CoreDNS-Version-Choice
Allow for override of CoreDNS version
2019-10-25 08:31:47 -07:00
Justin SB 9108b69798
Update etcd-manager to 3.0.20191025
Primarily for DigitalOcean support

Changes:

* fix issues in pr#253
* Update rules-docker to 0.12
* [DO-7442] Fix logic for Digital Ocean volume tag
* Update release process to use shipbot
* Move to go modules
* Update golang to 1.13.3
* travis: Test newer bazel versions
* Fix unit tests
* Test everything, not just //test
2019-10-25 09:47:22 -04:00
mmerrill3 5cf94c8ddf Implementing audit dynamic configuration (#7392)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2019-10-24 10:21:27 -04:00
hwdef b0c63b4cd9 pkg: fix static check 2019-10-24 14:16:41 +08:00
Kubernetes Prow Robot 7ca9531695
Merge pull request #7759 from beautytiger/dev-191008-clean
replace slice loop with append for simple and clear
2019-10-21 08:11:37 -07:00
Kubernetes Prow Robot 006d27ed97
Merge pull request #7803 from bittopaz/ali-hostname-override
Alicloud: add hostname override
2019-10-19 16:59:37 -07:00
Xiaoyu Zhong 2eeca3a9a6 Alicloud: fix status discovery 2019-10-16 22:16:03 +08:00
Xiaoyu Zhong 002ddbb270 Alicloud: add hostname override 2019-10-16 21:53:40 +08:00
Ash Rohde 6150ebef1f Updated test files 2019-10-16 09:28:28 +11:00
GuyTempleton e87b1fddbe
Allow for override of CoreDNS version
Allow users to override the CoreDNS image version to take advantage of local image registries or differing versions of the image to allow quicker access to new/improved CoreDNS plugins.
2019-10-15 21:07:12 +01:00
tanjunchen fa6d0130c8 remove unused functions and simplify return str 2019-10-15 23:54:10 +08:00
Kubernetes Prow Robot e26a4fac2f
Merge pull request #7778 from justinsb/decollide_well_known_ports
Change default port for memberlist from 3997
2019-10-15 00:31:52 -07:00
Kubernetes Prow Robot 39cbb2bf1c
Merge pull request #7781 from hatappi/api-server-multiple-sa-key-file
fix(apiserver): allow multiple service-account-key-file
2019-10-14 18:15:51 -07:00
Justin SB b6862103bb
Change default port for memberlist from 3997
We had a port collision on 3997; change the default memberlist ports
to avoid the collision (we haven't shipped a release with this in it).

Also create a go file so that we can use constants to keep track of
our port numbers, rather than magic values.
2019-10-14 07:26:27 -04:00
hatappi 3b1c1f1639 fix(apiserver): allow multiple service-account-key-file 2019-10-14 10:52:48 +09:00
Kubernetes Prow Robot 211d272f80
Merge pull request #7760 from tanjunchen/fix-up-unnecessary-newline
remove the unnecessary newline and unused vars
2019-10-13 09:18:36 -07:00
Kubernetes Prow Robot 34c7d5a64a
Merge pull request #7755 from tanjunchen/fix-up-static-error
fix-up staticcheck error
2019-10-13 08:20:35 -07:00
Kubernetes Prow Robot 0c66a304c3
Merge pull request #7754 from tanjunchen/fix-up-gosimple-error
fix-up gosimple check error
2019-10-12 11:18:44 -07:00
Kubernetes Prow Robot c8d9c707b0
Merge pull request #7487 from tioxy/add_event_ttl_flag
Add event ttl flag
2019-10-12 10:34:37 -07:00
Kubernetes Prow Robot cc68e424fe
Merge pull request #7398 from rifelpet/amazon-vpc-cni-153
Upgrade Amazon VPC CNI plugin to 1.5.4
2019-10-11 10:45:41 -07:00
Kubernetes Prow Robot ff1d94c7cb
Merge pull request #7692 from zetaab/kops_ctrl_openstack
Kops controller support for OpenStack
2019-10-11 09:13:41 -07:00
Peter Rifel 699fe56619 Upgrade Amazon VPC CNI plugin to 1.5.4
See: https://github.com/aws/amazon-vpc-cni-k8s/releases/tag/v1.5.4
2019-10-11 07:55:26 -07:00
Ash Rohde 6b9d5d24f0 fixed yum proxy configuration 2019-10-11 14:23:31 +11:00
Thomas Jackson 37455c542f Make all new options omitempty 2019-10-10 14:01:33 -07:00
Thomas Jackson da867e34d3 Add missing tag 2019-10-10 13:31:07 -07:00
Thomas Jackson 85db3dce27 make apimachinery 2019-10-10 13:13:38 -07:00
Thomas Jackson cfcb93e822 Misc fixes 2019-10-10 13:09:22 -07:00
Thomas Jackson 2356959bf4 Update json tag 2019-10-10 13:09:22 -07:00
Thomas Jackson 96b5a488e7 Update alpha versions as well 2019-10-10 13:09:22 -07:00
Thomas Jackson f8c416d6ce Add configs for gossip dns 2019-10-10 13:09:22 -07:00
Michael Wagner bfe9b21213 fix(external-ccm): prevent core components to be misconfigured
Previously when setting the external cloud controller manager
configuration the core components `kubelet`, `apiserver` and
`kubecontroller-manager` were configured to use the external cloud
controller manager. Without setting the feature flag
EnableExternalCloudController this lead to a cluster in which the
masters had the cloud controller taint
`node.cloudprovider.kubernetes.io/uninitialized` which prevents
essential pods, like dns-controller to not be scheduled and leaves a
cluster where worker nodes can't connect to the api server because they
cannot resolve its hostname.
2019-10-10 21:38:50 +02:00
Gabriel Tiossi 6b8af27c37 Add EventTTL codegen
Run apimachinery & crds to generate "zz_generated*" files and to update
cluster crd
2019-10-10 14:23:34 -03:00
Gabriel Tiossi a2c04c71ef Test event-ttl flag
Add inside flagbuilder a new test case to check if event-ttl flag is being
generated properly
2019-10-10 14:23:34 -03:00
Gabriel Tiossi 83dc5df52b Add Event TTL flag
Enable cluster spec to support "event-ttl" flag from kube-apiserver to
change event retention time
2019-10-10 14:23:34 -03:00
tanjunchen 279c429abd remove the unnecessary newline and unused vars 2019-10-08 22:43:10 +08:00
Guangming Wang c295a49bb1 replace slice loop with append for simple and clear
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-08 20:21:09 +08:00
tanjunchen 28fdb358f8 fix-up staticcheck error 2019-10-08 13:53:04 +08:00
Kubernetes Prow Robot bd87584537
Merge pull request #7751 from justinsb/support_compressed_transfer
nodeup download: try to use compression
2019-10-06 23:03:11 -07:00
tanjunchen 43bf6bdab6 fix-up gosimple check error 2019-10-07 11:59:57 +08:00
Kubernetes Prow Robot 21240d9da4
Merge pull request #7744 from tanjunchen/fix-up-code-bug
fix-up some staticcheck error
2019-10-06 11:45:08 -07:00
tanjunchen 8fe36dc72c fix-up some staticcheck error 2019-10-06 10:40:13 +08:00
Justin SB 1a7bb9d21e
Update expected test output 2019-10-05 16:40:31 -04:00
Justin SB 5d8f680c12
nodeup download: try to use compression
We pass the appropriate flag to curl / wget, but where it fails we
fall back to not using compression.

Also simplify the code paths here, as it has proven so tricky - we
simply try a sequence of commands until we successful download and a
hash match.
2019-10-05 16:40:01 -04:00
tanjunchen 119e36be29 simplfy code 2019-10-04 22:19:08 +08:00
Kubernetes Prow Robot f671873629
Merge pull request #7652 from OpenSource-THG/master
Openstack block device mapping support
2019-10-03 14:27:56 -07:00