1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-19 01:36:32 +00:00
Commit Graph

185 Commits

Author SHA1 Message Date
galal-hussein
cb50672071 Generate system image list for k8s versions 2018-08-30 15:28:58 -07:00
galal-hussein
0d0ec5c7c4 Use default docker bridge network instead of creating new network 2018-08-15 09:35:36 -07:00
Sebastiaan van Steenis
caa2c524a6 Misc typos/definitions 2018-07-22 08:37:25 -07:00
Sebastiaan van Steenis
8231606b2a Move local check to top like in up 2018-07-11 12:54:58 -07:00
galal-hussein
247f4c9450 Add dind mode to rke 2018-07-10 15:51:17 -07:00
Sebastiaan van Steenis
a330cfb907 Make cluster.yml check the first check 2018-06-29 11:24:30 -07:00
moelsayed
557e9a7bde Move interactive image config out of services 2018-06-18 13:25:53 -07:00
galal-hussein
2da8682463 Add certificate bundle backup with etcd snapshot-save 2018-06-07 16:40:41 -07:00
galal-hussein
4b4ec352ae Change backup to snapshot in etcd 2018-05-18 00:34:12 +02:00
galal-hussein
29db257875 change the etcd backup to etcd snapshot-save 2018-05-17 09:05:34 -07:00
Bill Maxwell
73e56b0fbb Added flag to ignore docker version 2018-05-16 14:01:31 -07:00
galal-hussein
a3416e6b92 Etcd Backup/restore 2018-05-09 19:39:19 +02:00
galal-hussein
838928978a Add updated cluster config to the k8s state 2018-04-27 15:07:50 -07:00
Alena Prokharchyk
bcb9cf2a2b
Merge pull request #475 from dahendel/addons-prompt
Prompt for addon paths and urls
2018-04-20 15:26:24 -07:00
Darren Shepherd
23ec8ebb36 Return error when a host is inactive 2018-04-17 23:42:59 -07:00
dhendel
ab61ac5499 Added prompt for addon paths and urls 2018-04-03 10:59:08 -05:00
Darren Shepherd
2c79e9bfc5 ClusterUp return certs 2018-04-02 04:03:43 -07:00
Darren Shepherd
b841604933 Revert "Make etcd provisioning a public API"
This reverts commit d2c58fb8e6.
2018-04-02 04:03:43 -07:00
Darren Shepherd
d2c58fb8e6 Make etcd provisioning a public API 2018-03-31 04:00:50 -07:00
moelsayed
ef7b997e2a Log RKE components to a specific location 2018-03-21 22:29:09 +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
Darren Shepherd
c3d3d013dc Add option to use kubectl to deploy 2018-03-01 14:35:58 -07:00
galal-hussein
bfa51fd41c extract apply authz resource function 2018-02-26 16:04:19 -07:00
moelsayed
eddb9ec56b Use default images from types 2018-02-26 21:30:52 +02:00
Sebastiaan van Steenis
56da1fe849 SSH port is configurable 2018-02-21 13:04:06 +01:00
moelsayed
03673b8f22 Add support for custom WrapTransport for Kubernetes Client 2018-02-20 20:45:32 +02:00
galal-hussein
11d7aa0e16 Start cluster with only etcd nodes 2018-02-16 03:39:13 +02:00
galal-hussein
59182cee62 [RKE Refactor] Generate cluster and node certs 2018-02-08 20:15:36 +02:00
galal-hussein
d99efdc60f rke refactoring - configure cluster method 2018-02-08 05:13:06 +02:00
galal-hussein
cd1e5cf610 Custom dialers and remove local fixes 2018-02-03 03:04:53 +02:00
moelsayed
9320a57949 Pre-pull k8s images 2018-02-02 00:05:15 +02:00
galal-hussein
f8f877ba27 Add nginx ingress controller and labels/taints sync 2018-02-01 23:28:31 +02:00
galal-hussein
0ef0a17010 Add generic generation for pki objects and etcd TLS 2018-01-25 20:38:07 +02:00
moelsayed
7fada001d3 Fix port-check update issue 2018-01-19 01:54:02 +02:00
moelsayed
c815ef5751 Add open port checks 2018-01-17 23:45:29 +02:00
galal-hussein
447eb6a479 make cluster.yml optional in --local 2018-01-15 06:36:28 +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
d8dd29765f Add context.Context to everything and also make logging pluggable 2018-01-09 15:18:01 -07:00
galal-hussein
bb008ba58a Save certificate after deploying control plane 2018-01-02 23:27:13 +02:00
galal-hussein
c5d4229409 Minor fixes 2017-12-21 23:12:26 +02:00
Alena Prokharchyk
e6c3f50a4d
Merge pull request #170 from galal-hussein/healthcheck_validation
Add healthcheck for services components
2017-12-20 13:32:00 -08:00
galal-hussein
ed7ca110b0 Add healtcheck for services components
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00
moelsayed
2011a2cf01 Enable PodSecurityPolicy support 2017-12-20 23:15:21 +02:00
Alena Prokharchyk
68a3ef2a43
Merge pull request #154 from galal-hussein/dialer_factory
Add Dialer Factory and receive rkeConfig instead of cluster yaml
2017-12-15 21:28:52 -08:00
galal-hussein
fd47cdc80d Add Dialer Factory 2017-12-16 07:23:58 +02:00
moelsayed
8ea65915d3 Enable RBAC and needed addons/network plugin configuration 2017-12-16 05:41:18 +02:00
moelsayed
c671552a27 add ignore_docker_version 2017-12-15 05:02:44 +02:00
Alena Prokharchyk
e58d7685da
Merge pull request #128 from guangbochen/master
update misspelled common words
2017-12-13 09:52:25 -08:00
galal-hussein
67c4214906 Using a custom dialer for cluster hosts 2017-12-12 01:50:10 +02:00
Guangbo Chen
1cc26ee373 update misspelled common words 2017-12-09 19:53:38 +08: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
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
galal-hussein
41c48877ba Structure and config changes 2017-11-28 23:55:43 +02:00
Alena Prokharchyk
e21bf80950
Merge pull request #58 from moelsayed/command_overhaul
Command overhaul
2017-11-28 11:21:53 -08:00
moelsayed
07a1441826 Command overhaul
remove cluster command
merge upgrade and up commands
rename down command
2017-11-28 21:17:57 +02:00
Sebastiaan van Steenis
462783c944 Use Rancher Kubernetes image in config 2017-11-28 14:52:48 +01:00
galal-hussein
8d870528e5 Add error messages for adding/removing nodes while upgrade 2017-11-26 22:09:26 +02:00
galal-hussein
5fd9bd1053 fix lint 2017-11-22 03:53:00 +02:00
galal-hussein
2a546f3808 Add rke config to generate configuration file 2017-11-22 03:34:46 +02:00
galal-hussein
650c57a4cb Check if the cluster state is empty before upgrade 2017-11-21 22:44:16 +02:00
galal-hussein
595a6d8da6 Fix question for kubernetes cluster remove 2017-11-21 18:33:04 +02:00
galal-hussein
892e9ab5d9 Cluster Down/Remove
Reverse order and add force flag
2017-11-21 01:23:18 +02:00
Hussein Galal
e53f7adf02
Merge pull request #22 from moelsayed/job_based_addons
System and user addons based on k8s jobs and configmaps
2017-11-18 17:26:28 +02:00
moelsayed
9e2c352bc7 addons based on k8s jobs and configmaps 2017-11-18 17:24:49 +02:00
galal-hussein
8e302c03a4 Add/Remove Cluster plane and Worker hosts 2017-11-18 14:35:10 +02:00
galal-hussein
703a4fd812 Add HA
Add relative path for local kube config

Add default cluster yaml config name
2017-11-16 03:41:22 +02:00
moelsayed
304bcfcb55 Save updated cluster status after upgrade 2017-11-16 03:35:39 +02:00
moelsayed
1427df6b34 Add cluster upgrade
Restructer k8s
Move getClusterCerts from SetUpAuthintication to GetClusterState
Update cluster.yaml
2017-11-16 01:55:57 +02:00
galal-hussein
f9b11737b8 Fix race condition 2017-11-15 03:55:06 +02:00
galal-hussein
40b13446a7 Use rancher/types 2017-11-13 23:28:38 +02:00
moelsayed
cc7fddb1a3 add cluster version command 2017-11-13 02:55:50 +02:00
galal-hussein
3cfe3d7ea8 Use RKE cluster controller structures 2017-11-09 21:50:49 +02:00
moelsayed
bfae4c15d4 linting fixes 2017-11-08 02:35:13 +02:00
Alena Prokharchyk
eed7152d1a
Merge pull request #2 from moelsayed/add_network_plugin_support
add network plugin support
2017-11-07 16:03:19 -08:00
moelsayed
babe95f183 add network plugin support
add template configration through env variables

add kubedns addon
2017-11-08 01:59:12 +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
galal-hussein
f7649289d4 Set up kubernetes components 2017-10-29 11:45:21 +02:00