Add tables of contents to getting started guides.
This commit is contained in:
@@ -2,7 +2,18 @@
|
||||
|
||||
Configuring kubernetes on Fedora via Ansible offers a simple way to quickly create a clustered environment with little effort.
|
||||
|
||||
Requirements:
|
||||
## Contents
|
||||
|
||||
- [Configuring kubernetes on [Fedora](http://fedoraproject.org) via [Ansible](http://www.ansible.com/home).](#configuring-kubernetes-on-fedorahttpfedoraprojectorg-via-ansiblehttpwwwansiblecomhome)
|
||||
- [Contents](#contents)
|
||||
- [Requirements](#requirements)
|
||||
- [Architecture of the cluster](#architecture-of-the-cluster)
|
||||
- [Configuring ssh access to the cluster](#configuring-ssh-access-to-the-cluster)
|
||||
- [Configuring the internal kubernetes network](#configuring-the-internal-kubernetes-network)
|
||||
- [Setting up the cluster](#setting-up-the-cluster)
|
||||
- [Testing and using your new cluster](#testing-and-using-your-new-cluster)
|
||||
|
||||
##Requirements
|
||||
|
||||
1. Host able to run ansible and able to clone the following repo: [kubernetes-ansible](https://github.com/eparis/kubernetes-ansible)
|
||||
2. A Fedora 20+ or RHEL7 host to act as cluster master
|
||||
|
@@ -1,4 +1,12 @@
|
||||
##Getting started on [Fedora](http://fedoraproject.org)
|
||||
#Getting started on [Fedora](http://fedoraproject.org)
|
||||
|
||||
## Contents
|
||||
|
||||
- [Getting started on [Fedora](http://fedoraproject.org)](#getting-started-on-fedorahttpfedoraprojectorg)
|
||||
- [Contents](#contents)
|
||||
- [Instructions](#instructions)
|
||||
|
||||
## Instructions
|
||||
|
||||
This is a getting started guide for Fedora. It is a manual configuration so you understand all the underlying packages / services / ports, etc...
|
||||
|
||||
|
@@ -1,8 +1,21 @@
|
||||
#**Kubernetes multiple nodes cluster with flannel on Fedora**
|
||||
#Kubernetes multiple nodes cluster with flannel on Fedora
|
||||
|
||||
## Contents
|
||||
|
||||
- [Kubernetes multiple nodes cluster with flannel on Fedora](#kubernetes-multiple-nodes-cluster-with-flannel-on-fedora)
|
||||
- [Contents](#contents)
|
||||
- [Introduction](#introduction)
|
||||
- [Master Setup](#master-setup)
|
||||
- [Node Setup](#node-setup)
|
||||
- [**Test the cluster and flannel configuration**](#test-the-cluster-and-flannel-configuration)
|
||||
|
||||
## Introduction
|
||||
|
||||
This document describes how to deploy kubernetes on multiple hosts to set up a multi-node cluster and networking with flannel. Follow fedora [getting started guide](fedora_manual_config.md) to setup 1 master (fed-master) and 2 or more nodes (minions). Make sure that all nodes (minions) have different names (fed-node1, fed-node2 and so on) and labels (fed-node1-label, fed-node2-label, and so on) to avoid any conflict. Also make sure that the kubernetes master host is running etcd, kube-controller-manager, kube-scheduler, and kube-apiserver services, and the nodes (minions) are running docker, kube-proxy and kubelet services. Now install flannel on kubernetes nodes (minions). flannel on each node configures an overlay network that docker uses. flannel runs on each node to setup a unique class-C container network.
|
||||
|
||||
##**Perform following commands on the kubernetes master**
|
||||
## Master Setup
|
||||
|
||||
**Perform following commands on the kubernetes master**
|
||||
|
||||
* Configure flannel by creating a `flannel-config.json` in your current directory on fed-master. flannel provides udp and vxlan among other overlay networking backend options. In this guide, we choose kernel based vxlan backend. The contents of the json are:
|
||||
|
||||
@@ -30,7 +43,9 @@ This document describes how to deploy kubernetes on multiple hosts to set up a m
|
||||
# etcdctl get /coreos.com/network/config
|
||||
```
|
||||
|
||||
##**Perform following commands on all kubernetes nodes**
|
||||
## Node Setup
|
||||
|
||||
**Perform following commands on all kubernetes nodes**
|
||||
|
||||
* Edit the flannel configuration file /etc/sysconfig/flanneld as follows:
|
||||
|
||||
|
Reference in New Issue
Block a user