Commit Graph

258 Commits

Author SHA1 Message Date
Rohith de977e627e Customize KubeDNS
This PR adds the ability for users to customize the kubedns upstream nameservers and provider stubdomains, as per [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/)
2018-05-13 17:08:56 +01:00
Stephen McQuay (smcquay) 04c11577d4
check in generated code
I followed instructions found here:

https://github.com/kubernetes/kops/blob/master/docs/development/api_updates.md

updated the previous commit, and am adding the output from:

    make apimachinery

after validating that the project builds as expected.
2018-05-10 09:06:57 -07:00
Justin Santa Barbara 88023a3186 Update generated code 2018-04-18 20:38:44 -04:00
Sergey Lanzman b5d7363cf1 AWS: etcd volume provisioned IOPS support 2018-04-02 02:04:18 +03:00
Kashif Saadat ae6b4a0c04 apimachinery run to update generated files for EtcdQuorumRead flag 2018-03-27 15:23:07 +01:00
k8s-ci-robot fc1bed4353
Merge pull request #4224 from nebril/cilium-support
Add Cilium as CNI plugin
2018-03-26 07:49:02 -07:00
devops d734f35126 Add support for instance monitoring
Add API backward comptability

Add api generated files

documenting detailed-monitoring

instance-group json typo

Update test expected result
to support enable_monitroing

Add instance-monitroing support to CF

Improve doc, test and rename InstanceMonitoring

Rename instnace-monitoring to fit the YAML kops form

typo detailedInstanceMonitoring
2018-03-21 23:06:38 +02:00
Maciej Kwiek 4575fc200e make apimachinery generated changes
Signed-off-by: Maciej Kwiek <maciej@covalent.io>
2018-03-20 13:07:36 +01:00
Justin Santa Barbara f4990e663e Make addon specification into an object
This allows for future extensions
2018-02-28 00:33:50 -05:00
Chris Phillips 52b267a352 apimachinery generated code 2018-02-28 00:33:50 -05:00
so0k 57b312beb7 Run apimachinery 2018-02-27 20:42:56 +08:00
k8s-ci-robot a9ec4d1dd0
Merge pull request #4497 from jaipradeesh/dockerd-tcp
docker: Adds hosts configuration option
2018-02-26 11:36:45 -08:00
k8s-ci-robot b2c161111f
Merge pull request #4505 from gambol99/reordering
DockerConfig Order
2018-02-25 22:55:43 -08:00
k8s-ci-robot aa6e801e18
Merge pull request #3829 from mikesplain/suspendAZRebalance
Add Instance Group Suspend Processes
2018-02-25 22:20:52 -08:00
Justin Santa Barbara bab4f07678 Add cidr-allocator-type flag to kcm and ccm 2018-02-25 00:52:28 -05:00
Rohith ff8eabf51b DockerConfig Order
- Just reordering the variable; i'm somewhat OCD on alphabetical sorting
2018-02-24 10:15:36 +00:00
Jaipradeesh e1074d98ff docker: Adds hosts configuration option
Enables dockerd to run on a TCP port along with the
default unix socket

Signed-off-by: Jaipradeesh <jaipradeesh@gmail.com>
2018-02-24 12:54:37 +05:30
Justin Santa Barbara dde7600dae Initial support for standalone etcd-manager backups
The etcd-manager will (ideally) take over etcd management.  To provide a
nice migration path, and because we want etcd backups, we're creating a
standalone image that just backs up etcd in the etcd-manager format.

This isn't really ready for actual usage, but should be harmless because
it runs as a sidecar container.
2018-02-20 20:06:08 -05:00
Justin Santa Barbara 603b16876d Update apimachinery codegen 2018-02-20 10:43:05 -05:00
Mike Splain fdc2695fe1 Add suspendProcesses to IGs 2018-02-20 09:30:18 -05:00
k8s-ci-robot 9ca765932f
Merge pull request #4169 from GrupoZapVivaReal/master
Add live-restore flag to docker config
2018-02-13 07:12:49 -08:00
Chris Phillips 99830c4823 api machinery for weave connection limit 2018-02-07 09:52:13 -08:00
Marcio Rodrigues fa2a69dc08 generated code by apimachinery 2018-02-05 17:42:19 -02:00
Justin Santa Barbara 36fbf99631 apimachinery: codegen for new version 2018-02-03 21:41:18 -05:00
Justin Santa Barbara 7dfca05c09 Remove federation support
As it has been removed from upstream kubernetes, in favor of the
multicluster revamp.
2018-02-03 16:53:39 -05:00
Martyn Ranyard e0200fbe95 Add TerraformProviderExtraConfig to cluster spec 2018-01-31 11:33:49 +01:00
Brian Schultz e25ae6f776 Ran goimports make target 2018-01-09 13:55:24 -06:00
Brian Schultz 93a33bc70b Expose the --fail-swap-on flag for kubelet 2018-01-09 11:08:23 -06:00
Kubernetes Submit Queue fb6725a7c7
Merge pull request #4060 from audip/feature/add-audit-log-format-flag
Automatic merge from submit-queue.

