Commit Graph

525 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
fc8eddae29 Appease kubelet warnings on docker for mac
On my environment, the name=systemd entry in /proc/self/cgroup
looks like:

	13:name=systemd:/docker/917b388b40c70b17a3283d852d38bfcdc84d1bf8242e32a779eacd98a610e499

Kubelet periodically complains like:

	E0802 06:42:52.667123       1 summary_sys_containers.go:47] Failed to get system container stats for "/docker/917b388b40c70b17a3283d852d38bfcdc84d1bf8242e32a779eacd98a610e499/kube-proxy": failed to get cgroup stats for "/docker/917b388b40c70b17a3283d852d38bfcdc84d1bf8242e32a779eacd98a610e499/kube-proxy": failed to get container info for "/docker/917b388b40c70b17a3283d852d38bfcdc84d1bf8242e32a779eacd98a610e499/kube-proxy": unknown container "/docker/917b388b40c70b17a3283d852d38bfcdc84d1bf8242e32a779eacd98a610e499/kube-proxy"
2019-08-02 16:22:51 +09:00
Erik Wilson
c170115c54
Merge pull request #676 from erikwilson/go-proxy
Add go load-balancing proxy
2019-08-01 16:03:41 -07:00
Erik Wilson
5deef13086
Merge pull request #687 from yamt/cacerts
Simplify startWrangler a bit
2019-08-01 16:01:42 -07:00
Erik Wilson
be0cc6e943
Merge pull request #690 from erikwilson/regenerate-certs-on-ca-change
Regenerate server certs if CA changed
2019-08-01 15:59:54 -07:00
Erik Wilson
739e4214bd
Merge pull request #693 from yamt/insecure-bootstrap
Fix bootstrap with non-tls etcd
2019-07-31 14:18:35 -07:00
Erik Wilson
506d8cdcc3
Merge pull request #691 from erikwilson/early-return-routes
Fix missing early returns on routes
2019-07-31 14:12:09 -07:00
Erik Wilson
4784c0b1be
Merge pull request #672 from yamt/compose2
Remove docker-compose-agent.yml
2019-07-31 14:11:09 -07:00
Erik Wilson
3e7a330e39
Merge pull request #685 from yamt/remove-proxy
Remove pkg/proxy which is no longer used
2019-07-31 14:10:35 -07:00
YAMAMOTO Takashi
d78701acb1 Fix bootstrap with non-tls etcd 2019-07-31 16:14:13 +09:00
Erik Wilson
fdb997b4ee Fix missing early returns on routes 2019-07-30 15:44:34 -07:00
Erik Wilson
a74d9e5282 Regenerate server certs if CA changed 2019-07-30 14:55:25 -07:00
Erik Wilson
46894ab74b Update vendor 2019-07-30 09:53:15 -07:00
Erik Wilson
a17e336993 Use go tcpproxy 2019-07-30 09:53:15 -07:00
YAMAMOTO Takashi
88e668cf6f Simplify startWrangler a bit
We no longer make dynamiclistener generate CA certs.
2019-07-30 10:16:45 +09:00
YAMAMOTO Takashi
07eeb56d81 Remove pkg/proxy which is no longer used 2019-07-29 12:49:13 +09:00
Erik Wilson
4a65764c3b
Merge pull request #682 from erikwilson/sonobuoy-logs-cleanup
Cleanup sonobuoy logging
2019-07-27 17:24:31 -07:00
Erik Wilson
9452dec078 Cleanup sonobuoy logging 2019-07-27 17:01:10 -07:00
Erik Wilson
c86e95062a
Merge pull request #673 from yamt/sort-args
Sort args to make log outputs a bit more deterministic
2019-07-27 07:58:16 -07:00
Erik Wilson
23501c08cb
Merge pull request #662 from cryptk/systemd-delay
Add a little extra delay between restart attempts
2019-07-27 07:57:45 -07:00
Erik Wilson
00901bfb39
Merge pull request #680 from erikwilson/haste-logs
Save failed logs to haste
2019-07-26 15:25:35 -07:00
Erik Wilson
de8b811ff6 Save failed logs to haste 2019-07-26 15:22:35 -07:00
Chris Jowett
612b2c1596 Add RestartSec to ansible systemd unit files 2019-07-26 13:05:54 -05:00
cryptk
f9dd8dedc8 Add a little extra delay between restart attempts
This extra delay prevents systemd from determining that the service is restarting "too quickly".
2019-07-25 13:02:19 -05:00
YAMAMOTO Takashi
35d972fd72 Sort args to make log outputs a bit more deterministic 2019-07-24 13:16:41 +09:00
YAMAMOTO Takashi
21430e7ed3 Remove docker-compose-agent.yml
It's redundant as "docker-compose up node" does almost same thing.
2019-07-24 12:08:33 +09:00
YAMAMOTO Takashi
eb91c302a9 docker-compose: Remove depends_on
depends_on doesn't make much sense here as it does nothing about
the readiness of containers.

