Commit Graph

252 Commits

Author SHA1 Message Date
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
Justin Santa Barbara 58a8daf63e Experimental support for federation
Highly experimental right now, and has exposed some upstream issues (I
believe), but adding so that people can start playing.
2016-10-11 10:29:46 -04:00
Justin Santa Barbara 5ac44018d4 Move API to pkg/apis/kops
This is a breaking change for people using the API (sorry), but is
hopefully a simple search and replace:

"k8s.io/kops/upup/pkg/api"
 -> api "k8s.io/kops/pkg/apis/kops"

"k8s.io/kops/upup/pkg/api/registry"
 -> "k8s.io/kops/pkg/apis/kops/registry"

This is the "correct" place for it in the k8s API infrastructure - we
are working towards a versioned API here.
2016-10-11 08:52:54 -04:00