1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 11:21:08 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Darren Shepherd
c405e6ea1b Remove references to rancher/types 2020-07-11 23:29:33 -07:00
Sebastiaan van Steenis
6fa41b0ea6 Actually remove the resources in delete addonjob 2020-06-04 18:49:55 +02:00
Sebastiaan van Steenis
d91e7efd2d Remove user addons when not present 2020-03-30 21:18:09 +02:00
Daishan
d2d72767a7 Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
rajashree
9c1c0ea999 Accept extraEnv, volumes and volumeMounts for ingress addon
The fields for ExtraEnv, extraVolumes and extraVolumeMounts for ingress
addon refer the k8s native types EnvVar, Volume and VolumeMounts.
The k8s native types have json tags, so this commit adds a template func to
first marshal and get json encoding and then convert to yaml.
2019-11-14 10:54:00 -08:00
moelsayed
372393ac1b Add Secret Encryption Provider Support 2019-10-29 14:10:32 -07:00
Dan Ramich
ecfab50fce Update apis for 1.16 2019-09-09 11:20:26 -07:00
orangedeng
c819cae072 RKE deploy job should tolerate all taints
**Problem:**
Cluster fails to come up when the nodes have taints with effect
`NoExecute`.

**Solution:**
RKE deploy job should have tolerate all toleration to execute.
And this job should be only scheduled in linux node.
2019-08-28 12:58:09 -07:00
kinarashah
734c651f16 remove support for default versioned templates 2019-08-20 13:59:03 -07:00
kinarashah
44e6adda29 update logic to read addon templates from metadata 2019-08-20 13:59:03 -07:00
moelsayed
6c1203aa71 Add node subresources to api server cluster role 2019-08-09 11:20:13 -07:00
moelsayed
a3e7bef8cd Fix ingress deployment issue with PSP enabled 2019-08-09 11:11:58 -07:00
galal-hussein
2bc960a01c Add kubeapi proxy cluster role and role binding 2019-07-25 14:16:26 -07:00
kinarashah
116b47b025 rancher pass serviceoptions and addon templates to rke 2019-07-03 10:04:27 -07:00
kinarashah
c191ed6202 use k8s version info from kontainer-driver-metadata 2019-07-03 10:04:27 -07:00
Yuki Nishiwaki
d41abc7de4 NodeSelector should specify string explicitly
Kubernetes doesn't accept any other value but string in nodeSelector,
but if we specified ambiguous value like true, it's treated as a
non-string like bool and then failed to create resource because of type
mis-match, that's why we should make value of nodeSelector enclosed by
double quotations to ensure value is always string
2019-07-02 10:21:48 -07:00
Sebastiaan van Steenis
42c097275a Add stubdomains to kube-dns 2019-07-01 09:43:31 -07:00
Sebastiaan van Steenis
e5455ecba7 Align coredns ttl to kubedns dnsmasq 2019-07-01 09:22:45 -07:00
Sebastiaan van Steenis
9985bc8bae Add k8s 1.15 2019-06-25 10:41:27 -07:00
Sebastiaan van Steenis
3575d8ae6a Update coredns deployment for v1.3.1 2019-06-17 10:33:56 -07:00
Alex Seymour
c4839f0ecc Decrease calico/canal logging for K8s 1.13 templates 2019-05-02 10:17:19 -07:00
Frank Mai
d3c89372bf Don't schedule Linux addons to Windows node
**Problem:**
Schedule default-http-backend and metrics-server to Windows node will be failed.

**Solution:**
Add nodeAffinity to default-http-backend and metrics-server workload
spec

**Issue:**
https://github.com/rancher/rancher/issues/19929
2019-05-02 09:49:31 -07:00
Frank Mai
471146b25c Support to config Flannel backend
- Add `flannel_backend_port` and `canal_flannel_backend_port` to config
the port of Flannel
- Add `flanneld_backend_vni` and `canal_flannel_backend_vni` to config
the VxLan network identify of Flannel
2019-04-29 09:29:13 -07:00
Sebastiaan van Steenis
21f3a3eff9 Add k8s 1.14 2019-04-05 15:45:19 -07:00
moelsayed
eb6116dded Fix versioned templates version check 2019-02-26 15:26:16 -08:00
frank
87ab445010 Don't schedule kubedns to Windows node
**Problem:**
Schedule kubedns component to Windows node will cause DNS doesn't work
well

