niusmallnan
d713683614
Add retry backoff for starting network-policy controller
...
Signed-off-by: niusmallnan <niusmallnan@gmail.com>
2020-06-30 09:25:09 +08:00
David Nuzik
6c32700616
Update bug_report template
2020-06-29 18:16:35 -07:00
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
Craig Jellick
a3b8dcff4e
Don't require signing for org members
...
Signed-off-by: Craig Jellick <craig@rancher.com>
2020-06-29 11:26:06 -07:00
Jacob Blain Christen
3197d206ce
Merge pull request #1892 from dweomer/servicelb/node-role
...
servicelb: fix ineffective toleration
2020-06-26 13:55:57 -07:00
Craig Jellick
5090503014
Add CODEOWNERS file
...
Signed-off-by: Craig Jellick <craig@rancher.com>
2020-06-26 09:19:19 -07:00
Josh McSavaney
12235fe733
Perform basic validation on K3S_URL in install.sh
...
This allows us to fail quickly if we're handed a schemeless or plain
HTTP URI, rather than having the agent barf when the systemd unit
starts. For an operator, this makes for a cleaner error up front and
clear messaging for how to fix the situation.
Signed-off-by: Josh McSavaney <mcsaucy@csh.rit.edu>
2020-06-25 20:23:28 -04:00
Brian Downs
dd25c2b736
Merge pull request #1952 from briandowns/update_contributing
...
Update Contribution Doc
2020-06-24 19:47:40 -07:00
Brian Downs
74487807ca
update contribution doc
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-06-24 19:19:55 -07:00
Craig Jellick
cef1f1d641
Move docs contributing to contributing guide
...
Signed-off-by: Craig Jellick <craig@rancher.com>
2020-06-24 17:52:05 -07:00
Brian Downs
d0c95a307c
Merge pull request #1950 from briandowns/issue-1582
...
Make packaged crictl work when using Docker
2020-06-24 16:03:00 -07:00
Brian Downs
58aae57e12
set environment variable and create config for crictl
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-06-24 14:26:44 -07:00
Brian Downs
63dbf806df
create symlink from docker sock to where crictl in k3s is looking for the sock to use
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-06-23 18:42:45 -07:00
Hussein Galal
7f9bf0b6d4
update k8s to 1.18.4 ( #1945 )
2020-06-24 00:12:14 +02:00
Craig Jellick
198a83a1fc
Merge pull request #1942 from cjellick/contrib-dco
...
Simplify contributing doc
2020-06-23 12:47:16 -07:00
Jacob Blain Christen
233e85ec05
Merge pull request #1933 from srgvg/openrc-keep-restarting
...
Always keep restarting k3s process by openrc
2020-06-23 10:55:24 -07:00
Craig Jellick
e94eb6ee69
Simplify CONTRIBUTING.md
...
Make the contributing guide less prescriptive and include the
DCO.
2020-06-23 10:41:15 -07:00
Craig Jellick
57fb6603fc
Merge pull request #1941 from cjellick/master
...
Add contributing doc
2020-06-23 08:58:06 -07:00
Craig Jellick
126191f691
Add contributing doc
2020-06-23 08:54:18 -07:00
Hussein Galal
f5ee757b86
Add cluster dns configmap ( #1785 )
2020-06-22 23:06:01 +02:00
Hussein Galal
01035ba9df
Update helm controller to 0.6.3 ( #1931 )
...
* update helm controller to 0.6.3
* update klipper-helm to v0.2.7
2020-06-21 19:12:54 +02:00
Serge van Ginderachter
921e11930e
Always keep restarting k3s process by openrc
...
When for some reason, k3s crashes, and can't startup again, e.g. when
the data backend is not available (dqlite crashed, database server is
offline, ...), on openrc systems, supervise-daemon will try to restart
it, as per supervise-daemon(8):
respawn-max:
Sets the maximum number of times a daemon will be respawned during
a respawn period. If a daemon dies more than this number of times
during a respawn period, will give up trying to respawn it and exit.
The default is 10, and 0 means unlimited.
Setting respawn-max to 0, makes sure a k3s process on openrc systems will
keep trying to come online, even if the database backend is offline for a
longer period of time.
This aligns the openrc service configuration with the systemd
configuration, which has
Restart=always
RestartSec=5s
2020-06-19 10:47:59 +02:00
David Nuzik
556d2ad65c
Merge pull request #1915 from davidnuzik/update-stable-channel-june
...
Update stable channel to v1.18.4+k3s1
2020-06-17 18:51:41 -07:00
David Nuzik
1ab870959f
Update stable channel to v1.18.4+k3s1
2020-06-16 19:27:41 -07:00
Brian Downs
7f4f237575
added profile = false args to api, controllerManager, and scheduler ( #1891 )
2020-06-12 21:09:41 +02:00
Jacob Blain Christen
1ed12cffa0
servicelb: fix ineffective toleration
...
noderole.kubernetes.io/master -> node-role.kubernetes.io/master
2020-06-11 14:39:12 -07: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
Eric Leu
b966ad18da
update install.sh to respect K3S_TOKEN_FILE
2020-05-31 14:48:10 -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