Commit Graph

466 Commits

Author SHA1 Message Date
Chris Love 6ceeb25d10 Merge pull request #654 from justinsb/govet_fixes
govet fixes; add govet makefile target
2016-10-15 21:00:36 -06:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00
chrislovecnm f3cd5b5312 adding validation scripts for vet, linting, and check headers
going to use k8s validator

updating runtest.sh

updating headers

fixing problem in bash

working on golang
2016-10-15 19:20:51 -06:00
Justin Santa Barbara 3f54852497 govet fixes; add govet makefile target 2016-10-15 13:25:31 -04:00
Justin Santa Barbara 591a85056a Merge pull request #631 from justinsb/move_apis_3
Experimental support for federation
2016-10-12 00:45:18 -04:00
Justin Santa Barbara a16e45705a Merge pull request #630 from justinsb/move_apis_2
Refactor CLI to match kubectl approach
2016-10-12 00:42:34 -04:00
Justin Santa Barbara 9bd8be67c3 Merge pull request #629 from justinsb/move_apis
Move API to pkg/apis/kops
2016-10-12 00:42:24 -04:00
Austin Moore aaaf126f53 Handle exit code 100 from 'yum check-update' 2016-10-11 17:54:55 -04: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 c284a181dc Refactor CA/Key interface
We create a simplified interface for use in tasks, vs the CLI which has
more diagnostic functionality
2016-10-11 09:48:43 -04:00
Justin Santa Barbara 542f8fb4f2 Refactor CLI to match kubectl approach
We have an Options class for each command, and a Run function that can
be called directly.
2016-10-11 09:47:11 -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
Justin Santa Barbara 5daba0258f Populate MasterInternalName & MasterPublicName in code
Hopefully address template model issues
2016-10-11 00:34:17 -04:00
Justin Santa Barbara 7c37b096e3 remove _master_dns tag; we rely on DNS 2016-10-11 00:29:18 -04:00
Justin Santa Barbara a5a066d9c4 Merge pull request #617 from ajohnstone/kube-proxy-add-label
add label to kube-proxy
2016-10-10 23:51:45 -04:00
Justin Santa Barbara b470727d72 Merge pull request #622 from justinsb/bump_master_cidr_to_28
Increase the master CIDR to a /28
2016-10-10 23:48:12 -04:00
Justin Santa Barbara c469efff73 Fix validation of kubelet CloudProvider in non-strict mode 2016-10-10 23:46:47 -04:00
Justin Santa Barbara 6eeb7bf596 Prepare for 1.4.1: bump nodeup; add docs 2016-10-10 10:55:48 -04:00
Justin Santa Barbara 64f293ea19 Increase the master CIDR to a /28
This should allow pods to run on the master until the real fix arrives
in 1.5.
2016-10-10 10:04:32 -04:00
Andrew Johnstone 61b2610819 add label to kube-proxy 2016-10-08 02:04:59 +01:00
Justin Santa Barbara 4bca0a37d1 Merge pull request #610 from justinsb/centos
Preliminary support for CentOS7 / RHEL7
2016-10-07 14:28:37 -04:00
Justin Santa Barbara 70696468e9 Package update support 2016-10-07 11:46:49 -04:00
Justin Santa Barbara a47674d10c Redhat/CentOS fixes per code review
* Always read /etc/redhat-release (symlinked on CentOS)
* Make _rhel_family the tag name, not _centos_family
* Add comment about writing to "system" systemd area
2016-10-07 09:43:04 -04:00
Justin Santa Barbara d965f14e4b Add apply to example 2016-10-07 02:27:41 -04:00
Justin Santa Barbara bb99c11a2d Fix erroneous import 2016-10-07 01:41:29 -04:00
Justin Santa Barbara 767c9a6416 Fix tests; don't hit s3 until we need to 2016-10-07 01:38:44 -04:00
Justin Santa Barbara afa8682dac Default ApplyClusterCmd to all the instance groups
Simpler, and ensures "one code path"
2016-10-07 01:13:26 -04:00
Justin Santa Barbara 5d255d17cb API example 2016-10-07 01:13:26 -04:00
Justin Santa Barbara f7fa324858 Initial k8s-style kops API
We try to emulate the k8s Clientset approach
2016-10-07 01:13:02 -04:00
Justin Santa Barbara 662025146c Merge pull request #607 from justinsb/aws_verbose_credentials
Turn on verbose credentials error messages
2016-10-07 01:07:45 -04:00
Justin Santa Barbara a6b53875d8 Merge pull request #593 from justinsb/fix_584
Configure dns-controller with ID of hosted zones
2016-10-07 01:07:39 -04:00
Justin Santa Barbara 9596b64121 Add RHEL7 2016-10-07 00:11:08 -04:00
Justin Santa Barbara d86390c172 CentOS7 initial experimental support 2016-10-06 23:23:30 -04:00
Justin Santa Barbara a529ffbb65 Configure dns-controller with ID of hosted zones
Fix #584
2016-10-06 13:12:27 -04:00
Justin Santa Barbara ecf0e94484 Turn on verbose credentials error messages
Issue #605
2016-10-06 13:10:15 -04:00
Justin Santa Barbara c234f20d05 Fix logging of instance ids 2016-10-05 23:11:54 -04:00
Justin Santa Barbara 5137e2546e Tolerate InvalidInstanceID.NotFound when deleting instances
We treat as instance-already-deleted, i.e. not an error

Fix #592
2016-10-05 02:12:11 -04:00
Justin Santa Barbara 204d1364ac Switch to image published under kope account 2016-10-01 17:30:52 -04:00
Justin Santa Barbara 146babbd27 Disable ingress DNS integration for 1.4.0
There are still some problems with the default nginx controller
2016-10-01 17:25:11 -04:00
Justin Santa Barbara 90a075f50e Refactor Channel FindImage
Also fixes an issue where `kops upgrade` can't find the latest image in
the manifest.
2016-10-01 15:46:07 -04:00
Justin Santa Barbara 1a4558a736 Fix DNS deployment manifest 2016-10-01 15:26:10 -04:00
Justin Santa Barbara 655a61588e Switch all the final switches for release 1.4
Also apply the 1.4 schema changes.
2016-10-01 13:50:19 -04:00
Justin Santa Barbara 88ec3db1bf ManagedFile support
A managed file is templated kops-side, but then stored in the S3 bucket
(aka state store)

This will be used to pass the channel containing the core addons.
2016-10-01 10:21:45 -04:00
Justin Santa Barbara a07733e741 Switch kube-apiserver manifest to YAML
Makes for much more obvious diffs
2016-10-01 10:13:22 -04:00
Justin Santa Barbara 07edc17fb6 Docker: prefer overlay, fall back to aufs 2016-10-01 10:08:18 -04:00
Justin Santa Barbara e0fd286e69 Merge pull request #561 from justinsb/more_protokube
Protokube: master tainting and channel creation
2016-10-01 09:56:12 -04:00
Justin Santa Barbara 4116ba646c Make kube-addons optional
It is now controlled by a nodeup tag: _kube-addons

The tag is automatically added, but when we build the channels-enabled
release, we will remove the tag.
2016-10-01 09:47:05 -04:00
Justin Santa Barbara 9fd754c73a Update tests for channels 2016-10-01 09:42:19 -04:00
Justin Santa Barbara 50aabb7e58 Merge pull request #566 from justinsb/add_addons
Create addons for 1.4
2016-10-01 09:37:33 -04:00
Justin Santa Barbara ed0feb0d71 Merge pull request #564 from justinsb/network_mtu
kubenet: set network MTU on 1.4 and 1.5
2016-10-01 09:37:20 -04:00