This allows "docker-compose up node" launch the agent without the server.
(Similarly to what docker-compose-agent.yml does)
2019-07-24 12:07:50 +09:00
Erik Wilson
1833b65fcd
Merge pull request #647 from yamt/remove-proxy-port
Remove agent proxy config which is no longer used
2019-07-23 15:51:51 -07:00
Erik Wilson
64d569ec37
Merge pull request #670 from curx/patch-1
bump k3s versions to v0.7.0
2019-07-23 15:19:46 -07:00
Thorsten Schifferdecker
f2654b039f
bump k3s versions to v0.7.0 2019-07-23 23:38:15 +02:00
Erik Wilson
dd4f343118
Merge pull request #657 from erikwilson/install-symlink-update
Install script symlink update
2019-07-23 10:54:46 -07:00
Erik Wilson
8014e1a506
Merge pull request #667 from yamt/compose
docker-compose: Bump image versions to v0.7.0
2019-07-23 10:51:10 -07:00
Erik Wilson
c443101bfc Install symlink skip or force, links ctr 2019-07-23 09:50:50 -07:00
YAMAMOTO Takashi
da73951082 docker-compose: Bump image versions to v0.7.0 2019-07-23 16:12:34 +09:00
Ray Tsang
32f1d66932 Added K3S_INSTALL_SKIP_SYMLINK flag 2019-07-19 11:27:57 -07:00
Erik Wilson
61bdd8521c
Merge pull request #655 from erikwilson/agent-systemd-notify
Update agent to notify systemd
2019-07-18 06:59:38 -07:00
Erik Wilson
e1162c7cfa Update agent to notify systemd 2019-07-18 06:40:39 -07:00
Erik Wilson
bb44211f51
Merge pull request #654 from erikwilson/cleanup-tunnel
Cleanup tunnel
2019-07-18 05:23:00 -07:00
Erik Wilson
8ce509ee6b Cleanup tunnel logs 2019-07-18 05:00:07 -07:00
Erik Wilson
0594b2bc9e Update vendor remotedialer 2019-07-18 04:58:06 -07:00
Erik Wilson
7949e50c05 Update vendor kvsql 2019-07-18 04:55:12 -07:00
Erik Wilson
75b8d71e77
Merge pull request #652 from erikwilson/update-tunnel-wait
Fix tunnel endpoint upgrade
2019-07-17 18:39:45 -07:00
Erik Wilson
23b0797578 Add context to tunnel connect 2019-07-17 18:15:15 -07:00
Erik Wilson
b93b4732eb Start endpoint tunnel watch before waiting 2019-07-17 17:13:40 -07:00
Erik Wilson
33a59542df
Merge pull request #649 from erikwilson/update-dynamiclistener
Update dynamiclistener
2019-07-17 17:00:17 -07:00
Erik Wilson
25e9cfb0cc Update dynamiclistener 2019-07-17 15:05:54 -07:00
Erik Wilson
2d32337334
Merge pull request #650 from erikwilson/update-bootstrap
Bootstrap node key files & fix permissions
2019-07-17 14:22:05 -07:00
Erik Wilson
850745c718
Merge pull request #635 from pieterv-icloud-com/ansible-symlinks
Ansible create symlinks for kubectl and crictl
2019-07-17 14:21:01 -07:00
Erik Wilson
2379ef6a85
Merge pull request #644 from yamt/bootstrap-data-comment
Add a few comments in bootstrap.go
2019-07-17 14:15:09 -07:00
Erik Wilson
2f4d2838ea Bootstrap node key files & fix permissions 2019-07-17 13:57:33 -07:00
Erik Wilson
d684669d3c
Update README fix docs site link 2019-07-17 12:46:05 -07:00