1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 19:25:44 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
galal-hussein
3694d16212 Add Azure cloud provider 2018-03-28 21:46:28 +02:00
galal-hussein
c307bca304 Set timeouts for docker dialer 2018-03-27 23:07:16 +02:00
galal-hussein
6e7e18ad1e Update workers only option
Disable port check
2018-03-20 15:17:35 +02:00
Bill Maxwell
ad0bc6c0aa Leverage global SSHAgentAuth setting
This addresses users issues in being unable to use RKE command line
using SSH_AUTH_SOCK. On OSX the socket env var is set, but nothing
is listening. Also, Linux users have reported issues. To address this
the default mode is to not use SSH Agent Auth. A user must set it
explicitly in either the config file or on the CLI. The only way
to use a passphrase protected key file is with a properly configured
SSH Agent and using SSH Agent Auth.
2018-03-05 17:52:43 -07:00
Bill Maxwell
f0d1689889 Use SSH Agent
This defaults to using the SSH Agent or a passwordless key file.
It also refactors the Dialer methods a bit to simplify and decouple
the host object from the dialer.
2018-02-26 16:49:56 -07:00
Alena Prokharchyk
e1aca4f37d
Merge pull request #249 from superseb/configurable_sshport
SSH port is configurable
2018-02-21 16:36:07 -08:00
galal-hussein
c02873b8e9 Ignore inactive hosts 2018-02-22 02:16:51 +02:00
Sebastiaan van Steenis
56da1fe849 SSH port is configurable 2018-02-21 13:04:06 +01:00
Alena Prokharchyk
9e30c7ec16
Merge pull request #361 from galal-hussein/rke_remove_etcd
Fix rke remove with etcd dir
2018-02-20 09:25:03 -08:00
galal-hussein
b15f36b985 Fix rke remove with etcd dir 2018-02-17 05:14:12 +02:00
Sebastiaan van Steenis
086201a5f5 Use configured docker daemon root dir on kubelet 2018-02-16 18:10:14 +01:00
galal-hussein
11d7aa0e16 Start cluster with only etcd nodes 2018-02-16 03:39:13 +02:00
Alena Prokharchyk
5b7e5d9c30
Merge pull request #340 from galal-hussein/fix_duplicate_addresses
add /var/lib/cni to kubelet mounts
2018-02-15 16:04:56 -08:00
galal-hussein
289c3d5d20 add /var/lib/cni to kubelet mounts 2018-02-14 23:14:21 +02:00
galal-hussein
c2c1804500 External etcd 2018-02-14 22:58:35 +02:00
galal-hussein
59182cee62 [RKE Refactor] Generate cluster and node certs 2018-02-08 20:15:36 +02:00
Alena Prokharchyk
c19059200b
Merge pull request #268 from galal-hussein/atomic_centos
Add z option to volume binds
2018-02-06 16:22:05 -08:00
galal-hussein
cd1e5cf610 Custom dialers and remove local fixes 2018-02-03 03:04:53 +02:00
galal-hussein
f8f877ba27 Add nginx ingress controller and labels/taints sync 2018-02-01 23:28:31 +02:00
moelsayed
4159d7f156 Pass private registries list through the function calls 2018-01-31 19:50:55 +02:00
galal-hussein
aed28bb44e Add z option to volume binds 2018-01-25 23:36:20 +02:00
galal-hussein
c425298f69 revert back to ignore docker version 2018-01-22 21:31:08 +02:00
galal-hussein
9e29b753cb Add unschedulable kubelet on etcd nodes 2018-01-19 20:18:51 +02:00
moelsayed
4c08db1d53 recoverable provisioning 2018-01-13 05:57:28 +02:00
Darren Shepherd
9e5d469299
Merge pull request #180 from galal-hussein/local_rke
Add local option to deploy/remove kubernetes on local machine
2018-01-12 22:16:15 +00:00
galal-hussein
5596b0e5e0 Fix regression with passphrased keys 2018-01-12 22:28:41 +02:00
galal-hussein
8685523038 Add local option to deploy/remove kubernetes on local machine
Remove insecure port from kube-api

Use cluster.yml config

