Commit Graph

1350 Commits

Author SHA1 Message Date
David Nuzik
b6fe30ac20
Merge pull request #1731 from geerlingguy/fix-ansible-readme-typo
Fix typo in Ansible README file scp command.
2020-05-04 09:32:32 -07:00
Erik Wilson
5d77f24e7e Bump k3s-root to 0.4.1 2020-05-04 09:18:35 -07:00
omichaelis
e629fd381d
Replace deprecated option
The option --no-deploy was deprecated by
0374c4f63d
and is now replaced in the install.sh documentation by --disable

Signed-off-by: omichaelis <38879457+oliviermichaelis@users.noreply.github.com>
2020-05-03 18:26:59 +02:00
Adam Farden
b4335630b7 [systemd] Add value to LimitNOFILE due to performance problems
When k3s is installed on an OS with default high ulimits, performance
issues can be observed. This was discovered on CoreOS where the default
value is 1073741816. Symptoms include very slow file operations such
as installing a Rook/Ceph cluster will take ~6 hours instead of ~10 minutes.

A google search for 'container LimitNOFILE' will show that most major
projects set this already, including the (unused) containerd systemd unit
found in this repository at /vendor/github.com/containerd/containerd/containerd.service

k3OS is not affected becuasse the default there is already 1048576.

See description in coreos/fedora-coreos-tracker#329
2020-05-03 09:37:00 +02:00
Jeff Geerling
3fef74bcb9 Fix typo in Ansible README file scp command. 2020-05-01 23:02:08 -05:00
Jeff Geerling
27215a5ec0 Fixes #1729: Use 'is changed' instead of non-existent changed filter. 2020-05-01 22:42:42 -05:00
Frank
a18d94e5f9 remove redundant Sprintf 2020-04-30 10:48:12 -05:00
Darren Shepherd
56770ff2cc Make debug variable public to be used by wrapper programs 2020-04-29 11:37:59 -07:00
Darren Shepherd
3c8e0b4157 No longer use basic auth for default admin account 2020-04-28 16:01:33 -07:00
Darren Shepherd
690a4ca7a4
Merge pull request #1697 from ibuildthecloud/dapper-fix
$ must be escaped in Makefile
2020-04-28 14:03:50 -07:00
Darren Shepherd
e6eabbb6a7 $ must be escaped in Makefile 2020-04-27 12:09:07 -07:00
Darren Shepherd
5715e1ba0d Add ability to disable kubeproxy 2020-04-27 11:24:00 -07:00
Darren Shepherd
7920fa48c9 Only need to resolve the path of host-local if Flannel is enabled 2020-04-27 11:17:41 -07:00
Darren Shepherd
8cc9efdf7c Allow InitLogging to be called twice
This makes it a bit easier to embed k3s into another go program
2020-04-27 11:16:08 -07:00
Darren Shepherd
8b8af94eb2 Move disabled items to a const to keep more consistency
This also help when embedding k3s because we can programmitically know
all the components to disable.
2020-04-27 11:15:35 -07:00
Darren Shepherd
c25f1ab1b6 Check for error on mkdir 2020-04-27 11:14:21 -07:00
Darren Shepherd
0efe2af1a7
Merge pull request #1637 from MaciejKucia/mattkucia/fix-install
install: Properly detect enabled selinux
2020-04-27 09:25:15 -07:00
Darren Shepherd
130e6e31a1
Merge pull request #1664 from KnicKnic/windows-18-build
fix build windows v1.18
2020-04-27 09:23:32 -07:00
Darren Shepherd
ad557bfeed
Merge pull request #1659 from joakimr-axis/joakimr-axis_package-cli-clean
package-cli: Remove superfluous file exist check
2020-04-27 09:23:16 -07:00
Darren Shepherd
e4f87f51e2
Merge pull request #1681 from KnicKnic/fix_file_paths
fix usage of path instead of filepath
2020-04-27 09:21:48 -07:00
Darren Shepherd
7d06d2ccc1
Merge pull request #1653 from KnicKnic/enable_agent_windows
enable agent to start on windows
2020-04-27 09:05:12 -07:00
Knic Knic
44b8af097c fix usage of path instead of filepath 2020-04-25 00:29:18 -07:00
Erik Wilson
2c49341113
Merge pull request #1669 from erikwilson/manifest-mod-time
Check modification time before deploying manifests
2020-04-23 14:17:14 -07:00
Erik Wilson
b2cab73d27
Merge pull request #1672 from galal-hussein/helm_update
helm-controller and kine update
2020-04-23 14:09:41 -07:00
galal-hussein
dae4a92091 update dqlite-build and kine 2020-04-23 22:34:44 +02:00
galal-hussein
37e91dc3a1 update klipper image in airgap 2020-04-23 20:50:32 +02:00
galal-hussein
1d6b83d8a4 go generate 2020-04-23 02:42:12 +02:00
galal-hussein
30b1fb0e98 kine update 2020-04-23 00:46:46 +02:00
galal-hussein
94da8b8e12 update helm-controller 2020-04-23 00:34:19 +02:00
Erik Wilson
fec2c271c2 Check modification time before deploying manifests 2020-04-22 09:58:41 -07:00
Knic Knic
d919a0b998 Mock out rootlessports on windows 2020-04-21 15:43:36 -07:00
Joakim Roubert
ce109602cb package-cli: Remove superfluous file exist check
The command rm -f will succeed even if run for a file that does not
exist. Hence it is superfluous to existence check a file that we want
to purge with rm -f, which makes the script a bit simpler to read.

