Austin Moore
4a88f7b5a5
Add ability to specify no ssh key by setting sshKeyName to empty
...
Add tests for no ssh key functionality
Add docs for setting no ssh key
Disable sshKey rendering for cloudformation if nosshkey is set
Fix broken test
make goimports
Fix
Formatting fix
Update kubernetes version for tests
Update expected test output
Fix imports in mesh.pb.go
Run hack/update-expected.sh
Change digital ocean logic to handle *string for SSHKeyName
Fix expected output
Missed a few
2020-01-15 15:24:32 -05:00
Ciprian Hacman
defcbe8151
protokube/pkg - fix static check
2019-12-20 20:17:19 +02:00
陈谭军
e197b32b0e
Merge branch 'master' into remove-some-unused-code
2019-11-13 09:50:30 +08:00
Kubernetes Prow Robot
e29a04e5af
Merge pull request #7854 from FayerZhang/master
...
fix golint failures
2019-11-07 11:37:43 -08:00
feifei.zhang@huawei.com
4b49412105
fix golint failures
2019-10-31 20:22:37 +08:00
Srikanth
60329f07db
Incorporate review comments
2019-10-30 20:09:45 +05:30
Srikanth
18ec58f28b
Incorporate review comments
2019-10-29 12:28:06 +05:30
Srikanth
cc80f6f766
Fix gofmt issues
2019-10-29 11:51:24 +05:30
Srikanth
dd8554e7e9
Remove unnecessary code
2019-10-29 09:40:38 +05:30
Srikanth
c52d4d9dbd
More updates to protokube seeding DO cloud provider
2019-10-29 09:40:38 +05:30
Srikanth
cb4a8ef6fc
Rebase with latest master
2019-10-29 09:40:38 +05:30
Srikanth
a4bae774cb
Initial changes for DO gossip seed provider
2019-10-29 09:38:48 +05:30
Jesse Haka
5e3b94ae17
use existing network and subnet
2019-10-27 08:21:25 +02:00
Kubernetes Prow Robot
7ca9531695
Merge pull request #7759 from beautytiger/dev-191008-clean
...
replace slice loop with append for simple and clear
2019-10-21 08:11:37 -07:00
tanjunchen
fa6d0130c8
remove unused functions and simplify return str
2019-10-15 23:54:10 +08:00
Kubernetes Prow Robot
211d272f80
Merge pull request #7760 from tanjunchen/fix-up-unnecessary-newline
...
remove the unnecessary newline and unused vars
2019-10-13 09:18:36 -07:00
Thomas Jackson
85db3dce27
make apimachinery
2019-10-10 13:13:38 -07:00
Thomas Jackson
cd8c743d1c
make gomod
2019-10-10 13:10:13 -07:00
Thomas Jackson
6acbfe661b
Move gossip implementations into a plugin interface
2019-10-10 13:09:22 -07:00
Thomas Jackson
0650848489
Add boilerplate to new files
2019-10-10 13:09:22 -07:00
Thomas Jackson
98352ffe2e
remove go-kit log
2019-10-10 13:09:22 -07:00
Thomas Jackson
0685357152
Move to fork
2019-10-10 13:09:22 -07:00
Thomas Jackson
421ee540b9
Add memberlist gossip option
2019-10-10 13:08:55 -07:00
tanjunchen
279c429abd
remove the unnecessary newline and unused vars
2019-10-08 22:43:10 +08:00
Guangming Wang
c295a49bb1
replace slice loop with append for simple and clear
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-08 20:21:09 +08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Thomas Jackson
bf8efa89d6
Make an actual deep-copy of the state
...
Before this patch this was creating a shallow copy, as the KVState was
copied but the underlying map (Records) wasn't.
Related to #7134
2019-07-09 09:40:19 -07:00
Justin SB
feec6820fe
Avoid concurrent write corruption to /etc/hosts
...
When we have multiple writers racing to write /etc/hosts, we could
have file corruption where we see a mix of both files.
We can't use a traditional atomic file write, because we are bind-mounting /etc/hosts.
Instead we write to /etc/hosts, pause, then re-read the contents. If
the contents don't match, we repeat. This will not result in fair
queuing, but will avoid corruption.
2019-05-07 11:41:36 -04:00
Justin SB
68e975cc74
/etc/hosts (gossip): Stronger logic
...
* Add a mutex around /etc/hosts updates (for a little extra safety)
* Don't write unchanged files
* Recover from out-of-sequence guard lines
* Add tests
Thanks to granular-ryanbonham for the suggestions & finding the issue!
2019-05-06 22:09:07 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
xichengliudui
3cd5c71330
Using const() defines constants together (part:3)
2019-04-11 15:19:27 -04:00
Justin Santa Barbara
1965db6605
Deep-copy proto state to prevent concurrent modification
...
Fix #6635
2019-03-30 02:23:11 -04:00
LilyFaFa
12d54b6a1f
support gossip for AliCloud
2019-03-15 15:26:12 +08:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
5cae86c2ce
dep ensure and gofmt updates
2019-01-16 15:09:20 -07:00
Jan Wozniak
6d3c9fe44f
protokube: add support for OpenStack
2019-01-16 09:25:58 -07:00
Justin Santa Barbara
9b70f75aa9
Remove gossip connection limit entirely
...
This simply turns off gossip connection limits, so we shouldn't ever have to manually configure them.
Follow on to #5077
2018-07-21 21:32:20 -04:00
k8s-ci-robot
2dbb6e84f6
Merge pull request #5077 from yancl/master
...
change gossip dns conn limit by ENV
2018-07-19 21:40:52 -07:00
Justin Santa Barbara
c6995e9a9a
gossip: create zone in protokube
...
We were doing this implicitly previously by creating the etcd records.
As etcd-manager doesn't need to create gossip records, we instead
create a zone explicilty.
2018-06-14 17:43:49 -04:00
liang
8d3ad44137
add err to log
2018-05-02 02:16:40 +00:00
liang
ebfb3c241b
change gossip dns conn limit by ENV
2018-04-28 15:50:19 +00:00
Kubernetes Submit Queue
b44d894813
Merge pull request #3860 from justinsb/batching
...
Automatic merge from submit-queue.
Copy dnsprovider into our code, implement route53 batching
Fixes #3121
2017-12-15 15:44:12 -08:00
Justin Santa Barbara
6d166a41dd
Refactor protokube hosts file into its own package
...
So we can bring this in without our gossip layer
This supports an imminent implementation that uses DNS-SD
2017-12-15 01:22:51 -05:00
Justin Santa Barbara
f03cc5dbd9
Update dnsprovider imports to use our version
2017-12-13 20:43:01 -05:00
Justin Santa Barbara
67b434fa6a
Don't use gazelle proto generation for our code
...
We're still checking in the generated pb.go file, for now.
2017-11-06 17:28:40 -05:00
chrislovecnm
609e268a1d
gazelle updates with new bazel version
2017-11-05 17:41:53 -07:00
chrislovecnm
1e418c3e13
more goimport updates
2017-11-04 10:03:02 -06:00
chrislovecnm
4711d1596e
update to imports that apimachinery is doing now automatically
2017-10-27 14:28:48 -06:00
Justin Santa Barbara
8c16d05a95
Reduce log level in protokube
2017-10-13 01:44:14 -04:00
Justin Santa Barbara
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -04:00