Commit Graph

9563 Commits

Author SHA1 Message Date
Dao Cong Tien 309dc9a8fc Add unit test for pkg/edit/edit.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-01-17 11:11:25 +07:00
Kubernetes Prow Robot b4f60b30d0
Merge pull request #8331 from nvanheuverzwijn/ISSUE-8330
Allow removed of additionalUserData on bastion
2020-01-14 09:35:19 -08:00
Kubernetes Prow Robot b396899152
Merge pull request #8334 from rifelpet/coredns-spec
Allow CoreDNS to be specified by create cluster overrides
2020-01-14 06:55:21 -08:00
Peter Rifel b7960f04d4 Allow CoreDNS to be specified by create cluster overrides
This will more easily allow our end-to-end testing to use CoreDNS rather than KubeDNS
2020-01-14 08:14:33 -06:00
Kubernetes Prow Robot de4a86faa2
Merge pull request #8235 from tanjunchen/staticcheck-005
upup/pkg/fi/cloudup/awstasks/ staticcheck
2020-01-13 19:43:08 -08:00
tanjunchen 15b4643aee upup/pkg/fi/cloudup/awstasks/ staticcheck 2020-01-14 10:02:16 +08:00
Nicolas Vanheuverzwijn 6db1b185e6 run hack/update-expected.sh 2020-01-13 16:12:47 -05:00
Nicolas Vanheuverzwijn 8d3df18a51 test: fix integration test to always include bastion userdata 2020-01-13 15:53:13 -05:00
Nicolas Vanheuverzwijn eaa025effd run hack/update-expected.sh: we now consistenly output an empty user-data for bastion node 2020-01-13 15:28:20 -05:00
Nicolas Vanheuverzwijn 7041a43982 issue-8330: return empty nodeup template when calculating bastion userdata without additionaluserdata 2020-01-13 14:50:50 -05:00
Kubernetes Prow Robot 09e27ef82e
Merge pull request #8245 from fenggw-fnst/work
Add unit test for func RenderInstanceGroupSubnets in instancegroup.go
2020-01-12 20:33:37 -08:00
Kubernetes Prow Robot c1297522ba
Merge pull request #7833 from justinsb/cos_cni_bin
Use /opt/cni/bin on all distros (including COS)
2020-01-12 19:01:37 -08:00
Guangwen Feng d80aed0c9d Add unit test for func RenderInstanceGroupSubnets in instancegroup.go
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2020-01-13 09:34:57 +08:00
Kubernetes Prow Robot a65422dd46
Merge pull request #8322 from justinsb/dont_map_etcd_manager_hosts
Don't share /etc/hosts when using etcd-manager
2020-01-12 10:55:37 -08:00
Justin SB 4fe3db7faa
Don't share /etc/hosts when using etcd-manager
With etcd-manager the DNS names should only be used by the
etcd-manager pod itself, so we don't need to share /etc/hosts with the
host.

By not sharing we avoid:

(1) the temptation to address etcd directly
(2) problems of concurrent updates to /etc/hosts being hard from within a container (because locking is difficult across bind mounts)

Introducing with kubernetes 1.17 to avoid changing behavior of existing versions.
2020-01-12 11:56:14 -05:00
Kubernetes Prow Robot 74e8068f2d
Merge pull request #8321 from rifelpet/kops-controller-deployment
Add release notes for deleting the kops-controller deployment
2020-01-12 07:03:36 -08:00
Peter Rifel 9389700b94 Add release notes for deleting the kops-controller deployment 2020-01-12 07:38:57 -06:00
Kubernetes Prow Robot 179957d09f
Merge pull request #7824 from rifelpet/kops-server-cleanup
Remove traces of kops-server
2020-01-11 23:13:36 -08:00
Kubernetes Prow Robot f8915dca9b
Merge pull request #8273 from rifelpet/remove-kops-controller-deployment
Remove kops-controller deployment
2020-01-11 22:09:36 -08:00
Kubernetes Prow Robot 7116d80467
Merge pull request #8284 from johngmyers/validate-cidr
Improve CIDR validation
2020-01-11 21:21:45 -08:00
Kubernetes Prow Robot 5b9f416563
Merge pull request #8208 from johngmyers/remove-support
Remove support for Kubernetes 1.8 and earlier
2020-01-11 21:21:37 -08:00
Kubernetes Prow Robot e5902d52d0
Merge pull request #8317 from justinsb/clean_up_empty_manifest_sections
Don't output empty sections in the manifests
2020-01-11 20:25:37 -08:00
John Gardiner Myers 19dc62a3e3 Fix staticcheck error 2020-01-11 20:13:22 -08:00
John Gardiner Myers 1651a7ec3c Merge branch 'master' into remove-support 2020-01-11 20:11:41 -08:00
Justin SB cf5c53c87d
Add tests for manifest normalization
(The tests are split out for easier cherry-picking, should we choose to)
2020-01-11 22:41:18 -05:00
Justin SB f348b47332
Don't output empty sections in the manifests
In our kube-dns manifest for 1.6 we often had an empty section,
normalization converted this to `{}` which causes `kubectl apply` to
fail.

