Merge ~hemanth-n/stsstack-bundles:bug/1915810 into stsstack-bundles:master

Proposed by Hemanth Nakkina
Status: Merged
Merged at revision: a19cc533f872813613a005010cdceea49b958643
Proposed branch: ~hemanth-n/stsstack-bundles:bug/1915810
Merge into: stsstack-bundles:master
Diff against target: 19 lines (+8/-0)
1 file modified
kubernetes/pipeline/02configure (+8/-0)
Reviewer Review Type Date Requested Status
Jolly Bundlers Pending
Review via email: mp+413948@code.launchpad.net

Description of the change

Add steps to deploy multus cni

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/kubernetes/pipeline/02configure b/kubernetes/pipeline/02configure
2index 75974d5..2ee1f41 100644
3--- a/kubernetes/pipeline/02configure
4+++ b/kubernetes/pipeline/02configure
5@@ -235,6 +235,14 @@ do
6 set -- $@ --keystone-ha:1 && cache $@
7 fi
8 ;;
9+ --multus)
10+ MOD_MSGS[multus.0]="Run the following commands from k8s model to add multus"
11+ MOD_MSGS[multus.1]="juju scp kubernetes-master/0:config ~/.kube/config"
12+ MOD_MSGS[multus.2]="juju add-k8s multus-k8s-cloud --controller $(juju switch | cut -d: -f1)"
13+ MOD_MSGS[multus.3]="juju add-model multus-k8s-model multus-k8s-cloud"
14+ MOD_MSGS[multus.4]="juju deploy cs:~containers/multus"
15+ MOD_MSGS[multus.5]="To add network-attachment-definition, do 'juju config network-attachment-definitions=<>'"
16+ ;;
17 *)
18 echo "ERROR: invalid input '$1'"
19 _usage

Subscribers

People subscribed via source and target branches