**Solution:**
Add nodeAffinity to kubedns

**Issue:**
https://github.com/rancher/rancher/issues/17423
2019-02-21 11:22:15 -08:00
Sebastiaan van Steenis
40cd80a208 Add node selector for DNS providers 2019-02-20 10:56:36 -08:00
moelsayed
b120f2a066 Rename ClusterRole to avoid update issue 2019-02-14 17:25:52 -08:00
Joshua Benjamin
e6b677a885 Fix flannel startup in new cluster
Signed-off-by: Joshua Benjamin <joshuabnjmn@gmail.com>
2019-02-13 09:56:30 -08:00
galal-hussein
11b5757207 Fix Weave Template 2019-01-29 16:02:47 -08:00
orangedeng
642970feb2 Use initContainer for nginx ingress if it is old version
**Problem:**
The nginx ingress daemonSet securityContext can not be applied to
version before 0.16.0

**Solution:**
When the nginx controller version is older than 0.16.0, we use the old
way to set it up.
2019-01-29 14:27:30 -08:00
Sebastiaan van Steenis
4cbca1e90a Add CoreDNS as addon 2019-01-25 11:12:46 -08:00
galal-hussein
e79da956e9 Update rke to v1.13 and add versioned templates for calico and canal 2019-01-08 13:52:40 -08:00
Erik Wilson
e04b7d4413 Add support for Kubernetes API Authn Webhook
Allow multiple authn strategies to be defined, including new 'webhook'
strategy. Webhook strategy configuration contains the contents of the
authentication webhook file as well as the cache timeout period.

This change allows a Kubernetes API Auth service to authenticate
user requests without proxying through the Rancher server.
2019-01-03 17:15:23 -07:00
Mike Kelley
5941368767 add support for weave password 2018-11-29 16:39:45 -08:00
Eric Briand
b324973081 🔧 Add permissions to set node status 2018-10-19 17:24:23 -07:00
moelsayed
24a8465941 Fix flannel issue with k8s 1.12 2018-10-18 09:26:17 -07:00
Chris Kim
266f6b8123 Moving extra_args iteration to allow extra_args to work successfully 2018-10-16 09:56:24 -07:00
moelsayed
22dc19205f Handle upgrade from metrics server 0.2.x to 0.3.x 2018-10-04 14:48:00 -07:00
galal-hussein
8e3bf48a94 Mounting xtables lock within canal pod 2018-09-18 11:34:55 -07:00
galal-hussein
67448c38c6 Update ingress nginx template yaml 2018-09-06 15:57:51 -07:00
MaiWJ
bcb6e13618 Extend rke to tolerate the Windows host
1. Support to configure Flannel as "host-gw" backend
2. Define the network component yaml and ingress
   controller yaml only schedule to non-Windows node
3. Support to configure Docker container's port publishing
2018-08-26 18:09:21 -07:00
orangedeng
b4d04c7ee9 Add quotation mark for nginx-configuration
Related issue https://github.com/rancher/rancher/issues/15044
Configmap resource data only support string data so
we should add quotation mark for each data item.
2018-08-24 09:42:11 -07:00
moelsayed
010a7977ff Change entrypoint to fix multiple mount problem 2018-08-02 02:33:46 +02:00
Ilja Weis
6b7ab83899 fixes wrong value for soap-roundtrip-count in vsphere config 2018-08-01 10:12:49 -07:00
moelsayed
e8685c8b96 Remove description from templates 2018-07-19 12:56:18 -07:00
orangedeng
44d921b114 Add authorization for nginx-ingress to get daemonsets
Related issue https://github.com/rancher/rancher/issues/14052
2018-07-18 10:57:36 -07:00
galal-hussein
8269c3f301 Add metrics-server addon deployment 2018-07-17 16:51:59 -07:00
moelsayed
241f7857d6 Remove ingress controller when disabled 2018-07-17 15:55:15 -07:00
Sebastiaan van Steenis
c00e6d2e9d Decrease calico/canal logging 2018-07-11 12:55:29 -07:00