[ICN-24] Integrating Rook plugin with KuD Created: 31/Jul/19 Updated: 20/Aug/19 Resolved: 15/Aug/19 |
|
| Status: | Done |
| Project: | Integrated Cloud Native NFV |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Medium |
| Reporter: | Kuralamudhan Ramakrishnan | Assignee: | Tingjie Chen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | KuD V2.0 plugin-addons for ICN |
| Sprint: | ICN Sprint 1, ICN Sprint 2 |
| Story Points: | 4 |
| Description |
|
Prerequisite: KUD installation step and documentation Resources: Baremetal server, Storage device (/dev/sdb etc) Components Version: OS Ubuntu 18.04, KUD version (Kubespray 2.9.0, Kubernetes 1.13.5), Rook 1.0.4, Ceph 13.2.2 (Mimic) Task Description: Integration of Rook daemonset with KUD, bring up Rook operator and Ceph cluster in each K8s Node, and config Ceph-monitor and Ceph-osd with certain policy, provide storage provisioning function to K8s application. Testing: Checking Rook operator and Ceph cluster status and scheduling mechanism, and check the CSI function for volumes. Expected Deliverables: Daemonset yaml, install_package, configuration and launching script along with KUD integration. Gerrit Patch: https://gerrit.akraino.org/r/#/c/icn/+/1282/
|
| Comments |
| Comment by Tingjie Chen [ 12/Aug/19 ] |
|
The Rook operator and Ceph cluster deployment information, by default the Ceph version is Mimic: v13.2.2 ---------------------------------------------------------- $ kubectl get pod -n rook-ceph services: data: [root@rook-ceph-operator-948f8f84c-749zb /]# ceph version
|
| Comment by Tingjie Chen [ 12/Aug/19 ] |
|
I have upgrade to K8s 1.13.5 and deploy Rook with CSI successfully, you can refer the changes in KUD code base. if something is wrong with kubectl server version, you can manually upgrade as command: kubeadm upgrade apply v1.13.5 after upgraded, the information as following: $ kubectl version
The code changes in KUD as following: -------------------------------------------------------------------------------------------------- diff --git a/kud/deployment_infra/playbooks/kud-vars.yml b/kud/deployment_infra/playbooks/kud-vars.yml -go_version: '1.12.4'
diff --git a/kud/hosting_providers/vagrant/inventory/group_vars/k8s-cluster.yml b/kud/hosting_providers/vagrant/inventory/group_vars/k8s-cluster.yml
# Helm deployment |
| Comment by Kuralamudhan Ramakrishnan [ 08/Aug/19 ] |
|
tingjiec Thanks for bringing it up. It is really good that we identified issues here. akhilakishore could you please suggest us, is that possible for us by Aug 15th to update K8s version ? or you afraid that it will break current KuD offline operation. |
| Comment by Tingjie Chen [ 08/Aug/19 ] |
|
r.kuralamudhan May I ask the version of K8s in KUD deployment env? since in Rook we have CSI supported, which can have storage service provision for K8s applications. And the CSI 1.0 require the K8s version must be >= 1.13, currently in our KUD env, the K8s version is 1.12.3, so the CSI plugins will not bring up and the functionality is invalid. |
| Comment by Tingjie Chen [ 08/Aug/19 ] |
|
I have submit gerrit patch for Rook deployment: https://gerrit.akraino.org/r/c/icn/+/1282 There has Ceph storage(osd), by default I set to save in folder: /rook/storage-dir for database and journal for 10GB each, please reserve enough space in local disk. |
| Comment by Akhila Kishore [ 02/Aug/19 ] |
|
Just sent out the setup instructions to them |
| Comment by Kuralamudhan Ramakrishnan [ 02/Aug/19 ] |
|
akhilakishore ritu.sood@intel.com |
| Comment by Kuralamudhan Ramakrishnan [ 02/Aug/19 ] |
|
AR for r.kuralamudhan to check the kubespray k8s version ? |
| Comment by Kuralamudhan Ramakrishnan [ 02/Aug/19 ] |
|
Tin - AR: Can you send me the details on Storage device? |