Hi All,

@Kishore, Akhila<mailto:[email protected]> thanks for replying me. Now 
the role of each plugin is more clear.

@Multanen, Eric W<mailto:[email protected]>  Here, my procedure, can u 
check if all has been deployed correctly?


  1.  Create a vm on openstack accessible from Intenet with os image: 
ubuntu-16.04-server-cloud-amd64 (Flavor: 32gb ram, 8vcpu, 150 gb hdd)
  2.  git clone https://github.com/onap/multicloud-k8s.git (master branch)
  3.  comment lines 59-60 into kud/hosting_providers/baremetal/aio.sh    to not 
execute the node.sh script (I dont want use virtlet)
  4.  run ./aio.sh script
  5.  After several minutes, we have kubernetes cluster deployed like below:


ubuntu@localhost:~/multicloud-k8s/kud/tests$ kubectl get pods --all-namespaces

NAMESPACE                NAME                                    READY   STATUS 
   RESTARTS   AGE

kube-system              coredns-56bc6b976d-6wl2l                1/1     
Running   0          3h33m

kube-system              coredns-56bc6b976d-vg6sv                0/1     
Pending   0          3h32m

kube-system              dns-autoscaler-5fc5fdbf6-wwcd9          1/1     
Running   0          3h33m

kube-system              kube-apiserver-localhost                1/1     
Running   0          3h33m

kube-system              kube-controller-manager-localhost       1/1     
Running   0          3h33m

kube-system              kube-flannel-jqk7d                      2/2     
Running   0          3h33m

kube-system              kube-multus-ds-amd64-mp9xp              1/1     
Running   0          3h30m

kube-system              kube-proxy-tq7mr                        1/1     
Running   0          3h33m

kube-system              kube-scheduler-localhost                1/1     
Running   0          3h33m

kube-system              kubernetes-dashboard-57875dc8c7-pfd4h   1/1     
Running   0          3h32m

kube-system              local-volume-provisioner-vhbb5          1/1     
Running   0          3h33m

kube-system              tiller-deploy-86c8b7897c-bgsc6          1/1     
Running   0          3h32m

node-feature-discovery   nfd-master-llrsj                        1/1     
Running   0          3h30m

node-feature-discovery   nfd-worker-59nrs                        1/1     
Running   0          3h30m

operator                 nfn-operator-7944845b78-9fpq8           1/1     
Running   0          3h30m

operator                 ovn4nfv-cni-7p5pt                       1/1     
Running   0          3h30m





Only the virtlet daemonset is removed. Because I do not want to use virtlet but 
only application container bases.

Then I have ran the following test:

  1.  ./multicloud-k8s/kud/tests/ovn4nfv.sh

ubuntu@localhost:~/multicloud-k8s/kud/tests$ ./ovn4nfv.sh

/opt/csar/a1c5b53e-d7ab-11e8-85b7-525400e8c29a ~/multicloud-k8s/kud/tests

~/multicloud-k8s/kud/tests

/opt/csar/a1c5b53e-d7ab-11e8-85b7-525400e8c29a ~/multicloud-k8s/kud/tests

Create OVN Network ovn-priv-net network

network.k8s.plugin.opnfv.org/ovn-priv-net created

Create OVN Network ovn-port-net network

network.k8s.plugin.opnfv.org/ovn-port-net created

networkattachmentdefinition.k8s.cni.cncf.io/ovn-networkobj unchanged

15:45:11 - ovn4nfv-deployment : Destroying deployment

deployment.apps/ovn4nfv-deployment created

15:45:17 - ovn4nfv-deployment : ContainerCreating

15:45:22 - ovn4nfv-deployment : Running

===== ovn4nfv-deployment-77d69fdfb9-sl4wf details =====

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:0

    inet 127.0.0.1/8 scope host lo

    valid_lft forever preferred_lft forever

3: eth0@if34: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1400 qdisc noqueue

    link/ether 0a:58:0a:f4:40:0d brd ff:ff:ff:ff:ff:ff

    inet 10.244.64.13/24 scope global eth0

       valid_lft forever preferred_lft forever

5: net0@if35: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1400 qdisc noqueue

    link/ether 0a:00:00:00:00:07 brd ff:ff:ff:ff:ff:ff

    inet 172.16.33.2/24 brd 172.16.33.255 scope global net0

       valid_lft forever preferred_lft forever

7: net1@if36: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1400 qdisc noqueue

    link/ether 0a:00:00:00:00:08 brd ff:ff:ff:ff:ff:ff

    inet 172.16.44.2/24 brd 172.16.44.255 scope global net1

    valid_lft forever preferred_lft forever

Test Completed!

15:45:22 - ovn4nfv-deployment : Destroying deployment

deployment.extensions "ovn4nfv-deployment" deleted

Delete OVN Network ovn-priv-net network

network.k8s.plugin.opnfv.org "ovn-priv-net" deleted

Delete OVN Network ovn-port-net network

network.k8s.plugin.opnfv.org "ovn-port-net" deleted

~/multicloud-k8s/kud/tests



2. ./multicloud-k8s/kud/tests/multus.sh

ubuntu@localhost:~/multicloud-k8s/kud/tests$ ./multus.sh

/opt/csar/49408ca6-b75b-11e8-8076-525400feed26 ~/multicloud-k8s/kud/tests

~/multicloud-k8s/kud/tests

/opt/csar/49408ca6-b75b-11e8-8076-525400feed26 ~/multicloud-k8s/kud/tests

networkattachmentdefinition.k8s.cni.cncf.io/bridge-conf created

15:47:07 - multus-deployment : Destroying deployment

deployment.apps/multus-deployment created

