Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Weave support #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Weave support #11

wants to merge 3 commits into from

Conversation

bodom0015
Copy link

@bodom0015 bodom0015 commented Aug 21, 2018

Problem

There is no current configuration option for selecting the desired type of Pod Network.

Approach

This PR adjusts init-master.bash to accept a pod_network_type. Currently supported options are flannel or weave.

NOTE: Flannel will be deployed by default.

How to test

  1. Execute git clone https://github.com/nds-org/kubeadm-bootstrap && cd kubeadm-bootstrap/ to clone the repo
  2. Execute sudo ./install-kubeadm.bash to install kubeadm
  3. Execute sudo -E ./init-master.bash weave to bootstrap master with weave support
    • If no argument is given, flannel will be chosen by default
  4. After everything is up, execute kubectl get pod -n kube-system
    • You should see that weave is now running instead of flannel

@bodom0015 bodom0015 closed this Aug 21, 2018
@bodom0015 bodom0015 reopened this Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants