Commit Graph

252 Commits

Author SHA1 Message Date
Marc-Andre Belanger 5c2bb57489 trying float 64 as float 32 was not used in this 2019-01-18 13:39:53 -05:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 292b3a8589 Storage config for openstack cloud config 2019-01-18 11:39:39 -07:00
Marc-Andre Belanger 3ed0472410 fixed references 2019-01-18 12:56:54 -05:00
Marc-Andre Belanger 5c96c8775c fixed c&p mistake 2019-01-18 12:38:29 -05:00
Marc-Andre Belanger f77d51b9ef fixed c&p mistake 2019-01-18 12:22:59 -05:00
Marc-Andre Belanger a6145a2dbf added webhook config to ApiServer 2019-01-18 12:18:08 -05:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) eb256593bc Setting project ID as well in cloudconfig. Using loadbalancerID in cloudconfig. Retrieving instance IP from openstack in protokube. 2019-01-18 10:17:14 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) fc740dbba3 Adding ability to specify to create_cluster openstack external network by name 2019-01-17 11:43:08 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 8e353028bc Openstack ComponentConfig Documentation and Generated Functions 2019-01-16 09:17:49 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) fb0939af9b Openstack Model, tasks, and cloud ops refactor 2019-01-15 14:16:08 -07:00
Justin SB 26bd75aecb
Bulk spelling fixes
Experimenting with my own spelling checker, these are the typos it caught.
2018-12-20 17:43:56 -05:00
Rodrigo Menezes 7b6214577e fix typo 2018-12-07 02:03:05 -08:00
Rodrigo Menezes 7231c20f60 ExperimentalAllowedUnsafeSysctls has moved to AllowedUnsafeSysctls in k8s 1.11 2018-12-07 00:20:32 -08:00
Rich Lees 15f0fb7187 Enable HPA tolerance configuration pass 1 2018-11-29 15:59:57 +00:00
fernando.carletti 4b27e6c8ee
Add flag to disable Basic Auth. 2018-10-16 19:04:38 -05: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 7654a923f1 feature: new integration: spotinst 2018-10-14 11:37:31 +03:00
Rohith 380cadd178 IPVS Options
- adding the additional ipvs options to the kube proxy configuration
2018-10-12 22:40:50 +01:00
captainkerk d132577e21 add targetRamMb to kubeAPIServer spec 2018-10-09 01:46:18 +00:00
captainkerk beb8aebe06 add support for max-mutating-requests-inflight parameter 2018-10-04 05:40:28 +00:00
Rohith 2e514a3931 - changing the controller option to a slice as empty slices are ignored
anyhow.
2018-10-02 18:20:58 +01: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
Rober Morales-Chaparro 2a52afcb3d Ability to configure `--node-cidr-mask-size` into `kube-controller-manager` 2018-08-10 12:20:16 +02: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
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
Rodrigo Menezes 0cc45db5b1 Allow users to set the kubelets root dir. 2018-07-19 10:59:06 -07:00
Mike Splain 188824cba0 Add configurable conntrack settings 2018-07-18 12:11:30 -04:00
Erik Berdonces Bonelo fdeed33719 Add --min-request-timeout flag in kube-APIServer 2018-07-13 10:29:30 +02:00
Ripta Pasay 5f2f031f6d Add dockerDisableSharedPID to kubelet config 2018-07-02 17:17:12 -07:00
Rohith 9e7b15d01b Aggregator Routing Option
- adding the enable-aggregator-routing option to the kube-apiserver
2018-06-19 23:18:34 +01:00
Rohith d2bae64dd1 - adding the enable-bootstrap-token-auth to the kubeapi and fixing up the various compoents 2018-06-11 09:57:26 +01:00
Rohith 4531384649 This PR attempts to solve two issues
a) The current implementation use's a static kubelet which doesn't not conform to the Node authorization mode (i.e. system:nodes:<nodename>)
b) As present the kubeconfig is static and reused across all the masters and nodes

