Justin Santa Barbara
5ebbfc96b9
Replace deprecated method calls to google cloud libraries
...
Required for static-check to pass.
2020-01-17 06:38:43 -05:00
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
Justin Santa Barbara
fc21f4255f
Replace kubernetes mount code with utils
...
This will remove one of the main dependencies on the
kubernetes/kubernetes repo.
2020-01-04 17:34:31 -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
d237a4cb04
Code cleanup for PR
2019-10-29 09:45:30 +05:30
Srikanth
afe59ba7cc
Remove clusterID to be passed as a parameter for protokube
2019-10-29 09:40:38 +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
hwdef
3264e3b69d
fix static check
2019-10-28 10:24:30 +08:00
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
Justin SB
b6862103bb
Change default port for memberlist from 3997
...
We had a port collision on 3997; change the default memberlist ports
to avoid the collision (we haven't shipped a release with this in it).
Also create a go file so that we can use constants to keep track of
our port numbers, rather than magic values.
2019-10-14 07:26:27 -04: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
Kubernetes Prow Robot
34c7d5a64a
Merge pull request #7755 from tanjunchen/fix-up-static-error
...
fix-up staticcheck error
2019-10-13 08:20:35 -07:00
Kubernetes Prow Robot
0c66a304c3
Merge pull request #7754 from tanjunchen/fix-up-gosimple-error
...
fix-up gosimple check error
2019-10-12 11:18:44 -07:00
Thomas Jackson
14a60a53c9
Enable primary=mesh secondary=memberlist by default
2019-10-10 13:21:00 -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
tanjunchen
28fdb358f8
fix-up staticcheck error
2019-10-08 13:53:04 +08:00
tanjunchen
43bf6bdab6
fix-up gosimple check error
2019-10-07 11:59:57 +08:00
Peter Rifel
4c66dd3918
Check for error when describing openstack instances
2019-09-27 12:51:19 -07:00
Kubernetes Prow Robot
942c8915db
Merge pull request #7496 from justinsb/label_controller
...
kops-controller
2019-09-27 03:43:35 -07:00
Justin SB
728e582360
Fill out kops controller functionality
...
k8s 1.16 requires that we move label setting away from the kubelet, to
a central controller. kops-controller is that controller.
2019-09-25 12:04:34 -04:00
Peter Rifel
c8d424dd87
Fix some staticcheck warnings
2019-09-25 06:35:25 -07:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
8e2dbb6a99
Bootstrap: protokube labels its own node with node-role label
...
As of k8s 1.16, the node-role label is protected for security reasons.
We will introduce a controller to set those labels generically.
However, we need these labels to run the controller (only) on master
nodes.
To solve this bootstrapping problem, we use protokube to apply the
master role node labels to the master node only. This isn't a
security problem because we assume that protokube on the master is
highly trusted - we are still administering labels centrally.
Then kops-controller can use this label to target the master nodes,
and run a central label controller.
2019-09-08 20:51:00 -04:00
Justin SB
17186ff7ba
Generated vendor & bazel from `make gomod`
...
Automatically generated vendor & BUILD.bazel files
2019-08-25 16:00:41 -04:00
Justin SB
b1f8f84306
Code changes for 1.15
2019-08-25 16:00:39 -04:00
928234269
09f564da3b
fix typo "specifiction" -> "specification"
...
Signed-off-by: 928234269 <longfei.shang@daocloud.io>
2019-08-20 17:29:19 +08:00
ethan
0c6b86ac59
protokube/gce_volume.go: error info correction
...
Signed-off-by: ethan <guangming.wang@daocloud.io>
2019-08-06 22:03:14 +08:00
Kubernetes Prow Robot
dd6b0314fc
Merge pull request #6897 from vainu-arto/set-priority-for-static-pods
...
Set priority for static pods
2019-07-12 00:41:07 -07: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
Arto Jantunen
238fdaf1c1
Give etcd pods system-cluster-critical priority
...
Again unlikely to matter since master nodes aren't expected to run out of
capacity, done mostly for completeness (all pods should usually have a
priority defined if the cluster is running with PodPriority enabled).
2019-05-09 16:03:08 +03: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