Add audit log format flag for api server

In kubernetes 1.8, a flag for audit-log format has been added, this flag can be set to `legacy` or `json` format on the kubernetes API server.
2017-12-21 10:52:31 -08:00
Purandare, Aditya 9900c8afeb
Add auditlogformat flag for kubernetes api server 2017-12-21 11:31:12 -06:00
Kubernetes Submit Queue 2eae62d460
Merge pull request #4085 from xoen/ag-oidc-prefixes-config
Automatic merge from submit-queue.

Support for OIDC 'username-prefix' and 'groups-prefix' flags

### What
Added support for `--oidc-username-prefix` and `--oidc-groups-prefix`.
By passing these it's possible to override the default prefixes used to map the OIDC user with the username in kubernetes.

### See
See: https://kubernetes.io/docs/admin/authentication/#configuring-the-api-server

### IMPORTANT
I'm far from a kubernetes/KOPS, this is not tested so someone needs to have a look and see if something is missing or if this can cause troubles! (don't want to accidentally cause the destruction of the universe 💥 )

It's basically the same done in this other PR: https://github.com/kubernetes/kops/pull/1438/files

I did **not** change the `zz_generated.conversion.go` files as according to comment at the top of them they're autogenerated:
```go
// This file was autogenerated by conversion-gen. Do not edit it manually!
```
(I wonder if they should be `.gitignore`d)