15:47:13 - multus-deployment : ContainerCreating

15:47:17 - multus-deployment : Running

===== multus-deployment-745f55bdfc-l4t6j details =====

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

       valid_lft forever preferred_lft forever

3: eth0@if37: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1400 qdisc noqueue

    link/ether 0a:58:0a:f4:40:0e brd ff:ff:ff:ff:ff:ff

    inet 10.244.64.14/24 scope global eth0

       valid_lft forever preferred_lft forever

5: net1@if38: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue

    link/ether 0a:58:0a:0a:00:02 brd ff:ff:ff:ff:ff:ff

    inet 10.10.0.2/16 scope global net1

       valid_lft forever preferred_lft forever

7: net2@if39: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue

    link/ether 0a:58:0a:0a:00:03 brd ff:ff:ff:ff:ff:ff

    inet 10.10.0.3/16 scope global net2

       valid_lft forever preferred_lft forever

Test Completed!

15:47:18 - multus-deployment : Destroying deployment

deployment.extensions "multus-deployment" deleted

~/multicloud-k8s/kud/tests



Can I perform other tests to validate the enviroment?
Since my Onap version is Dublin, the github  repository branche should point to 
Dublin branch or Master's one?


Thanks a lot,
Aniello Paolo Malinconico



Aniello Paolo Malinconico

Net Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
[email protected]<mailto:[email protected]>
www.reply.it<http://www.reply.it> <http://>

[Net Reply]
________________________________
Da: Multanen, Eric W <[email protected]>
Inviato: venerdì 8 novembre 2019 19:59
A: [email protected] <[email protected]>; Malinconico 
Aniello Paolo <[email protected]>; Kishore, Akhila 
<[email protected]>
Cc: D'Alessandro Alessandro Gerardo <[email protected]>
Oggetto: RE: [onap-discuss] KUD for vFW/Edgex with Multicloud Kubernetes Plugin 
Use Case - Clarifications


Aniello,

FWIW – I’ve been using a KUD that I installed in an OpenStack VM.  I used it to 
test vFW/Edgex with El Alto.



Here are the notes I took at the time I installed:

https://wiki.onap.org/display/DW/Kubernetes+Baremetal+deployment+setup+instructions



Works pretty well - just run steps as described above.







The VM (ubuntu-16-04 image) I created for this had these flavor details:

               $ openstack flavor show m2.xlarge

+----------------------------+---------------------------------------------------------------------------------------------------------------------------------+

| Field                      | Value                                            
                                                                               |

+----------------------------+---------------------------------------------------------------------------------------------------------------------------------+

| OS-FLV-DISABLED:disabled   | False                                            
                                                                               |

| OS-FLV-EXT-DATA:ephemeral  | 0                                                
                                                                               |

| access_project_ids         | None                                             
                                                                               |

| disk                       | 160                                              
                                                                               |

| id                         | cabdd896-02a4-46c6-8eb6-a1736cfd0f5c             
                                                                               |

| name                       | m2.xlarge                                        
                                                                               |

| os-flavor-access:is_public | True                                             
                                                                               |

| properties                 | 
aggregate_instance_extra_specs:storage='local_image', 
hw:cpu_model='Passthrough', hw:cpu_policy='dedicated', hw:cpu_sockets='1' |

| ram                        | 32768                                            
                                                                               |

| rxtx_factor                | 1.0                                              
                                                                               |

| swap                       |                                                  
                                                                               |

| vcpus                      | 8                                                
                                                                               |

+----------------------------+---------------------------------------------------------------------------------------------------------------------------------+





Eric





From: [email protected] <[email protected]> On Behalf Of 
Aniello Paolo Malinconico
Sent: Friday, November 8, 2019 1:39 AM
To: Kishore, Akhila <[email protected]>; [email protected]
Cc: D'Alessandro Alessandro Gerardo <[email protected]>
Subject: [onap-discuss] KUD for vFW/Edgex with Multicloud Kubernetes Plugin Use 
Case - Clarifications



Hi Akhila,

I want to deploy the vFW/Edgex with Multicloud Kubernetes Plugin, so I am 
following your guide at 
https://wiki.onap.org/display/DW/Deploying+vFw+and+EdgeXFoundry+Services+on+Kubernets+Cluster+with+ONAP<https://wiki.onap.org/display/DW/Deploying+vFw+and+EdgeXFoundry+Services+on+Kubernets+Cluster+with+ONAP>
 .



My problem is about the KUD (Kubernetes Deployment) because I want to deploy it 
on a VM on Openstack and not on baremetal server.

I have searched any scripts to do it, but at the moment there are only 3 kind 
of script for a baremetal, vagrant and containerized modes.

So, I want set up the KUD on Openstack from myself.

What I have understood, to have a KUD enviroment working for this use case, we 
need to :

  1.  Install Kubernetes on a Single Node (kubeadm or via kubespray or 
minikube?) ??
  2.  Apply ovn4nfv plugin for kubernetes  to manage custom private network
  3.  Apply Multus plugin for kubenetes to manage multiple interface per pod
  4.  Install Virtlet to allow vm on container
  5.  Install NFD why?
  6.  Install Istio why? service mesh? How it is used into this use case?



Is this installation procedure correct to set up the KUD for this use case?



Thanks a lot,

Aniello Paolo Malinconico


Aniello Paolo Malinconico

Net Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
[email protected]<mailto:[email protected]>
www.reply.it<http://www.reply.it>

[Net Reply]




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#19419): https://lists.onap.org/g/onap-discuss/message/19419
Mute This Topic: https://lists.onap.org/mt/47525963/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Attachment: net.png
Description: net.png

Reply via email to