Pass config dir to cluster up/remove
2018-01-12 20:46:09 +02:00
galal-hussein
67774f7e30 Handle add/remove for etcd nodes
Handle adding more than one etcd at once
2018-01-12 03:57:37 +02:00
Darren Shepherd
9f4bc6f2d6
Merge pull request #214 from ibuildthecloud/master
Add context.Context to everything and also make logging pluggable
2018-01-09 22:30:01 +00:00
Darren Shepherd
d8dd29765f Add context.Context to everything and also make logging pluggable 2018-01-09 15:18:01 -07:00
galal-hussein
203bd005e3 Change Ignore to enforce docker version 2018-01-08 22:25:24 +02:00
galal-hussein
ed7ca110b0 Add healtcheck for services components
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00
galal-hussein
fd47cdc80d Add Dialer Factory 2017-12-16 07:23:58 +02:00
moelsayed
c671552a27 add ignore_docker_version 2017-12-15 05:02:44 +02:00
galal-hussein
67c4214906 Using a custom dialer for cluster hosts 2017-12-12 01:50:10 +02:00
galal-hussein
bab8205b5f Fix SSH panic if key path doesn't exist 2017-12-11 23:56:00 +02:00
galal-hussein
de35ae3bae Fix redundant ssh tunnels for hosts 2017-12-09 03:23:02 +02:00
moelsayed
0ee002b2cf Add user-configurable images
Refactor configuration defaults
 Add comments to config
 Add configurable utility images
 Add configurable network plugin images
 Add configurable kubedns images
2017-12-05 20:34:54 +02:00
Darren Shepherd
df7e40188e Refactor types 2017-12-05 10:29:50 -07:00
Sebastiaan van Steenis
bd8a966ce6 Add host connectivity and Docker version check 2017-12-04 23:15:33 +01:00
galal-hussein
f7905e2dfd Add ssh key and path per host 2017-12-04 22:09:57 +02:00
galal-hussein
d1f78f0b40 Refactor reconcilation
Add role based add/delete for services

Use pointers for hosts

Consistent log format
2017-12-02 20:37:04 +02:00
moelsayed
30eb95c671 Warn not fatal if deleted host is not found 2017-11-30 23:16:58 +02:00
galal-hussein
41c48877ba Structure and config changes 2017-11-28 23:55:43 +02:00
galal-hussein
3f7f93c2ab Clean host after removal
return error in dialer
2017-11-26 20:41:10 +02:00
Hussein Galal
626c0c904a
Merge pull request #28 from moelsayed/add_calico
Add initial support for additional network plugins
2017-11-22 02:45:18 +02:00
moelsayed
42b22e69b0 Add initial support for additional network plugins
Refactor DeployNetworkPlugin()
Add calico network plugin
Add canal network plugin
2017-11-22 02:43:55 +02:00
galal-hussein
c383436411 Add cluster validation and regenerate kubeapi cert 2017-11-21 21:25:25 +02:00
galal-hussein
892e9ab5d9 Cluster Down/Remove
Reverse order and add force flag
2017-11-21 01:23:18 +02:00
Hussein Galal
5dfe2a0fc8
Merge pull request #19 from galal-hussein/add_remove
Add/Remove Cluster plane and Worker hosts
2017-11-18 14:58:28 +02:00
galal-hussein
8e302c03a4 Add/Remove Cluster plane and Worker hosts 2017-11-18 14:35:10 +02:00
galal-hussein
ab3ef4e02d Fix encrypted key issue 2017-11-17 23:40:42 +02:00
galal-hussein
37b6c8a65e Update rancher types 2017-11-14 20:11:21 +02:00
galal-hussein
40b13446a7 Use rancher/types 2017-11-13 23:28:38 +02:00
galal-hussein
3cfe3d7ea8 Use RKE cluster controller structures 2017-11-09 21:50:49 +02:00
galal-hussein
a3e0d7203b unit tests and go lint fixes
Add k8s operation test
2017-11-07 23:27:30 +02:00
galal-hussein
9974d53e57 Use Cluster structure
Use separate cluster package

Save cluster state and certs to kubernetes

Handle Remove and sync cluster state/crts

Reuse kubernetes client and combine image and version

Separate building functions and small fixes
2017-11-06 19:40:20 +02:00
moelsayed
dbc7dfaafe renamed ControlPlaneIP 2017-11-06 19:40:19 +02:00
moelsayed
5b730bcf6a add support for specifc control plane IP per host 2017-11-06 19:40:19 +02:00
galal-hussein
ad34392a3c Add default cluster config file and return service container pointer
Add more generic functions to go services

Add x509 authentication
2017-11-06 19:40:15 +02:00
moelsayed
405a709a69 remove sudo 2017-10-30 09:09:40 +02:00
moelsayed
00628a4423 some small fixes
add debugging to hosts.go
add kubelet and kubeproxy defaults to cluster file
add more service configuration
remove hosts sudo
2017-10-30 08:31:06 +02:00
galal-hussein
f7649289d4 Set up kubernetes components 2017-10-29 11:45:21 +02:00