Hi,

1. I don't have much experience in this area, so probably someone can 
correct me later.
As far as I'm aware, k8splugin was so far tested with only KUD 
framework, not with any differently installed k8s. Theoretically you 
should be able to use different k8s, but in order for it to work, this 
k8s should use Multus as main CNI (in KUD, the default k8s network 
delegate is handled by Flannel and I can't say for sure that Calico will 
work, however Multus plugin supports it according to docs).
Beside of this, ovn (and ovn4nfv) should also be installed. Lastly, you 
will also need virtlet addon installed as vFW demo spawns hybrid 
virtual/container vFW Service.
There is no documentation I am aware of, that covers "upgrading" 
existing k8s, so I'd advise you to check ansible playbooks covering 
installing multus,ovn,virtlet addons in k8s (configure-multus, 
configure-ovn, configure-ovn4nfv, configure-virtlet - respectively 
https://gerrit.onap.org/r/gitweb?p=multicloud/k8s.git;a=tree;f=kud/deployment_infra/playbooks;h=1a92acb31e1f5868b701b3858af248bd8ae5ab34;hb=refs/heads/dublin)
 
and reproduce/adapt them to your environment. In order to test 
everything, you can launch relevant KUD tests afterwards 
(https://gerrit.onap.org/r/gitweb?p=multicloud/k8s.git;a=tree;f=kud/tests;h=ed22f66903b1375c979b14c2650621736ac96e15;hb=refs/heads/dublin
 
- multus,ovn,ovn4nfv,virtlet and integration_vcFW).

2. In short - yes.
Technically, you are able to connect and use more than one k8s with 
k8splugin, but only one can be configured in terms of management of ovn 
networks.
This restriction should be no longer the case in El Alto, as relevant 
changes were introduced, that remove this constraint.

Best Regards,
Konrad Bańka

On 06.09.2019 13:08, lz0002 via Lists.Onap.Org wrote:
>
> Hi there,
>
> Referring to Deploying vFw and EdgeXFoundry Services on Kubernets 
> Cluster with ONAP 
> <http://wiki.onap.org/display/DW/Deploying+vFw+and+EdgeXFoundry+Services+on+Kubernets+Cluster+with+ONAP>,
>  
> I am trying to instantiate a demo service to a private bare metal k8s 
> cluster.
>
> In the section
>
> "
>
>
>         */Update K8sConfig/*
>
> */Workaround for R4 Dublin. This step will not be needed from R5./*
>
> /Edit the configMap /*/helm-release-name-multicloud-k8s/*/ for K8s 
> plugin to make changes to the config like below to add 
> /*/ovn-central-address:/*
>
> /{/
> /"ca-file": "/opt/multicloud/k8splugin/certs/root_ca.cer",/
> /"server-cert": "/opt/multicloud/k8splugin/certs/multicloud-k8s.pub",/
> /"server-key": "/opt/multicloud/k8splugin/certs/multicloud-k8s.pr 
> <http://multicloud-k8s.pr/>",/
> /"password": "c2VjcmV0bWFuYWdlbWVudHNlcnZpY2VzZWNyZXRwYXNzd29yZA==",/
> /"database-type": "mongo",/
> /"database-address": "multicloud-k8s-mongo",/
> /"etcd-ip": "multicloud-k8s-etcd",/
> /"plugin-dir": "/opt/multicloud/k8splugin/plugins",/
>
> */ "ovn-central-address": "<IP address of the Kubernetes 
> controller>:6641"/*
> /}/
>
> "
>
> I have two questions here:
>
> 1) The tutorail includes all-in-one KUD deployment with ovs/ovn. If I 
> would like to instantiate a service to a private multi-node k8s 
> cluster, do I have to install ovs/ovn in that k8s cluster as well? The 
> k8s network plugin for KUD is Flannel. Can ovs/ovn works with Calico 
> properly?
>
> 2) *"ovn-central-address": "<IP address of the Kubernetes 
> controller>:6641" *requires specific IP address. Does this mean only 
> one k8s cloud can be used to instantiate service at a time in Dublin?
>
> Many thanks for your time and help.
>
> 

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

View/Reply Online (#18853): https://lists.onap.org/g/onap-discuss/message/18853
Mute This Topic: https://lists.onap.org/mt/34074500/21656
Mute #multicloud: https://lists.onap.org/mk?hashtag=multicloud&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to