Commit Graph

898 Commits

Author SHA1 Message Date
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
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
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
Erik Wilson
3c945476f6 Revert check-config's "Silence modprobe warnings"
This reverts commit 8edbe30c8c.
2019-11-14 10:56:37 -07:00
William Zhang
0081225ae5 📰 Modify BUILDING description
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-11-14 18:54:50 +08:00
Darren Shepherd
4a26727938
Merge pull request #1070 from ibuildthecloud/kine-fix
Ensure that revision is consistent for empty lists
2019-11-14 06:31:48 +00:00
Darren Shepherd
4018a64c43 Ensure that revision is consistent for empty lists 2019-11-14 05:17:50 +00:00
Erik Wilson
80f81d5089
Merge pull request #1043 from davidnuzik/building
Add new BUILDING.md with "Building from Source" content from k3s docs
2019-11-13 18:59:19 -07:00
Darren Shepherd
19e64c8869 Bump kine to fix too many conflicts on mysql 2019-11-13 18:53:05 -07:00
Erik Wilson
7b76db1ad4
Merge pull request #1064 from erikwilson/fix-module-warnings
Non-fatal warning for check-config modules
2019-11-13 18:49:23 -07:00
Darren Shepherd
77703b90ff Don't ever change 10252/10251 ports
Kubernetes componentstatus check is hardcoded to 10252 and 10251
so we should never change these ports.  If you do componentstatus
will return error.
2019-11-13 18:20:57 -07:00
Erik Wilson
8edbe30c8c Silence modprobe warnings 2019-11-13 17:39:02 -07:00
Erik Wilson
37b0abac32
Merge pull request #1063 from erikwilson/agent-with-node-id
Add the --with-node-id flag to agent
2019-11-13 17:27:03 -07:00