The PR firstly introduces the ability for users to use bootstrap tokens and secondly when enabled ensure the kubelets for the masters as have unique usernames.  Note, this PR does not attempt to address the distribution of the bootstrap tokens themselves, that's for cluster admins. One solution for this would be a daemonset on the masters running on hostNetwork and reuse dns-controller to annotated the pods and give as the DNS

Notes:
- the master node do not use bootstrap tokens, instead given they have access to the ca anyhow, we generate certificates for each.
- when bootstrap token is not enabled the behaviour will stay the same; i.e. a kubelet configuration brought down from the store.
- when bootstrap tokens are enabled, the Nodes sit in a timeout loop waiting for the configuration to appear (by third party).
- given the nodeup docker and manifests builders are executed before the kubelet builder, the assumption here is a unit file kicks of a custom container to bootstrap the rest.
- the current firewalls on between the master and nodes are fairly open so no need to open ports between the two
- much of the work was ported from @justinsb PR [here](https://github.com/kubernetes/kops/pull/4134/)
- we add a very presumptuous server and client certificates for use with an authorizer (node-bootstrap-internal.dns_zone)

I do have an additional PR which performs the entire thing. The process being a node_authorizer which runs on the master nodes via a daemonset, the service implements a series of authorizers (i.e. alwaysallow, aws, gce etc). For aws, the process is similar to how vault authorizes nodes [here](https://www.vaultproject.io/docs/auth/aws.html). Nodeup no then calls out to the node_authorizer on bootstrap and provisions the kubelet.
2018-06-11 09:56:32 +01:00
Tomas Virgl 6c9a948ebc Enable override bind address for kube-proxy.
When using kube-proxy in userspace mode, you have to bind to primary ip address of underlying machine.
2018-06-06 19:46:17 -07:00
k8s-ci-robot 8f91621687
Merge pull request #5231 from ihoegen/auth-token-webhook
Add AuthenticationTokenWebhook flag
2018-05-31 23:56:57 -07:00
Justin Santa Barbara 53bf6ea6ad Replace deprecated flags: address -> insecure-bind-address 2018-05-31 23:23:33 -04:00
Ian Hoegen 1d9c446499 Add AuthenticationTokenWebhook flag 2018-05-31 20:14:56 -07:00
Justin Santa Barbara 9a49ed051a Fix typo: "to user" -> "to use" 2018-05-31 11:58:13 -07:00
Ripta Pasay d9252a1cab Incorporate admission plugin flags when determining whether an admission controller is enabled or not 2018-05-29 16:42:23 -07:00
Ripta Pasay dfa4190cb5 Add --enable-admission-plugins API server flag, deprecating --admission-control in v1.10 2018-05-29 16:42:23 -07:00
Ali Rizwan 375a5b03e1 kubelet expose --streaming-connection-idle-timeout 2018-05-14 11:09:44 +02:00
Stephen McQuay (smcquay) 83e485ea8d
kublet: expose --experimental-allowed-unsafe-sysctls
This fixes #2828.
2018-05-10 09:06:56 -07:00
Christian Jantz 33845ebd43 Added tls certificate and private key path flags to kubelet config 2018-05-01 17:44:09 +02:00
k8s-ci-robot 22a34586cc
Merge pull request #3498 from gambol99/psp
Pod Security Policies
2018-04-10 07:43:09 -07:00
Christian Jantz 8c3a2b7a87 added authorization-mode flag to kubernetes component configs 2018-04-05 13:06:54 +02:00
Rohith e8e3ac0c91 Pod Security Policies
The current implementation doesn't work with PodSecurityPolicies enabled due to no psp policies. This PR adds a default psp policy for the kubelet users and and the kube-system namespace
2018-04-04 17:43:11 +01:00
Sergey Lanzman e5b24f15d7 add proxy mode flag to kube-proxy 2018-04-02 10:07:37 +03:00
Haoyun 33d087a894
fix some grammar mistakes
fix some grammar mistakes
2018-03-27 09:18:10 +08:00
Justin Santa Barbara 2bccf880d2 etcd-quorum-read flag: explicitly default to off for v2
Kubernetes 1.9 changed the default for etcd-quorum-read flag value to
true, in the hope of fixing some of the edge-case controller issues.

However, while this is cheap on etcd3, that fix was not backported to
etcd2, and performance there of quorum reads is poor.

For non-HA clusters with etcd2, it still goes through raft, but does not
need to - we set etcd-quorum-read to false, as this is just a missed
optimization in etcd2.

For HA clusters with etcd2, it's trickier, but at least for now we're
going to avoid the (crippling) performance regression.  kops 1.10 should
have etcd-manager (allowing upgrades to etcd3), and the ability to
configure IOPS on the etcd volume, so we can revisit this in 1.10 /
1.11.
2018-03-25 19:08:05 -04:00
AdamDang 2e30b4d391
Fix a mistake in componentconfig.go
in line 337: "ReconcilerSyncLoopPeriod" should be replaced with "AttachDetachReconcileSyncPeriod"
2018-03-13 20:38:10 +08:00
Horace Heaven 13244a5ce8 Kube-proxy API to accept cpu: limit, mem: request and limit 2018-02-28 15:26:19 -04:00
so0k a08fdef6e2 Fix flag type 2018-02-27 08:09:50 +08:00
so0k bb2f79eed4 Add node monitor flags 2018-02-27 08:07:27 +08:00
Justin Santa Barbara bab4f07678 Add cidr-allocator-type flag to kcm and ccm 2018-02-25 00:52:28 -05:00
Fernando Battistella 9aa185c5e7 Change FeatureGates to omitempty under KubeProxyConfig
Fixes #4499
2018-02-22 14:20:04 -05:00
Ian Hoegen 37c3ac3784 Add max-requests-inflight flag, along with docs 2018-02-13 13:34:48 -08: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
Isac Petruzzi 92abe3676f capitalize imagePullProgressDeadline in docstrings 2017-12-17 18:35:09 +01:00
Isac Petruzzi 2dfa262b3b add imagePullProgressDeadline to kubelet config 2017-12-12 12:02:10 +01:00
King'ori Maina 2d59315b96
Map horizontal-pod-autoscaler-use-rest-clients flag 2017-11-27 21:41:27 +02:00
David 38591d9659
Fix Autoscaling flag on Controller Manager Config
According to https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-cooldowndelay

The `HorizontalPodAutoscalerUpscaleDelay` flag value should be `horizontal-pod-autoscaler-upscale-delay` and not `horizontal-pod-autoscaler-downscale-delay`
2017-11-16 12:26:29 +00:00
Johannes 'fish' Ziemke 917e9dec38 Add HPA up/downscale delay 2017-11-13 15:50:37 +01:00
Diego Woitasen 5509247488 featureGates support in KubeAPIServerConfig, KubeControllerManagerConfig and KubeSchedulerConfig. 2017-11-05 13:03:43 -03:00
Kubernetes Submit Queue cc4d4c437b
Merge pull request #3692 from gambol99/audit_policy
Automatic merge from submit-queue.

Audit Policy File

The current implementation doesn't allow users to set the [advanced audit policy](https://v1-7.docs.kubernetes.io/docs/tasks/debug-application-cluster/audit/#advanced-audit) location. Note, the file contents can be pushed by a [FileAsset](https://v1-7.docs.kubernetes.io/docs/tasks/debug-application-cluster/audit/#advanced-audit) a sample given below .... Or do we want an explicit secret for this? .. 

```YAML
fileAssets:
- name: audit-policy.conf
  path: /srv/kubernetes/audit-policy.conf
  roles: [Master]
  content: |
    some_content
```
related to https://github.com/kubernetes/kops/issues/3672
2017-10-28 17:44:39 -07: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
Rohith e995c7b98e Audit Policy File
Extending the KubeAPI component config to allow setting the audit-policy-file
2017-10-26 22:08:37 +00: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
Mike Splain 8549e8e7ff Add HorizontalPodAutoscalerSyncPeriod for kubeControllerManager 2017-10-19 17:57:33 -04:00
Manatsawin Hanmongkolchai 78023ba0df Updated PolicyConfigMap comment 2017-10-10 09:10:05 +07:00
Manatsawin Hanmongkolchai 091e87eb4f Added PolicyConfigMap and PolicyConfigMapNamespace to KubeSchedulerConfig 2017-10-10 09:10:04 +07:00
Kubernetes Submit Queue 6a238539e0 Merge pull request #3368 from georgebuckerfield/enable-data-encryption
Automatic merge from submit-queue. .

Support encryption-at-rest for the kube-apiserver

This PR adds support for enabling encryption-at-rest for data in etcd, via the kube-apiserver (as per https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data).

I've put the functionality behind a feature flag, `+EnableDataEncryption`. It can then be enabled per-cluster by using `--enable-encryption-config` on the command line, or by adding a `kubeEncryptionConfig` section to the cluster spec. This is passed through to the kube-apiserver by the nodeup process. I'm not sure if this is the best way of doing it right now, but it is working.

Fixes #3356.
2017-09-22 17:56:44 -07:00
georgebuckerfield da36425dfb Enable support for encryption-at-rest
- add a new kops secret command to store encryption config
- add the experimential-encryption-provider-config flag to the kube-apiserver
- add functionality to nodeup to create the stored encryption config in the correct path
2017-09-22 17:14:51 +01:00
wlan0 0d91badd8f Add apimachinery changes to enable cloud controller manager
This is part I of multi part Pull Request to enable the
cloud-controller-manager through kops. This specific PR introduces the
cloud-controller-manager api, and puts it behind a feature flag.

Please feel free to merge this.
2017-09-21 10:01:09 -07:00
Robin Percy e1b20c0217 Added ability to set --service-node-port-range on kube-apiserver 2017-09-07 17:01:15 -07:00
Kubernetes Submit Queue 0e48620975 Merge pull request #3302 from gambol99/kubelet_options
Automatic merge from submit-queue

Additional Kubelet Options

This PR add additional options to the kubelet spec allowing users to set the --runtime-request-timeout and -volume-stats-agg-period

In related to issue https://github.com/kubernetes/kops/issues/3265
2017-08-29 14:32:55 -07:00
Rohith bf5e154225 Additional Kubelet Options
In related to issue https://github.com/kubernetes/kops/issues/3265
2017-08-29 08:44:25 +01:00
Rohith 9bbe569f3c Kubelet Readonly Port
The current implementaton does not permit the user to specify the kubelet read-only port (which unset defaults to 10255). Note security reasons we need this port switched off i.e. 0. This PR retains the default behaviour but adds the readOnlyPort as an options for those whom need to override.

   podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
   podManifestPath: /etc/kubernetes/manifests
+  readOnlyPort: 0
   registerSchedulable: false
   requireKubeconfig: true
2017-08-28 20:53:36 +01:00
Torin Sandall 7cf6e1036c Add support for proxy client certs
This enables external admission controller webhooks, api aggregation,
and anything else that relies on the
--proxy-client-cert-file/--proxy-client-key-file apiserver args.
2017-08-22 08:03:36 -07:00
Rohith 74f59612c7 Fixes
- added the master option back the protokube, updating the nodeup model and protokube code
- removed any comments no related to the PR as suggested
- reverted the ordering of the mutex in the AWSVolumes in protokube
2017-08-06 18:52:38 +01:00
Rohith a73d255b03 Etcd TLS Options
The current implementation does not put any transport security on the etcd cluster. The PR provides and optional flag to enable TLS the etcd cluster

- cleaned up and fixed any formatting issues on the journey
- added two new certificates (server/client) for etcd peers and a client certificate for kubeapi and others perhaps (perhaps calico?)
- disabled the protokube service for nodes completely is not required; note this was first raised in https://github.com/kubernetes/kops/pull/3091, but figured it would be easier to place in here given the relation
- updated protokube codebase to reflect the changes, removing the master option as its no longer required
- added additional integretion tests for the protokube manifests;
- note, still need to add documentation, but opening the PR to get feedback
- one outstanding issue is the migration from http -> https for preexisting clusters, i'm gonna hit the coreos board to ask for the best options
2017-08-06 17:06:46 +01:00
Rohith 2057f60def Kube Proxy Feature Gates
- fixing the kubeproxy feature gates, this should have been a map not array (https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/v1alpha2/componentconfig.go#L134)
2017-08-03 20:34:36 +01:00
Rohith b5066c967b Vetting / Formating / Cleanup
- fixed any of the vettting / formatting issues that i'm came across on the update
- removed the commented out lines from the componentconfig as it make its increasingly difficult to find what is supported, what is not and the difference between them.
- added SerializeImagePulls, RegisterSchedulable to kubelet (by default they are ignored)
- added FeatureGates to the kube-proxy

Out of interest can someone point me to where these multi-versioned componentconfig are being used?
2017-07-28 17:16:11 +01:00
Justin Santa Barbara 1ac7cae629 Map pod-infra-container-image flag 2017-07-21 12:59:06 -04:00
King'ori Maina 5946450b39
Add node resource allocation flags for kubelet 2017-07-17 23:36:42 +02:00
Justin Santa Barbara c9cec3b3d2 kube-proxy: set hostname-override on AWS
So that it matches the Node.Name

Fix #2915
2017-07-14 10:31:07 -04:00
Austin Moore 124a152724 Add omitempty json tag to resolvConf fields 2017-07-12 13:22:04 -04:00
alexandrst88 6b81385584 Add SG parameter into AWS cloud-config 2017-07-04 15:44:21 +03:00
Rohith 8302c52634 Kubelet / Master Authentication
- adding the options to permit adjusting the cluster to use auth on the kubelet
- for testing i've used kubelet-client-certificate and kubelet-client-key to /srv/kubernetes/server.{cert,key} and
   setting the --client-ca-file on the node kubelet to /srv/kubernetes/ca.crt (tested as working).
- note i'm not enforcing anything i.e. the user has to edit the cluster and apply the configuration on the kubelet and kubeAPIServer in the cluster spec
2017-06-29 13:29:44 +01:00
Austin Moore 119a0801c9 Add support for setting the kubelet's --resolv-conf flag to an empty string 2017-06-12 15:53:52 -04:00
Chris Love d135085e54 Merge pull request #2447 from justinsb/deprecate_babysit_daemons
Remove babysit-daemons flag from 1.7
2017-05-08 08:36:53 -06:00
Justin Santa Barbara 42ea0d4770 Remove babysit-daemons flag from 1.7 2017-04-27 01:47:39 -04:00
Abrar Shivani 5889814c90 Support for vSphere Cloud Provider 2017-04-20 23:33:21 -07:00
Miao Luo 4f98f5b47e Use CoreDNS for vSphere provider (#2)
* Add support of CoreDNS for vSphere provider.

* Add instructions about how to setup CoreDNS for vSphere provider.

* Address comments for CoreDNS support code.
2017-04-20 23:33:20 -07:00
Miao Luo 716349bf22 Fix the type of vSphere fields in CloudConfig and update auto-generated conversion files.
To make sure the vSphere fields in CloudConfiguration can be successfully serialized
and output into config file.
2017-04-20 23:33:18 -07:00
Miao Luo efdffd1c41 Address comments.
1. Check the emptiness of VSPHERE_USERNAME and VSPHERE_PASSWORD
2. Move vSphere specific fields from clusterSpec to clusterSpec.CloudConfig
2017-04-20 23:33:17 -07:00
Justin Santa Barbara 76f7665ed1 Apply gofmt 2017-04-08 01:53:09 -04:00
Justin Santa Barbara 7ba283f5e3 Merge pull request #2172 from waldman/feature/issue-2171
Add AWS CloudConfig DisableSecurityGroupIngress Configuration Parameter
2017-04-08 01:52:38 -04:00
chrislovecnm 131bc77abb Adding feature gates flag for kubelet, and unit tests 2017-04-03 11:13:21 -06:00
Chris Love f63c52c425 Merge pull request #2225 from justinsb/use_kcm_serviceaccounts
Set --use-service-account-credentials for 1.6
2017-03-29 10:50:42 -06:00
Justin Santa Barbara 19db8b37a0 Set --use-service-account-credentials for 1.6 2017-03-29 11:42:24 -04:00
Justin Santa Barbara 8b965a0ad9 Disable insecure port for apiserver
All components need a kubeconfig
2017-03-28 21:26:17 -04:00
Justin Santa Barbara e2a06a389a Move kubeproxy configuration to code
Also map kube-proxy ClusterCIDR arg.
2017-03-28 10:03:17 -04:00
Justin Santa Barbara 984191ef94 Fix omitEmpty tag: only omitempty is valid
Although actually omitEmpty appears to be recognized, although it is not
"traditional".
2017-03-28 02:16:53 -04:00
Justin Santa Barbara 86d544c2f3 Update protokube to make tainting optional
As of 1.6, kubelet can apply the taints, so we don't need to do it in
protokube.
2017-03-27 23:08:15 -04:00
Justin Santa Barbara bdf0d04b0a Merge pull request #2104 from justinsb/container_optimized_os
Initial Container-Optimized OS support
2017-03-27 10:21:39 -04:00
Robin Percy 4b030fed69 Added taints property to IG Spec.
- new property is only used when KubernetesVersion is 1.6 or greater
- taints are passed to kubelet via --register-with-taints flag
- Set a default NoSchedule taint on masters
- Set --register-schedule=true when --register-with-taints is used
- Changed the log message in taints.go to be less alarming if taints are
  found - since they are expected on 1.6.0+ clusters
- Added Taints section to the InstanceGroup docs
- Only default taints are allowed in the spec pre-1.6
- Custom taint validation happens as soon as IG specs are edited.
2017-03-25 18:36:00 -07:00
Leon Waldman 133153b9a2 Add AWS CloudConfig DisableSecurityGroupIngress Configuration Parameter 2017-03-22 21:49:38 -03:00
Justin Santa Barbara b9204e9911 Initial Container-Optimized OS support
Add initial support for google's container-optimized OS (available on
GCE).
2017-03-20 23:47:37 -04:00
Justin Santa Barbara cb4641fea3 Code updates 2017-03-16 02:40:50 -04:00
Seth Pollack 438483354e
add webhook authenticator flags 2017-03-09 19:47:49 -05:00
Justin Santa Barbara cdc8b034d1 Fix 1.6.0 validation
We were requiring API servers, but the apiserver flag is removed from
1.6.
2017-03-01 12:58:54 -05:00
Justin Santa Barbara 3d14d07616 Support cloud-config on GCE 2017-02-28 20:08:03 -05:00
Michael Taufen c24a017ed5 use --kubeconfig on kubelet instead of --api-servers in post 1.6 clusters 2017-02-27 15:49:11 -08:00
yissachar 8219e52c79 Merge pull request #1957 from justinsb/fix_1956
Cleanup nil handling in kubelet options
2017-02-24 00:26:33 -05:00
Justin Santa Barbara c70988f39d Move TerminatedPodGCThreshold to kcm
This is technically a breaking change, but given anyone that set it
would not have a working cluster I think we are OK to break compat.
2017-02-21 00:45:00 -05:00
Justin Santa Barbara fab539f978 Cleanup nil handling in kubelet options 2017-02-21 00:44:55 -05:00
Seth Pollack 38b97e505c
change variable names 2017-02-17 14:55:35 -05:00
Seth Pollack f61d6c8010
change maxage, maxbackup, and maxsize to int32 2017-02-17 14:16:55 -05:00
Seth Pollack 89899b1a79
Add audit flags to kube-apiserver 2017-02-17 14:16:55 -05:00
fate-grand-order c0932d214b fix misspell "unhealthy" in componentconfig.go 2017-02-15 10:18:34 +08:00
Manuel de Brito Fontes 6168606712 Map kubelet flag volume-plugin-dir 2017-02-10 11:20:15 -03:00
Justin Santa Barbara e875c27ab8 Workaround for time.Duration zero value
Go 1.6 has the zero value of time.Duration render to a string as `0`,
but 1.7 and on renders as `0s`.

Force to `0s` for consistency across versions.
2017-02-01 00:30:02 -05:00
Justin Santa Barbara 1172fb2b95 Add Eviction flags
Otherwise we were not evicting based on low inodes

Also add the notion of a flag-default, so we can pass fewer spurious
flags, and gget closer to the component model
2017-01-31 23:12:35 -05:00
Justin Santa Barbara 44d9a30f68 Map NvidiaGPUs / --experimental-nvidia-gpus
Issue #518
2017-01-31 10:40:23 -05:00
Michael Taufen bc615ae923 Config is deprecated, use PodManifestPath 2017-01-30 16:01:43 -08:00
Kris Nova 97afdf9f97 Merge pull request #1357 from justinsb/authn_flags
Add authz flags
2017-01-21 11:36:46 -07:00
Justin Santa Barbara 5c177fb5e4 Map terminated-pod-gc-threshold flag
Fix #998
2017-01-20 11:55:23 -05:00
Justin Santa Barbara 98603bf6f0 Map image-gc-high/low-threshold kubelet flags
Fix #1243
2017-01-20 11:52:11 -05:00
Justin Santa Barbara 5a7ef0711b Max kubelet max-pods flag
Fix #1445
2017-01-20 11:49:48 -05:00
Justin Santa Barbara db54ecf23d Map enable-custom-metrics kubelet flag
Fix #1467
2017-01-20 11:46:07 -05:00
Justin Santa Barbara 33884d232c Add authz flags
We aren't wiring them up now, but this unblocks people that want to have
a go.
2017-01-20 11:43:21 -05:00
Justin Santa Barbara 2af86f4c37 Merge pull request #1438 from blakebarnett/bdb/add_odic_flags
Add OIDC flags
2017-01-19 00:32:30 -05:00
chrislovecnm 3cabfb25d0 Updates to add new flag used by Kubernetes Controller manager: attach-detach-reconcile-sync-period 2017-01-18 12:29:29 -08:00
Blake 754f0e98a9 Change JSON var format, add some comments. 2017-01-15 15:55:35 -08:00
Blake 0b00ce6fd3 Add OIDC flags 2017-01-15 15:55:35 -08:00
Justin Santa Barbara 09cb9b654c Change int to int32 in API
We shouldn't be using the variable-sized int in the API
2017-01-15 18:23:44 -05:00
Justin Santa Barbara 09e834849d Specify storage-backend=etcd2 explicitly
The default may change to etcd3, but we want to stick with etcd2 until
upgrade has been fully vetted.
2017-01-04 11:27:31 -05:00
Vince Montalbano 0fbd19adfd Add KubeletPreferredAddressTypes #1083 2016-12-20 12:31:42 -06:00
Justin Santa Barbara fed68310fa Schema v1alpha2
* Zones are now subnets
* Utility subnet is no longer part of Zone
* Bastion InstanceGroup type added instead
* Etcd clusters defined in terms of InstanceGroups, not zones
* AdminAccess split into SSHAccess & APIAccess
* Dropped unused Multizone flag
2016-12-18 21:56:57 -05:00
Justin Santa Barbara c01c2af656 Mark ObjectMeta as a named field
This will work around some apimachinery bugs
(https://github.com/kubernetes/client-go/issues/8)
2016-12-14 22:26:57 -05:00
Justin Santa Barbara 96243ee442 Specify --anonymous-auth=false for k8s 1.5
We'll expose this option as part of RBAC, but in the meantime explicitly
specify the existing behaviour.
2016-12-13 01:44:28 -05:00
Justin Santa Barbara 35cd96f359 Apply gofmt to pkg directory
It was omitted from the makefile `make gofmt`
2016-11-28 02:11:47 -05:00
Matt Condon ad03ba6099 squash: line notes and additional comments/docs 2016-11-04 18:08:34 -04:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00