Commit Graph

834 Commits

Author SHA1 Message Date
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
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
Peter Rifel af9c0d0387 Set CLUSTER_NAME env var on amazon-vpc-cni pods
This will tag ENIs with `cluster.k8s.amazonaws.com/name`
2020-01-05 13:37:18 -06:00
Reilly Brogan 3e5b211bcd Add support for weave.npcExtraArgs 2020-01-03 21:28:37 -06:00
Kubernetes Prow Robot 2b24f69f9c
Merge pull request #8216 from mmerrill3/feature/issue-8113-weave-resources
Adding ability to configure resources for weave (#8113)
2020-01-03 06:43:40 -08:00
mmerrill3 b38bafe79d Adding ability to configure resources for weave (#8113)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2019-12-28 18:07:11 -05:00
Kubernetes Prow Robot 423233c6a4
Merge pull request #8131 from rochacon/cniless-dns-controller
dns-controller: allow it to run on CNI networking mode and remove dependency on kube-proxy
2019-12-27 21:43:38 -08:00
Kubernetes Prow Robot ac76e81ecd
Merge pull request #8164 from hakman/update-rhel-8
Update support for RHEL 8
2019-12-27 07:45:38 -08:00
Kubernetes Prow Robot e558059ca9
Merge pull request #7898 from bboreham/weave-2-6-0
Update Weave Net to version 2.6.0
2019-12-26 12:33:38 -08:00
Ciprian Hacman e90474d593 Update support for RHEL 8 2019-12-24 17:07:23 +02:00
liranp 0c1d22043e
feature(ocean): upgrade controller (v1.0.50) 2019-12-19 11:02:19 +02:00
Rodrigo Chacon e449467543 dns-controller: tolerate lack of CNI on master
When booting a cluster with `--networking=cni`, `dns-controller` will
not start due to the master node being _tainted_ as "network unreachable".
This adds an extra step when managing your own CNI setup, having to SSH
into a master and publish the CNI manifests from there.

This commit adds tolerance and configuration that allows `dns-controller`
pod to start when running with `--networking=cni`, properly creating the
DNS records so the operator can remotely publish the CNI and extra
manifests to have a full working cluster.

This also removes the dependency on `kube-proxy`, by adding the
`KUBERNETES_SERVICE_HOST` environment variable, bypassing `kube-proxy`
when disabled.

Presumably, as a side-effect, this change also allows for
"host network only" clusters to work.

Signed-off-by: Rodrigo Chacon <rochacon@gmail.com>
2019-12-19 02:10:35 -03:00
Bryan Boreham 556399e0a7 Update Weave Net to version 2.6.0
Signed-off-by: Bryan Boreham <bryan@weave.works>
2019-12-17 13:31:43 +00:00
Ciprian Hacman 5c57ce49f9 Revert ClusterRole name to "calico" 2019-12-14 15:06:27 +02:00
Ciprian Hacman a806f10b4e Make Calico-Typha and Canal templates easier to compare to each other 2019-12-13 21:46:17 +02:00
Ciprian Hacman 7ef9d0a5c1 Add role.kubernetes.io/networking labels for Canal 2019-12-13 21:46:17 +02:00
Ciprian Hacman f6193e0c41 Fix indent of metadata.name field for felixconfigurations.crd.projectcalico.org 2019-12-13 21:46:17 +02:00
Ciprian Hacman 346d0ba9bc Make templates easier to compare with official manifests 2019-12-13 21:46:17 +02:00
Ciprian Hacman 3b25c0c66a Add Calico v3.10.2 2019-12-13 21:46:11 +02:00
Jesse Haka a2e3e57bd3 add missing rbac rules 2019-12-12 11:21:10 +02:00
Ciprian Hacman dd69274cf2 Set FELIX_IPTABLESBACKEND for Calico and Canal 2019-12-10 13:45:33 +02:00
Kubernetes Prow Robot b76ffb359a
Merge pull request #7992 from DavidSie/pr_cloud_controller_template_function
Cloud controller template function
2019-12-09 13:54:02 -08:00
Ciprian Hacman f21df7cd6f Fix mounting Calico "flexvol-driver-host" in CoreOS 2019-12-08 16:43:29 +02:00
Kashif Saadat fcf6f0098c Canal Typha spec and apimachinery 2019-12-06 15:36:48 +00:00
Kashif Saadat 9b7a798136 Add Typha support for Canal Networking 2019-12-06 15:36:48 +00:00
Kashif Saadat ebbebc5af3 Canal v3.10 manifest for k8s v1.15+ 2019-12-06 14:50:00 +00:00
David Siecinski c3004a7b43 BUILD.bazel in openstack.addons.k8s.io 2019-12-05 09:58:45 +01:00
David Siecinski 366982fe08 no BUILD.bazel 2019-12-05 09:58:45 +01:00
David Siecinski 5bc52c08c0 run hack/update-bazel.sh and go fmt and BUILD.bazel file in addons 2019-12-05 09:58:43 +01:00
DavidSie 013f8799fa Add CloudControllerConfigArgv template function, Expose CloudControllerConfigArgv function to templates, and testing it.
Exposing CloudControllerConfigArgv function to templates, and testing it.
2019-12-05 09:58:43 +01:00
Kubernetes Prow Robot 501baf7e56
Merge pull request #7985 from justinsb/release_1_17_0_alpha_1
Release 1.17.0-alpha.1
2019-11-25 19:53:09 -08:00
Kubernetes Prow Robot 33089f960d
Merge pull request #7979 from rochacon/fix-ext-core-file-indent
Add indent template function and use it to fix KubeDNS.ExternalCoreFile rendering
2019-11-23 11:35:49 -08:00
Rodrigo Chacon 9b0d0aa2ec addons/coredns: Fix KubeDNS.externalCoreFile indentation 2019-11-22 16:28:06 +08:00
Kubernetes Prow Robot 1401e3e110
Merge pull request #7954 from yuxiaobo96/kops-link
Correct link error:404
2019-11-21 19:49:28 -08:00
Justin SB 5561de1432
Release 1.17.0-alpha.1 2019-11-21 14:35:30 -05:00
Kubernetes Prow Robot 3ab974f680
Merge pull request #7899 from zacblazic/improve-calico-ipip-values
Use correct values for CALICO_IPV4POOL_IPIP in Calico v3
2019-11-21 10:05:29 -08:00
yuxiaobo 8a46284f0a Correct link error:404
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-11-20 14:17:26 +08:00
Kubernetes Prow Robot 5c88ee4445
Merge pull request #7856 from hakman/master
Create PodDisruptionBudget for kube-dns in kube-system namespace
2019-11-17 12:23:48 -08:00
Kubernetes Prow Robot 644df24b6f
Merge pull request #7924 from srikiz/FixFlannel_cniVersion
Fix flannel CNI version to use 0.2.0
2019-11-17 10:53:49 -08:00
Peter Rifel 57d72da5ec Upgrade AWS VPC CNI to 1.5.5 2019-11-17 10:48:53 -06:00
Srikanth 7398d55bd8 Fix flannel cni version to use 0.2.0 for kubernetes v1.16 version 2019-11-13 23:21:29 +05:30
Kashif Saadat bcd882e88e Fix rendering of the Node Authorizer template 2019-11-12 14:05:09 +00:00
Kubernetes Prow Robot 40e2ef3bdd
Merge pull request #7842 from EladDolev/flannel_priorityclass
add missing priorityClassName to flannel DaemonSet
2019-11-11 06:03:41 -08:00
Zac Blazic 3c7564cbab Prefer Always as a value for CALICO_IPV4POOL_IPIP
Because the accepted values have changed since v3.0:
https://docs.projectcalico.org/v3.0/reference/node/configuration#environment-variables
2019-11-08 17:30:52 +02:00
Zac Blazic 0abb03135c Prefer CrossSubnet as a value for CALICO_IPV4POOL_IPIP
Because the accepted values have changed since v3.0:
https://docs.projectcalico.org/v3.0/reference/node/configuration#environment-variables
2019-11-08 17:14:57 +02:00
Justin SB ea779042ca Release 1.16.0-alpha.1 2019-11-08 00:28:53 -05:00
mikesplain 2ee0a5de91
Add back calico metrics options: 2019-11-05 14:50:59 -05:00
Kubernetes Prow Robot b1fba5c4ed
Merge pull request #7874 from jochen42/feature/#7873-weave-pods-node-critical
mark weavenet-pod as system-critical
2019-11-05 04:02:38 -08:00
Peter Rifel ea4c25530b Revert "Upgrade Amazon VPC CNI plugin to 1.5.4"
This reverts commit 699fe56619.
2019-11-04 13:52:27 -08:00
Jochen Weber 6b93731b73 mark weavenet-pod as system-critical 2019-11-04 09:03:42 +01:00
Ripta Pasay a009ea56e7 Remove extraneous document separator causing failures applying addons 2019-10-30 10:50:02 -07:00
Ciprian Hacman d764229c28 Create PodDisruptionBudget for kube-dns in kube-system namespace 2019-10-30 18:31:33 +02:00
Elad Dolev 6c85fd8b52 add missing priorityClassName to flannel DaemonSet 2019-10-30 17:25:45 +02:00
Jesse Haka c320ec29c8 Set default image tag for OpenStack CCM 2019-10-27 20:05:30 +02:00
Kubernetes Prow Robot cb66ae7af9
Merge pull request #7794 from gjtempleton/CoreDNS-Version-Choice
Allow for override of CoreDNS version
2019-10-25 08:31:47 -07:00
Kubernetes Prow Robot 18cfa5f5b2
Merge pull request #7593 from mikesplain/docs_site_map
Docs cleanup / mkdocs migration
2019-10-25 08:31:40 -07:00
GuyTempleton e87b1fddbe
Allow for override of CoreDNS version
Allow users to override the CoreDNS image version to take advantage of local image registries or differing versions of the image to allow quicker access to new/improved CoreDNS plugins.
2019-10-15 21:07:12 +01:00
Justin SB c210eb8d15
Move kops-controller to daemonset
We also scale-down the old Deployment to have 0 replicas, to be sure
to stop it.

We can remove it later when we have proper pruning here.
2019-10-14 10:44:49 -04:00
Justin SB d3bad10aa9
Move kops-controller to use a yaml configuration file
This is more in keeping with componentconfig, and lets us add more
options easily in future.
2019-10-13 07:27:52 -07:00
Peter Rifel 699fe56619 Upgrade Amazon VPC CNI plugin to 1.5.4
See: https://github.com/aws/amazon-vpc-cni-k8s/releases/tag/v1.5.4
2019-10-11 07:55:26 -07:00
tanjunchen 3aa31b6d5f remove the repeat word 2019-10-02 11:05:49 +08:00
Timo Reimann bfe8904f4e Update DigitalOcean CCM to v0.1.20
The update brings a number of bug fixes, stability improvements, and
features.
2019-09-30 22:07:18 +02:00
Kubernetes Prow Robot 3b2f03a9c3
Merge pull request #7643 from zetaab/feature/mountcerts
Allow to use custom rootCAs
2019-09-30 11:45:38 -07:00
Kubernetes Prow Robot 32715d3822
Merge pull request #7694 from mikesplain/calico_3.9.1
Add calico 3.9.1
2019-09-30 06:33:38 -07:00
Jesse Haka 4ccad007ce mountcerts -> usehostcerts 2019-09-30 11:36:32 +03:00
Jesse Haka acc70ebecc mount certificates to external ccm 2019-09-30 11:35:59 +03:00
Jesse Haka 352bc1eaa2 Allow to use custom rootCAs 2019-09-30 11:35:58 +03:00
Justin SB c9bcf45284
kops-controller version should match version of kops
So (counterintuitively) we set it to 1.15.0-alpha.1, because that is the version on the master branch.
2019-09-28 19:41:13 -04:00
mikesplain 7a980efd7e
Add calico 3.9.1 2019-09-27 12:59:09 -04:00
Kubernetes Prow Robot ac36e9c41d
Merge pull request #7689 from justinsb/upgrade_pod2daemon_only
Calico: upgrade pod2daemon (only)
2019-09-27 07:39:36 -07:00
Kubernetes Prow Robot 942c8915db
Merge pull request #7496 from justinsb/label_controller
kops-controller
2019-09-27 03:43:35 -07:00
Justin SB 70dd5c3f22
Calico: upgrade pod2daemon (only)
We want to pick up https://github.com/projectcalico/pod2daemon/pull/28 , to address https://github.com/kubernetes/kops/issues/7592 .

This is not ideal, but looking at the commit changes the only
potentially problematic change in the diff is
https://github.com/projectcalico/pod2daemon/pull/21 , which seems like
it shouldn't cause ay skew issues.
2019-09-27 00:14:26 -04:00
Justin SB ba76db7f41
Limit calico cpu request to 100m
Per docs/development/instancesizes.md we don't have much cpu on a 1
core machine.  Note that this is only requests, not limits, so calico
can still burst.

At least related to issue #7592
2019-09-26 22:57:42 -04:00
Kubernetes Prow Robot 2fef10f7df
Merge pull request #7646 from sportradar/cilium-standalone-continuation
Cilium standalone continuation
2019-09-26 12:19:09 -07:00
Justin SB 97f552778f
Add env vars, update tests 2019-09-25 12:48:13 -04:00
Justin SB 6cb341dfeb
Add kops-controller to default adddons 2019-09-25 12:04:37 -04:00
Ole Markus With 28584a5207 Disable wait-for-bpf
The addon is applied automatically, while bpf is mounted on nodeup. So updating cilium will
make cilium hang until the nodes are rolled. There is no need for this flag to be true
since bpf will anyways be available after roll.
2019-09-21 14:23:09 +02:00
Ole Markus With 10f40d5d32 Add networking label to all cilium resources 2019-09-21 14:23:08 +02:00
Nitin Rana 0310c2ef97 Add arg min-port=1024 to dnsmasq container in kube-dns
Do not use ports less than that given as source for outbound DNS queries. Dnsmasq picks random ports as source for outbound queries: when this option is given, the ports used will always to larger than that specified. Useful for systems behind firewalls.
2019-09-20 11:53:34 -07:00
mikesplain 45a8e5a3b8 First pass 2019-09-19 20:56:29 -04:00
Maciej Kwiek 7fd24b9417 Fix remaining Cilium manifests and update hashes
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
2019-09-16 16:49:36 +02:00
Ole Markus With 2ad696372d Sync the cilium-operator ClusterRole with quick-start.yaml 2019-09-16 16:49:36 +02:00
Ole Markus With e7ff69a4a3 Mount BPF for cilium as part of nodeup instead of using a daemonset 2019-09-16 16:49:36 +02:00
Maciej Kwiek 004cc3cf5c Add configuration options for Cilium 1.6
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
2019-09-16 16:49:26 +02:00
Maciej Kwiek 74e10dadec Change Cilium templates to standalone version
This commit doesn't include any Cilium configuration, just takes the
quick install yaml from
https://github.com/cilium/cilium/blob/v1.6.0/install/kubernetes/quick-install.yaml

Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
2019-09-12 17:23:50 +02:00
Mike Splain a17183f1f2
Merge branch 'master' into External-CoreFile 2019-09-10 16:08:32 -04:00
Kubernetes Prow Robot a7eb9a202d
Merge pull request #7528 from mikesplain/calico_update_and_typha
Calico update and typha
2019-09-09 21:32:54 -07:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
mikesplain b76d9b1773 Fix some missed values 2019-09-09 10:00:50 -04:00
GuyTempleton 948373a4ae Update calico and update manifest 2019-09-09 10:00:50 -04:00
GuyTempleton d0f8dc5760 Add ability to configure number of Typha Replicas
Adds the ability to configure the number of Typha replicas when using Calico CNI in 1.12+
to limit the impact of Calico on the APIServer and increase the scalability of the cluster.

Also adds the ability to configure Typha's Prometheus config.

Add Passing TyphaReplicas Validation Test
2019-09-09 10:00:50 -04:00
Justin SB ee055ffe01
Release 1.15.0-alpha.1 2019-09-08 15:48:40 -04:00
Kubernetes Prow Robot 69a31b7134
Merge pull request #7477 from grupozap/coredns_resourcerevision
fix(upup/models/cloudup/resources/addons/coredns.addons.k8s.io) missing resourceVersion
2019-09-06 21:05:19 -07:00
Kubernetes Prow Robot 5501724852
Merge pull request #7517 from grupozap/calico_kube_controller
fix(addons/networking.projectcalico.org) calico kube-controllers is needed in CRD mode
2019-09-06 10:56:15 -07:00
Kubernetes Prow Robot d90b75cf1b
Merge pull request #7492 from grupozap/coredns_missing_dir_workaround
fix(addons/coredns.addons.k8s.io) Workaound to stop coredns crashing on 1.3.1 version
2019-09-04 07:58:59 -07:00
Pedro H. Spagiari 6701b4b562 chore(addons/coredns.addons.k8s.io) Adding a note about the workaround 2019-09-04 11:14:39 -03:00
Pedro H. Spagiari cfb9f8a5ad fix(addons/networking.projectcalico.org) calico kube-controllers is needed in CRD mode 2019-09-04 10:37:09 -03:00
Kubernetes Prow Robot a225054da0
Merge pull request #7295 from shamil/flannel_portmap
Support for using hostPort when using flannel
2019-09-03 03:28:27 -07:00
Kubernetes Prow Robot 41781ae059
Merge pull request #7480 from zetaab/feature/mtuopenstack
Configure calico MTU
2019-09-02 09:51:42 -07:00
Kubernetes Prow Robot 013a167191
Merge pull request #7429 from ReillyProcentive/issue-7390
Add support for netExtraArgs
2019-08-30 11:35:30 -07:00