Skip to content

Instantly share code, notes, and snippets.

@ITBlogger
Created October 12, 2018 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ITBlogger/05e113de7f4d8da65df3eafc49468bb9 to your computer and use it in GitHub Desktop.
Save ITBlogger/05e113de7f4d8da65df3eafc49468bb9 to your computer and use it in GitHub Desktop.
Sample Rancher rke yaml
---
cluster_name: rancher
ignore_docker_version: true
cloud_provider:
name: aws
nodes:
- address: <IP1>
user: ubuntu
role: [controlplane,etcd,worker]
ssh_key_path: ~/.ssh/<key>.pem
- address: <IP2>
user: ubuntu
role: [controlplane,etcd,worker]
ssh_key_path: ~/.ssh/<key>.pem
- address: <IP3>
user: ubuntu
role: [controlplane,etcd,worker]
ssh_key_path: ~/.ssh/key.pem
services:
etcd:
snapshot: true
creation: 6h
retention: 24h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment