Commit Graph

1281 Commits

Author SHA1 Message Date
Matthias Schneider
56a083c812 fixed panic in network_policy_controller
I have rebooted a newly created k3s etcd cluster and this panic was triggered:

    ```
    k3s[948]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x45f2945]
    k3s[948]: goroutine 1 [running]:
    k3s[948]: github.com/rancher/k3s/pkg/agent/netpol.NewNetworkPolicyController(0xc00159e180, 0x61b4a60, 0xc006294000, 0xdf8475800, 0xc011d9a360, 0xc, 0x0, 0xc00bf545b8, 0x2b2edbc)
    k3s[948]:         /home/x/git/k3s/pkg/agent/netpol/network_policy_controller.go:1698 +0x275
    ```

Signed-off-by: Matthias Schneider <ms@wck.biz>
2020-06-29 20:49:24 +02:00
Darren Shepherd
af10a574f1
Merge pull request #1877 from galal-hussein/update_helm_klipper
update helm and vendor update
2020-06-08 17:16:45 -07:00
galal-hussein
10db6a4c51 update klipper image im image-list 2020-06-08 21:57:29 +02:00
galal-hussein
42eef33d85 update helm and vendor update 2020-06-08 20:41:37 +02:00
Darren Shepherd
5f26de74c2
Merge pull request #1871 from galal-hussein/update_helm_2
upgrade helm to v0.6.1
2020-06-08 10:47:38 -07:00
galal-hussein
ac7eaea9ea upgrade helm to v0.6.1 2020-06-08 18:45:47 +02:00
Darren Shepherd
fe73379371
Merge pull request #1770 from ibuildthecloud/etcd
Add embedded etcd support
2020-06-07 10:41:39 -07:00
Darren Shepherd
f4ff2bf3a8 Update vendor 2020-06-06 22:38:12 -07:00
galal-hussein
c580a8b528 Add heartbeat interval and election timeout 2020-06-06 16:39:42 -07:00
Darren Shepherd
6b5b69378f Add embedded etcd support
This is replaces dqlite with etcd.  The each same UX of dqlite is
followed so there is no change to the CLI args for this.
2020-06-06 16:39:41 -07:00
Darren Shepherd
39571424dd Generate etcd certificates 2020-06-06 16:39:41 -07:00
Darren Shepherd
a18d387390 Refactor clustered DB framework 2020-06-06 16:39:41 -07:00
Darren Shepherd
4317a91b96 Delete dqlite 2020-06-06 16:39:41 -07:00
Darren Shepherd
7e59c0801e Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
Erik Wilson
e4a76d5661
Merge pull request #1858 from dittos/upgrade-local-path-storage
Upgrade local-path-storage to v0.0.14
2020-06-05 09:45:28 -07:00
Craig Jellick
6dd6eed3ea
Merge pull request #1865 from catherineluse/patch-3
Explain where K3s docs source code is
2020-06-04 12:35:42 -07:00
Catherine Luse
9809e784a4
Explain where K3s docs source code is 2020-06-04 12:19:27 -07:00
Taeho Kim
0a30b92089
Update image-list.txt 2020-06-02 23:34:07 +09:00
Taeho Kim
3d59a85dae Upgrade local-path-storage to v0.0.14 2020-06-02 13:47:37 +00:00
David Nuzik
16c8554b5c
Merge pull request #1852 from davidnuzik/update-stable-cve
Update stable channel to v1.18.3+k3s1
2020-06-01 10:19:30 -07:00
David Nuzik
f87026d5b5 Update stable channel to v1.18.3+k3s1
* This version of k3s addresses two CVEs -- Please reference the release notes
2020-06-01 09:08:51 -07:00
Erik Wilson
02dccd328a
Merge pull request #1835 from evrardjp/remove-trailing-whitespaces
Remove trailing whitespaces
2020-05-28 17:07:01 -07:00
Erik Wilson
d4d99872ea
Merge pull request #1836 from briandowns/bump_cni_version
update CNI to v0.8.6-k3s1
2020-05-28 17:06:28 -07:00
Brian Downs
3864fa2ba8 update CNI to v0.8.6-k3s1 2020-05-28 14:44:03 -07:00
Jean-Philippe Evrard
eabc82c724 Remove trailing whitespaces
To please my OCD, and remove my editor flashing boxes,
I am removing trailing whitespaces. They have no purpose in life.
2020-05-27 17:27:30 +02:00
Erik Wilson
b237637338
Merge pull request #1833 from erikwilson/release-1.18
Update k8s 1.18.3
2020-05-27 05:03:00 -07:00
Erik Wilson
f1a01f4afb Update k8s 1.18.3 2020-05-26 15:59:35 -07:00
Erik Wilson
25d43177ff Bump golang to 1.13.11 2020-05-26 15:55:58 -07:00
Erik Wilson
43b9bf2e50
Merge pull request #1795 from StateFarmIns/support_for_setting_default_ssl_ciphers
Feature Request #1741: Update to set default CipherSuites
2020-05-15 09:41:37 -07:00
Erik Wilson
d10d6f7fb3
Merge pull request #1762 from consideRatio/coredns-readinessprobe
coredns: readiness- and livenessProbe tweaks (~15s -> ~3s startup)
2020-05-15 09:40:54 -07:00
David Nuzik
7352b92cd8
Merge pull request #1794 from davidnuzik/update-stable-channel
Bump stable version from v1.17.4 to v1.18.2
2020-05-13 13:55:22 -07:00
David Nuzik
f1c542a38e Bump stable version from v1.17.4 to v1.18.2
* Updates channel.yaml - replaces v1.17.4 with v1.18.2 which is now stable.
2020-05-13 09:45:39 -07:00
Chuck Schweizer
19c34bd12d Update to set default CipherSuites
The default CipherSuites need to be set to disable the insecure TLS 1.2 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 Cipher
2020-05-13 08:34:45 -05:00
Erik Wilson
689c2726e2
Merge pull request #1787 from St0rmingBr4in/move-contrib-ansible
contrib/ansible: Remove duplication and redirect to new repository
2020-05-12 10:17:55 -07:00
Julien DOCHE
55cca7bba3 contrib/ansible: Remove duplication and redirect to new repository
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-05-12 17:47:20 +02:00
Craig Jellick
773b8becc6
Merge pull request #1783 from cjellick/code-of-conduct
add code of conduct
2020-05-11 08:05:52 -07:00
Craig Jellick
2bd339f7c8 add code of conduct 2020-05-11 06:12:16 -07:00
Darren Shepherd
904af8fce7
Merge pull request #1765 from csschwe/support_tls_min_version
Feature Request #1741: Adding support for tls minimum version
2020-05-07 08:24:10 -07:00
Chuck Schweizer
ca9c9c2e1e Adding support for TLS MinVersion and CipherSuites
This will watch for the following kube-apiserver-arg variables and apply
them to the k3s kube-apiserver https listener.

  --kube-apiserver-arg=tls-cipher-suites=XXXXXXX
  --kube-apiserver-arg=tls-min-version=XXXXXXX
2020-05-07 09:27:09 -05:00
Erik Sundell
27ae2fb9c8 coredns: go generate 2020-05-07 16:21:46 +02:00
Darren Shepherd
cb4b34763e
Merge pull request #1759 from ibuildthecloud/background
Start kube-apiserver in the background
2020-05-06 21:50:48 -07:00
Darren Shepherd
e5fe184a44
Merge pull request #1757 from ibuildthecloud/separate-port
Add supervisor port
2020-05-06 21:32:45 -07:00
Darren Shepherd
072396f774 Start kube-apiserver in the background
In rke2 everything is a static pod so this causes a chicken and egg situation
in which we need the kubelet running before the kube-apiserver can be
launched.  By starting the apiserver in the background this allows us to
do this odd bootstrapping.
2020-05-06 21:17:23 -07:00
Craig Jellick
359b2ba790
Merge pull request #1769 from cjellick/channel-18
Add channels for 1.18
2020-05-06 18:08:25 -07:00
Craig Jellick
004e00b34f Add channels for 1.18 2020-05-06 17:43:39 -07:00
Craig Jellick
ad4c542ad5
Merge pull request #1735 from stellirin/performance
[systemd] Add value to LimitNOFILE due to performance problems
2020-05-06 16:37:37 -07:00
Erik Sundell
03bb1b9770 coredns: readiness- and livenessProbe tweaks
The readinessProbe was delaying the startup of coredns greatly. This
change brings startup times from ~15s to ~2-3s when testing locally. A
reduction of ~80%.

The livenessProbe would also take potentially more than a minute to
be declared unhealthy and restarted which is now tweaked down to about
30 seconds

For more information about the probes, see: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
2020-05-06 22:18:32 +02:00
Darren Shepherd
f38082673d
Merge pull request #1753 from ibuildthecloud/prepull
Support prepulling images on start
2020-05-05 22:11:52 -07:00
Darren Shepherd
74bcf4da0b
Merge pull request #1756 from ibuildthecloud/less-logging
Only echo Waiting for kubelet every 30 seconds
2020-05-05 22:07:50 -07:00
Darren Shepherd
b86256bf65
Merge pull request #1696 from ibuildthecloud/executor
Encapsulate execution logic
2020-05-05 16:01:31 -07:00