Commit Graph

694 Commits

Author SHA1 Message Date
Ilya Dmitrichenko 17a2c47495
Separate subnet utils into a standalone package 2018-10-26 12:01:47 +01:00
Rongxiang Song 04b6817627 fix typo in comments 2018-10-24 15:45:13 +08:00
k8s-ci-robot 2a260791c0
Merge pull request #5935 from gambol99/ipvs_options
IPVS Options
2018-10-15 14:21:11 -07:00
Liran Polak eec98c63c3 fix: generate conversion functions (apimachinery) 2018-10-14 11:37:31 +03:00
Liran Polak 46b1c70b96 fix: ignore additional instance types 2018-10-14 11:37:31 +03:00
Liran Polak 7654a923f1 feature: new integration: spotinst 2018-10-14 11:37:31 +03:00
Rohith dd43b1b542 - adding a basic check in the network cidrs supplied 2018-10-12 22:55:30 +01:00
Rohith 380cadd178 IPVS Options
- adding the additional ipvs options to the kube proxy configuration
2018-10-12 22:40:50 +01:00
SataQiu 957b6fa8a6 fix some typos 2018-10-12 16:05:28 +08:00
Rohith fe07a814e2 Service Address Check
The current implementation assumes you have specified a service address within your config rather than using being filled in by the defaults. This PR only checks when service address has been specified. Alternatively if people feel that this should be 'enforce' at the very least we should check the reference is not nil so we dont throw a panic.
2018-10-11 18:54:56 +01:00
SataQiu d4904f8fac fix some typos 2018-10-10 16:19:36 +08:00
Justin Santa Barbara 26ed46e0be
Merge pull request #5890 from captainkerk/add-target-ram-mb-option
add targetRamMb to kubeAPIServer spec
2018-10-09 00:45:36 -04:00
k8s-ci-robot 12930a6559
Merge pull request #5885 from mooncak/fix_typos
Fix typos issues
2018-10-08 20:02:16 -07:00
captainkerk d132577e21 add targetRamMb to kubeAPIServer spec 2018-10-09 01:46:18 +00:00
k8s-ci-robot 2cfb62bd79
Merge pull request #5832 from captainkerk/max-mutating-requests-inflight
add support for max-mutating-requests-inflight parameter
2018-10-08 18:01:12 -07:00
mooncake 6d9fdab145 Fix typos issues
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-07 10:11:54 +08:00
k8s-ci-robot 7b4133c823
Merge pull request #5812 from arturo-c/weave
Add no_masq_local to weave network options.
2018-10-05 16:55:53 -07:00
captainkerk beb8aebe06 add support for max-mutating-requests-inflight parameter 2018-10-04 05:40:28 +00:00
k8s-ci-robot 9c851ddcda
Merge pull request #5867 from gambol99/node_mode_controllers
Node mode controllers
2018-10-03 06:12:45 -07:00
k8s-ci-robot b3d61542cd
Merge pull request #5820 from justinsb/etcd_manager_channels_step1
etcd: introduce field to specify whether we are using etcd-manager or legacy mode
2018-10-02 14:20:37 -07:00
k8s-ci-robot c97ad57679
Merge pull request #5744 from rdrgmnzs/security_groups
Allow using existing/shared Security Groups
2018-10-02 11:47:28 -07:00
Rohith 2e514a3931 - changing the controller option to a slice as empty slices are ignored
anyhow.
2018-10-02 18:20:58 +01:00
Rodrigo Menezes a82f548ff8 Allow using existing/shared Security Groups
Verbosely log when a user overwrites LB or IG security groups

Change SecurityGroup to SecurityGroupOverride

Allow using existing/shared Security Groups

Update tests
2018-10-02 00:51:39 -07:00
Justin Santa Barbara 54c499fe9b Introduce field to specify whether we are using etcd-manager or legacy mode
Splitting this out from the bigger bundle PR
2018-10-01 15:36:24 -07:00
Rohith 806b0cbb06 Controller Manager Flag
- adding the controller manager flag as this default to bootstrapsigner, tokencleaner disabled
2018-10-01 20:58:38 +01:00
Justin Santa Barbara 62e8e17077 Code fixes for k8s 1.11 API changes 2018-09-28 20:14:45 -04:00
Justin Santa Barbara 68418eb036 regenerate apimachinery 2018-09-28 20:14:45 -04:00
Arturo Contreras c105541053 Autogen code for weave no_masq_local. 2018-09-21 13:26:53 -06:00
k8s-ci-robot a300c2aa4c
Merge pull request #5106 from ExtraHop/hook-raw-manifest
Add `useRawManifest` hook option to install `manifest` as a hook unmodified
2018-09-21 09:23:00 -07:00
Justin Santa Barbara c56bfcc14b Protect against panic when networking is not set
This is particularly likely to happen with `kops create -f -`
2018-09-18 11:26:32 -04:00
Thanabodee Charoenpiriyakij 49b203e126 Fixes go vet complains
When try `make govet` on `go1.11beta1`. It complains many things
related to invalid string formatting:

