Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imikushin/rancheros-k8s
Run Kubernetes cluster on RancherOS
https://github.com/imikushin/rancheros-k8s
Last synced: 3 months ago
JSON representation
Run Kubernetes cluster on RancherOS
- Host: GitHub
- URL: https://github.com/imikushin/rancheros-k8s
- Owner: imikushin
- License: apache-2.0
- Created: 2015-04-26T07:24:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-15T04:11:45.000Z (over 9 years ago)
- Last Synced: 2024-06-03T09:45:54.159Z (5 months ago)
- Language: Shell
- Size: 219 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubernetes on RancherOS (take 2)
TODO: write something about it.
## Launch
We'll launch Kubernetes on RancherOS on Amazon EC2.
Choose rancheros-v0.3.1-hvm-1 image.
Configure Instance Details -> Advanced Details
Enter User data. Use either:
```yml
#cloud-config
rancher:
environment:
ETCD_DISCOVERY:
FLANNEL_NETWORK:
K8S_MASTER_PORT: 8080
K8S_PORTAL_NET: 10.100.0.0/16
services_include:
- https://raw.githubusercontent.com/imikushin/rancheros-k8s/master/k8s-common.yml: true
- https://raw.githubusercontent.com/imikushin/rancheros-k8s/master/k8s-master.yml: true
```
or:
```yml
#cloud-config
rancher:
environment:
ETCD_DISCOVERY:
FLANNEL_NETWORK:
services_include:
- https://raw.githubusercontent.com/imikushin/rancheros-k8s/master/k8s-common.yml: true
- https://raw.githubusercontent.com/imikushin/rancheros-k8s/master/k8s-minion.yml: true
```
as a template.Replace `` with a real **NEW** discovery URL for your cluster, e.g.
`https://discovery.etcd.io/daa02a8fafee1519ea54795a14965d3c`Replace `` with a CIDR range for flannel overlay network. This CIDR should not overlap
with any existing network you are using, e.g. `10.255.0.0/16`**Every time** you recreate your cluster, **get a new etcd discovery URL** for use in your instances' cloud-config
curl "https://discovery.etcd.io/new?size=1"**WARNING**: In case you try to reuse this URL for another cluster, your `etcd` nodes will try to become
peers in another (possibly dead) cluster.------------------
Copyright (c) 2015 [Ivan Mikushin](https://github.com/imikushin)