### Fixes
This should fix [#4007: field oidcUsernamePrefix is not recognized in cluster configuration file](https://github.com/kubernetes/kops/issues/4007)
2017-12-18 09:37:31 -08:00
Aldo "xoen" Giambelluca 9e30999d06 Support for OIDC 'username-prefix' and 'groups-prefix' flags
See: https://kubernetes.io/docs/admin/authentication/#configuring-the-api-server

This is very similar to this other PR: https://github.com/kubernetes/kops/pull/1438/files

I also updated the format of the documentation for the OIDC API Server fields
to follow the Go Style guide: https://blog.golang.org/godoc-documenting-go-code

Fixes: https://github.com/kubernetes/kops/issues/4007
2017-12-18 15:34:37 +00:00
Manuel de Brito Fontes 2e05dd17aa Add support for Amazon VPC CNI plugin 2017-12-17 18:08:24 -03:00
Kubernetes Submit Queue d533714aa8
Merge pull request #4036 from almariah/feature-api-elb-security-groups
Automatic merge from submit-queue.

Allow additional SGs to be added to API loadbalancer

Allow adding precreated additional security groups to the API loadbalancer using cluster spec:
```yaml
spec:
  api:
    loadBalancer:
      type: Public
      additionalSecurityGroups:
      - sg-exampleid3
      - sg-exampleid4
```

- [x] Adding additionalSecurityGroups cluster spec
- [x] Adding validation for repeated security groups
- [x] Adding validation for API loadbalancer security groups
- [x] Integration test for API loadbalancer and its security groups
- [x] Update API docs and cluster.spec docs
2017-12-14 02:25:40 -08:00
Kubernetes Submit Queue 0d837bcea8
Merge pull request #3947 from chrislovecnm/goimports
Automatic merge from submit-queue.

updating goimports
2017-12-13 19:25:43 -08:00
Abdullah Almariah 1dbc6064a5 Allow additional SGs to be added to API loadbalancer 2017-12-11 15:24:08 +01:00
chrislovecnm fc9caea827 updating goimports 2017-11-28 11:34:28 -07:00
Rodrigo Menezes 2594d382ae Merge remote-tracking branch 'upstream/master' into additional_cidr 2017-11-27 23:30:42 -08:00
King'ori Maina 28ff1bfe06
Add API machinery generated code 2017-11-27 23:12:33 +02:00
Rodrigo Menezes d7378fc10d Add additionalNetworkCIDRs to support VPCs with multiple CIDRs in AWS 2017-11-21 00:47:22 -08:00
Rohith 4816ed5e36 DNS Controller Optional
The current implementation requires enforces a dns-controller is running; given the user can switch the make the kube-apiserver server Internal and then reuse the dns for the masterInternalName; this effectlively removes the need to run the service (assuming your not using it for pods, node and service dns)

- adding a disableDnsController to the ExternalDNS spec provides a toggle on the addon (name is definitely up for debate)
- the default behaviour remains, the dns-controller is always pushed as an addon
2017-11-20 22:06:50 +00:00
chrislovecnm 6c2caedfc0 updating api docs 2017-11-14 16:07:50 -07:00
Kubernetes Submit Queue d69e962fcd
Merge pull request #3805 from flugel-it/master
Automatic merge from submit-queue.

FeatureGates support in all the components

Adding --feature-gates for all the Kubernetes components.
2017-11-10 09:08:37 -08:00
Kubernetes Submit Queue f86367ac7d
Merge pull request #3815 from chrislovecnm/san-api-update
Automatic merge from submit-queue.

san api update

Missed api update.

/assign @geojaz @andrewsykim
2017-11-10 03:55:49 -08:00
Rodrigo Menezes ef24cec62b Fixing naming convention and adding running API machinery. 2017-11-09 14:30:48 -08:00
chrislovecnm 61cff4dfcf updating missed api machinery 2017-11-09 14:31:40 -07:00
Rodrigo Menezes 1fe56a1603 Move user-data to IG spec 2017-11-06 23:25:37 -08:00
Diego Woitasen eff369bb71 featureGates support in KubeAPIServerConfig, KubeControllerManagerConfig and KubeSchedulerConfig. 2017-11-06 16:16:24 -03:00
chrislovecnm 4711d1596e update to imports that apimachinery is doing now automatically 2017-10-27 14:28:48 -06:00
Kubernetes Submit Queue aab00d7dc3 Merge pull request #3699 from brdude/disable_kube-proxy
Automatic merge from submit-queue.

Allow disabling kube-proxy

This adds the ability to turn off kube-proxy.

My specific use case is the usage of a custom CNI.
2017-10-26 23:05:57 -07:00
Manatsawin Hanmongkolchai a708919bf4 Generate scheduler policy by dynamic cluster addons 2017-10-27 08:56:07 +07:00
Rodrigo Menezes 1edd99ccc1 Allow disabling kube-proxy 2017-10-25 14:23:58 -07:00
Kubernetes Submit Queue 8df13bd468 Merge pull request #3679 from justinsb/support_api_aggregation
Automatic merge from submit-queue.

Initial aggregation work

Create the keypairs, which are supposed to be signed by a different CA.
    
Set the `--requestheader-...` flags on apiserver.
    
Fix #3152
Fix #2691
2017-10-24 12:08:27 -07:00
Justin Santa Barbara a879521ba3 Initial aggregation support
Create the keypairs, which are supposed to be signed by a different CA.

Set the `--requestheader-...` flags on apiserver.

Fix #3152
Fix #2691
2017-10-22 14:41:38 -04:00
Kubernetes Submit Queue 794e12dc52 Merge pull request #3675 from mschurenko/add-etcd-settings-to-nodeup-and-protokube
Automatic merge from submit-queue.

Add etcd settings to nodeup and protokube

This adds etcd settings for leader timeout and heartbeat interval to protokube. It uses the additions to `EtcdClusterSpec` that were given the go ahead in https://github.com/kubernetes/kops/pull/3663

@chrislovecnm 
@robinpercy
2017-10-20 20:10:00 -07:00
Mike Splain 8549e8e7ff Add HorizontalPodAutoscalerSyncPeriod for kubeControllerManager 2017-10-19 17:57:33 -04:00
Matt Schurenko 90c7ccb6c8 adding etcd settings to EtcdClusterSpec 2017-10-18 18:29:00 -04:00
Justin Santa Barbara 4b328e67a7 New apimachinery codegen 2017-10-01 13:53:42 -04:00