```
pkg/kubemanifest/visitor.go:35: Verbose.Infof format %s has arg v of wrong type bool
pkg/kubemanifest/visitor.go:40: Verbose.Infof format %s has arg v of wrong type float64
upup/pkg/fi/cloudup/alitasks/disk.go:76: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/alitasks/disk.go:91: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/alitasks/launchconfiguration.go:89: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/alitasks/loadbalancer.go:71: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/alitasks/loadbalancer.go:125: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/alitasks/scalinggroup.go:71: Verbose.Info call has possible formatting directive %q
dns-controller/pkg/dns/dnscontroller.go:603: Verbose.Infof format %s has arg records of wrong type []dns.Record
dns-controller/cmd/dns-controller/main.go:184: Verbose.Info call has possible formatting directive %q
pkg/acls/s3/storage.go:62: Verbose.Infof format %q arg u.String is a func value, not called
pkg/apis/kops/validation/validation_test.go:199: T.Fatalf format %q has arg config of wrong type *k8s.io/kops/pkg/apis/kops.DockerConfig
pkg/resources/aws/aws.go:1306: Warning call has possible formatting directive %q
pkg/resources/aws/aws.go:1313: Warning call has possible formatting directive %v
upup/pkg/fi/cloudup/aliup/ali_cloud.go:218: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/cloudup/aliup/ali_cloud.go:290: Verbose.Info call has possible formatting directive %q
upup/pkg/fi/fitasks/keypair.go:266: Errorf format %q has arg e.Name of wrong type *string
upup/pkg/fi/files_owner.go:56: Infof format %s has arg group of wrong type *fi.Group
upup/pkg/fi/users.go:57: Warning call has possible formatting directive %q
upup/pkg/fi/users.go:63: Warning call has possible formatting directive %q
upup/pkg/fi/users.go:68: Warning call has possible formatting directive %q
upup/pkg/fi/users.go:129: Warning call has possible formatting directive %q
upup/pkg/fi/users.go:135: Warning call has possible formatting directive %q
upup/pkg/fi/nodeup/nodetasks/file.go:313: Errorf format %q has arg e.Mode of wrong type *string
upup/pkg/fi/cloudup/awsup/aws_cloud.go:1021: Warningf format %q reads arg #2, but call has 1 arg
upup/pkg/fi/cloudup/awsup/aws_cloud.go:1025: Warningf format %q reads arg #2, but call has 1 arg
```
2018-08-22 22:48:22 +07:00
Eric Hole c2778b4e69 First pass validation on image type 2018-08-17 09:49:01 -07:00
Eric Hole 1bcfc94878 Failing test for nvme images 2018-08-17 09:48:53 -07:00
Justin Santa Barbara e10124e5f8 Validate that require-kubeconfig is not passed after 1.10
This should alert users that are manually specifying old flags - I
suspect that a few of the upgrade failures are due to users that are
running with clusters captured from `kops get cluster --full`, and
this will detect that.

Issue #5459
2018-08-14 19:44:35 -04:00
Justin Santa Barbara b208bd44b3 Create ExperimentalClusterDNS feature flag
This currently just turns off validation of the kubelet cluster dns
flag, which should allow for experimenting with more complicated DNS
configurations such as local proxies, which may address shortcomings
of DNS retries with UDP.

Issue #5584
2018-08-14 14:59:20 -04:00
k8s-ci-robot 8905f5d4c1
Merge pull request #5596 from robermorales/node-cidr-mask-size
Ability to configure `--node-cidr-mask-size` into `kube-controller-manager`
2018-08-13 13:32:01 -07:00
Rober Morales-Chaparro 2a52afcb3d Ability to configure `--node-cidr-mask-size` into `kube-controller-manager` 2018-08-10 12:20:16 +02:00
Levi Blackstone 736516e8de
Move CloudProviderID consts into a block
Alphabetize and create a const block for better readability
2018-08-09 15:28:02 -06:00
k8s-ci-robot 67df8e80d0
Merge pull request #5541 from justinsb/validate_additional_policies
Validate IAM additionalPolicies
2018-07-27 22:38:57 -07:00
Justin Santa Barbara 8f15a58e8c Validate IAM additionalPolicies
We now validate them with the cluster, so we should give early and
clear feedback if the IAM policy is not valid.
2018-07-27 15:22:24 -04:00
Mike Splain abb88b43fe CloudProvider is defined in the Cluster Spec.
CloudProvider can be set at the kubelet level, however
if the user overrides kubelet values, CloudProvider isn't always
set at this point, leading to an error.
2018-07-27 10:16:06 -04:00
Ian Hoegen 0fbba7fa6e Move AuthenticationTokenWebhook flag from api to kubelet, add authentication-token-webhook-cache-ttl to kubelet as well 2018-07-24 11:05:50 -07:00
Rob Graham 4b07a07ad5 Merge branch 'master' into issue-4252-dns 2018-07-23 14:00:09 +01:00
Rob Graham 8ccf42f4a2 GH-4252 Better name for the config value and also add to v1alpha1 API 2018-07-23 13:48:35 +01:00
Rodrigo Menezes 74e8973c6c Fix based on Justins suggestion 2018-07-20 12:25:23 -07:00
Rodrigo Menezes 218d90632c api machinery 2018-07-20 12:17:30 -07:00
Rodrigo Menezes e8476499b0 Allow other CNI drivers to bind a hosts Primary IP 2018-07-20 12:16:38 -07:00
Christian Jantz 2c34342851 regenerated apimachinery to have tests work again 2018-07-20 13:12:56 +02:00
Justin Santa Barbara 630ea429ae
Merge pull request #4677 from usabilla/external-load-balancers
Add the ability to specify external loadbalancers for instancegroups
2018-07-19 21:54:00 -04:00
k8s-ci-robot a92ee38741
Merge pull request #5467 from rdrgmnzs/kubelet_root-dir
Allow users to set the kubelets root dir.
2018-07-19 13:49:37 -07:00