diff options
Diffstat (limited to 'tools/k8s/cluster-deployment/k8scluster/README.md')
-rw-r--r-- | tools/k8s/cluster-deployment/k8scluster/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/k8s/cluster-deployment/k8scluster/README.md b/tools/k8s/cluster-deployment/k8scluster/README.md index 78fdbd03..9708d643 100644 --- a/tools/k8s/cluster-deployment/k8scluster/README.md +++ b/tools/k8s/cluster-deployment/k8scluster/README.md @@ -24,6 +24,12 @@ worker ansible_host={enter-master-ip} ansible_connection=ssh ansible_ssh_user={ ``` In this configuration file, connection details should be filled in. In case more nodes within the cluster are needed, add lines as necessary to the workers group within the `hosts` file. +Install the kubernetes.core module for ansible-playbook. This module is required as prerequisite to run the playbook. + +``` +ansible-galaxy collection install kubernetes.core +``` + ### Usage In order to use the script, download or clone [this repository] (https://gerrit.opnfv.org/gerrit/vswitchperf) to the root of what will be the master node. @@ -53,6 +59,23 @@ To deploy only CNI plugins ansible-playbook k8sclustermanagement.yml -i hosts_garr –tags “cni” ``` +To deploy Danm CNI + +Build the Danm Binaries and onboard them to your cluster image repository + +``` +git clone github.com/nokia/danm +cd danm +./build_danm.sh +``` + +Deploy the Danm CNI with the `danm` tag. + +``` +ansible-playbook k8sclustermanagement.yml -i hosts_garr –tags “cni, danm” +``` + +Specifying danm tag only deploys Danm and skips Multus. ### Debugging |