Commit Graph

908 Commits

Author SHA1 Message Date
Erik Wilson
814c302d7c
Merge pull request #955 from btashton/servicelb-sysctl
Enable ip forwarding on both all and default net config
2019-12-12 17:31:02 -07:00
Erik Wilson
d4959d53af
Merge pull request #1182 from erikwilson/docker-pause-image
Allow --pause-image to set docker sandbox image also
2019-12-11 10:36:07 -07:00
Erik Wilson
2eacfa75cb
Merge pull request #1180 from erikwilson/cleanup-flannel-backend-help-text
Cleanup --flannel-backend help text
2019-12-11 10:35:50 -07:00
Erik Wilson
0c50d06a69
Merge pull request #1179 from erikwilson/upgrade-go-1.13.5
Upgrade go to 1.13.5
2019-12-11 10:35:41 -07:00
Erik Wilson
56b0743653
Merge pull request #1171 from dweomer/mutable-labels
Mutable --node-label values for server/agent sub-commands.
2019-12-11 10:35:27 -07:00
Erik Wilson
c2be59e5f3
Allow udp protocol for service-lb ports
For #577
2019-12-11 10:34:11 -07:00
Brennan Ashton
a952d5c32a Default device net config enables ip forwarding
The Linux kernel is inconsistent about how devconf is configured for new
network namespaces between ipv4 and ipv6. The behavior can also be
controlled via net.core.devconf_inherit_init_net in Linux 5.1+ so make
sure to enable forwarding on all and default for both ipv6 and ipv4.

This issue first came up testing on a yocto kernel that had this patch:
 ipv4: net namespace does not inherit network configurations

[0] https://www.kernel.org/doc/html/latest/admin-guide/sysctl/net.html#devconf-inherit-init-net
[1] https://lkml.org/lkml/2014/7/29/119

Signed-off-by: Brennan Ashton <brennana@jfrog.com>
2019-12-10 16:29:59 -08:00
Erik Wilson
2de93d70cf Allow --pause-image to set docker sandbox image also 2019-12-10 16:16:26 -07:00
Erik Wilson
11e4d01efe Cleanup --flannel-backend help text 2019-12-10 14:51:16 -07:00
Erik Wilson
de42d457b3 Upgrade go to 1.13.5 2019-12-10 14:47:25 -07:00
Erik Wilson
2cf88ae2c4
Merge pull request #1172 from simnalamburt/readme
Update README.md: k3s does not exclude legacy/alpha/non-default features anymore
2019-12-10 09:37:02 -07:00
Jacob Blain Christen
063efb25bb Mutable --node-label values for server/agent sub-commands.
Values passed in via the server/agent `--node-label` flag are treated as mutable. They are passed through to the kubelet just as before but after the kubelet comes up they are applied again. This allows for passing labels a k3s start-time that may be necessary for scheduling but may change from boot to boot, e.g. `k3os.io/version` after an upgrade.

Tested locallon on my amd64 workstation with the docker container.

Addresses #1119.
2019-12-09 16:40:15 -07:00
Hyeon Kim
14efc640ea
README.md: k3s does not exclude legacy/alpha/non-default features anymore
In the past, yes k3s did exclude all those legacy, alpha, non-default
features from Kubernetes source as you can see in
https://github.com/rancher/k3s/pull/113. But not anymore.

As you can see in the source code, most of legacy/alpha/non-default
features is available in k3s, and misleading README should be updated.

But please, don't get me wrong. I'm actually glad to see those features
enabled in k3s. :)

Reference:
  https://github.com/kubernetes/kubernetes/compare/v1.16.3...rancher:v1.16.3-k3s.1