Change-Id: If4eafea568301f418e0dd533e7175781ebf6000a
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-21 14:26:05 +02:00
Joakim Roubert
9307fcc332 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Change-Id: Id81a05dcf2dadcc60ef8171494a284fbe1630400
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-21 13:33:29 +02:00
Erik Wilson
553517e194
Merge pull request #1569 from ibuildthecloud/k3s-v1.18
k8s 1.18
2020-04-19 13:44:08 -07:00
Erik Wilson
0434eea44c Disable conformance test for arm64 2020-04-19 08:52:51 -07:00
Erik Wilson
3986b4787f Update to k8s 1.18.2 2020-04-19 08:46:09 -07:00
Darren Shepherd
46c7aba40a Update sonobouy to v0.17.2 2020-04-18 23:59:08 -07:00
Darren Shepherd
dfcbd5a3c1 Update generated code 2020-04-18 23:59:08 -07:00
Darren Shepherd
a8d96112d9 Updates for k8s v1.18 support 2020-04-18 23:59:08 -07:00
Darren Shepherd
53ed13bf29 Update vendor 2020-04-18 23:59:08 -07:00
Knic Knic
7f77c9a3c8 enable agent to start on windows 2020-04-18 23:43:08 -07:00
Joakim Roubert
b313c196a1 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier;
also using the -f flag for ln rather than having a separate rm step.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-16 08:47:41 +02:00
Erik Wilson
c14dac9aa4
Merge pull request #1580 from erikwilson/use-channel-server-install-script
Use channel server for install script
2020-04-14 13:41:49 -07:00
Erik Wilson
5c3d7508a7
Merge pull request #1627 from loganhz/docker
Update docker vendor
2020-04-14 10:48:30 -07:00
Maciej Kucia
cae65ae648 install: Properly detect enabled selinux 2020-04-13 12:13:50 +08:00
loganhz
48eb3d8111 Update docker vendor 2020-04-10 17:27:02 +08:00
Erik Wilson
dddbd16305 Use channel server for install script 2020-04-08 14:32:52 -07:00
Erik Wilson
b7ec43c997 Add channel yaml to k3s 2020-04-06 09:45:19 -07:00
Dario Nieuwenhuis
cd0b58e920 Correctly quote auth strings in containerd config. Fixes #1610 2020-04-03 02:42:01 +02:00
Erik Wilson
ce10c1f080 Check for k3s policy and provide install hints 2020-03-30 08:56:15 -07:00