We can simply skip empty objects when outputing.
2020-01-11 20:58:24 -05:00
Kubernetes Prow Robot adc4083caa
Merge pull request #8315 from justinsb/dns_controller_using_bazel
Build dns-controller using bazel
2020-01-11 17:29:36 -08:00
Kubernetes Prow Robot 556175910b
Merge pull request #8193 from Aresforchina/fix-staticheckout-pkg-resource02
upup/pkg/fi-fix staticcheck
2020-01-11 12:15:36 -08:00
Justin SB 9188be3d63 Build dns-controller using bazel
We were previously building it in development using bazel, but then
using go build for the release.  That is risky, better to just use
bazel everywhere.
2020-01-11 15:01:06 -05:00
Justin SB a0c16c9abe Use /opt/cni/bin on all distros
We used to remap the cni-bin to /home/kubernetes/bin on COS, but that
then requires us to change the CNI manifests also to write to the new
location.

Instead we can use /opt/cni/bin on all distros, now that we are making
it writeable everywhere with a bind mount.
2020-01-11 13:03:12 -05:00
Kubernetes Prow Robot 2711ed3f11
Merge pull request #8247 from bittopaz/fix-env-vars
Stabilize sequence of "export xx=xxx" statements
2020-01-11 07:29:37 -08:00
Kubernetes Prow Robot 1e4b284bcb
Merge pull request #8056 from justinsb/move_to_utils_mount
Replace kubernetes mount code with utils
2020-01-10 15:35:37 -08:00
Kubernetes Prow Robot 5704f7327e
Merge pull request #8307 from hakman/pigs-rhel7
Remove "pigz" containerd dependency for RHEL/CentOS 7
2020-01-10 13:35:37 -08:00
Kubernetes Prow Robot ac4d186a6a
Merge pull request #8302 from tmjd/calico-doc-update
Some Calico doc updates
2020-01-10 09:54:34 -08:00
Peter Rifel ae245a497e Remove kops-controller deployment
The migration was first made in 1.16.0-alpha.1, so that means 2 releases have been out that set the replicas to zero.
This removal negatively impacts anyone that created a cluster from kops HEAD between 1.15.0 and 1.16.0-alpha.1, and then upgraded kops directly to the 1.16.0 release that includes this commit, without having first upgraded to either of the alphas.

That seems like a reasonably small enough audience that this is safe to remove now.
Perhaps we mention in the release notes that anyone using HEAD or one of the alpha releases needs to `kubectl delete -n kube-system deployment kops-controller`
2020-01-10 10:13:31 -06:00
Ciprian Hacman 3ea7a6aed6 Remove "pigz" containerd dependency for RHEL/CentOS 7 2020-01-10 18:05:11 +02:00
Kubernetes Prow Robot 7a65c25a88
Merge pull request #8286 from hakman/rhel-e2e-deps
Add wget and nfs-utils deps needed for e2e tests
2020-01-10 07:54:36 -08:00
Kubernetes Prow Robot cf79ab9ab2
Merge pull request #8303 from hakman/fix-weave-mem
Fix unit name for memory request for weave
2020-01-10 05:20:36 -08:00
Ciprian Hacman 36993f5b74 Fix unit name for memory request for weave 2020-01-10 07:34:25 +02:00
Erik Stidham 7c234cc431 Some Calico doc updates 2020-01-09 15:24:23 -06:00
Kubernetes Prow Robot 1b8b0743b3
Merge pull request #8204 from rifelpet/kops-controller-log
Enable host logging for kops-controller
2020-01-08 10:43:40 -08:00
Kubernetes Prow Robot f30651993f
Merge pull request #8285 from stratusjerry/fixTypos
small documentation typo fixes
2020-01-08 05:59:40 -08:00
Ciprian Hacman a508c36302 Add wget and nfs-utils deps needed for e2e tests 2020-01-08 09:06:12 +02:00
stratusjerry a93d525b0c small documentation typo fixes 2020-01-07 13:12:28 -05:00
Peter Rifel e0fa147b15 Enable host logging for kops-controller
This makes it easier to get the kops-controller logs from e2e tests since it they only dump log files from systemd services and /var/log files [0]

[0] ec0fe6bd36/kubetest/dump.go (L50-L74)
2020-01-07 11:00:41 -06:00
Aresforchina f312f7c974 upup/pkg/fi-fix staticcheck 2020-01-07 15:50:30 +08:00
John Gardiner Myers bbf85d0a15 Improve CIDR validation 2020-01-06 22:27:34 -08:00
Kubernetes Prow Robot 6990f8e2e6
Merge pull request #8283 from hakman/containerd-k8s-1.17
containerd: Set a default version even with Kubernetes 1.17
2020-01-06 14:54:16 -08:00
Ciprian Hacman 0781afdce7 Set a default version for containerd even with Kubernetes 1.17 2020-01-06 22:04:29 +02:00
Kubernetes Prow Robot cd9e01cb03
Merge pull request #8274 from rifelpet/aws-vpc-cni-cluster-name
Set CLUSTER_NAME env var on amazon-vpc-cni pods
2020-01-06 10:40:16 -08:00