2019-12-10 02:28:48 +09:00
Erik Wilson
45aa518ba8
Merge pull request #1150 from yuzhiquan/master
Code cleanup
2019-12-03 16:25:10 -07:00
Erik Wilson
7fac9cafc7
Merge pull request #1158 from ibuildthecloud/master
Bump dqlite to support arm 32-bit
2019-12-03 14:53:08 -07:00
Erik Wilson
2f723f02f9
Merge pull request #998 from galal-hussein/scale_test
Performance tests with clusterloader2
2019-12-03 14:51:49 -07:00
Darren Shepherd
034ffd7820 Bump dqlite to support arm 32-bit 2019-12-02 09:16:10 -07:00
yuzhiquan
24869ddf21 remove []byte trans, handle func error 2019-11-28 19:26:45 +08:00
yuzhiquan
7cc0110081 fix typo 2019-11-28 19:24:19 +08:00
galal-hussein
93e28126aa randomize the secrets 2019-11-27 20:30:56 +02:00
Erik Wilson
00e8a29b88
Merge pull request #1135 from mattjtodd/docker-compose-v1.0.0-images
Update Docker Compose file to use v1.0.0 image versions
2019-11-26 15:34:36 -07:00
Erik Wilson
6ea63d9f33
Merge pull request #1124 from johankok/check-for-semanage-before-download
Verify selinux status before downloading
2019-11-26 15:30:50 -07:00
Erik Wilson
ce3a03a16a
Merge pull request #1111 from dduportal/patch-1
Bump Traefik to 1.7.19
2019-11-26 15:29:57 -07:00
Erik Wilson
ecb40c051b
Merge pull request #1118 from guangbochen/pause-img
Update base pause image to rancher repo
2019-11-26 09:44:27 -07:00
dduportal
9598a527a2 Regenerate bindata
Signed-off-by: dduportal <1522731+dduportal@users.noreply.github.com>
2019-11-26 17:21:22 +01:00
Matt Todd
e25950c653 Updated to v1.0.0 image versions 2019-11-26 08:57:28 +00:00
Guangbo Chen
8ff4c3c256 Update base pause image to rancher repo 2019-11-25 16:09:05 +08:00
Johan Kok
51f8a1a0b9
Verify selinux status before downloading 2019-11-23 13:03:40 +01:00
Damien Duportal
8fa125a8ff
update script 2019-11-23 07:53:10 +01:00
Damien Duportal
16a6ad1aeb
Bump Traefik to 1.7.19 2019-11-21 16:06:16 +01:00
galal-hussein
9969dc9cff add dqlite 2019-11-21 01:57:42 +02:00
galal-hussein
2165464af6 more changes and Add readme 2019-11-20 22:12:40 +02:00
galal-hussein
128eff9b0e Add perf test automation 2019-11-20 22:12:40 +02:00
galal-hussein
31a615fc0f delete load testsing 2019-11-20 22:12:39 +02:00
Taylor Price
bf6ca8b2d8 general improvements, dont require iam 2019-11-20 22:12:39 +02:00
Taylor Price
677cc1a191 This is a combination of 2 commits.
initial loadtesting framework
2019-11-20 22:12:38 +02:00
Erik Wilson
18bd921cdd
Merge pull request #1100 from ibuildthecloud/master
Bump kine/k8s to fix broken label based pagination
2019-11-18 13:29:42 -07:00
Darren Shepherd
1ad4765353 Bump kine/k8s to fix broken label based pagination 2019-11-18 18:48:42 +00:00
galal-hussein
99b8222e8d Change storage to datastore 2019-11-15 21:52:07 -07:00
galal-hussein
bdf9dd2bca go mod vendor 2019-11-15 21:52:07 -07:00
Darren Shepherd
c2e7f9c7b0 Add logging parameters 2019-11-15 21:51:51 -07:00
Darren Shepherd
59177e58b7 Bump dynamiclistener to support RSA keys 2019-11-15 21:51:51 -07:00
Darren Shepherd
4e544bded2 Delete unused code 2019-11-15 21:51:51 -07:00
Darren Shepherd
ff34c5c5cf Download cert/key to agent with single HTTP request
Since generated cert/keys are stored locally, each server has a different
copy.  In a HA setup we need to ensure we download the cert and key from
the same server so we combined HTTP requests to do that.
2019-11-15 21:51:51 -07:00
Erik Wilson
fe4b9cafd6
Merge pull request #1079 from erikwilson/bump-k8s-1.16.3-k3s.1
Bump k8s to v1.16.3-k3s.1
2019-11-14 16:33:04 -07:00
Erik Wilson
39c0224f0e
Merge pull request #1080 from erikwilson/fix-agent-token-env
Fix broken K3S_TOKEN env
2019-11-14 16:32:48 -07:00
Erik Wilson
95ff805c98 Fix broken K3S_TOKEN env 2019-11-14 12:42:42 -07:00
Erik Wilson
82702a2a64 Bump k8s to v1.16.3-k3s.1 2019-11-14 11:56:24 -07:00
Erik Wilson
35715bd9ec
Merge pull request #1071 from warmchang/BUILDING
📰 Modify BUILDING description
2019-11-14 10:59:14 -07:00
Erik Wilson
293e996de7
Merge pull request #1075 from erikwilson/sudo-check-config-no-redirect
Revert check-config's "Silence modprobe warnings"
2019-11-14 10:57:36 -07:00