[ICN-308] Upgrade the Kubespray 2.12 for KUD Created: 17/Mar/20  Updated: 17/Dec/20  Resolved: 04/Jun/20

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: Le Yao
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks ICN-340 Integrate Topology Manager In Progress
Epic Link: KuD R3 Release works
Sprint: ICN Sprint 16, ICN Sprint 17, ICN Sprint 18, ICN Sprint 19
Story Points: 6

 Description   

Upgrade the Kubespray 2.12 for KUD



 Comments   
Comment by Le Yao [ 06/May/20 ]

Hi, Kural

The latest patch is https://gerrit.onap.org/r/c/multicloud/k8s/+/106869. And I have abandoned the patch 106788.

These two patches are same and caused by wrong patch-submit-step. Sorry.

Comment by Kuralamudhan Ramakrishnan [ 01/May/20 ]

 

I am seeing two reviews for the task https://jira.akraino.org/browse/ICN-308.

 

#git review -l

106788            master  Update the Kubernetes Version to 1.16

106869            master  Update the Kubernetes Version to 1.16

 

Which is having the latest code, is there dependency between two patches?

Both failing with CI, Please fix it. I will review it after it.

 

Comment by Le Yao [ 29/Apr/20 ]

Patch is on:https://gerrit.onap.org/r/c/multicloud/k8s/+/106788

Comment by Le Yao [ 21/Apr/20 ]

When apiverison becomes to apps/v1 from extensions/v1betea1 in DaemonSet/Deployment

We need add
spec:
  selector:
    matchLabels:
      xx: xxxx
to match
spec:
  template:
    metadata:
      labels:
        xx: xxxx

Comment by Le Yao [ 21/Apr/20 ]

To version 1.16
There are some api transfers

service api from to
NetworkPolicy extensions/v1beta1 networking.k8s.io/v1
PodSecurityPolicy extensions/v1beta1 policy/v1beta1
DaemonSet
Deployment
StatefulSet
ReplicaSet
extensions/v1beta1
apps/v1beta1
apps/v1beta2
apps/v1
Ingress extensions/v1beta1 networking.k8s.io/v1beta1
Comment by Le Yao [ 16/Apr/20 ]

Thanks. Get it.

Comment by Chenjie Xu [ 16/Apr/20 ]

After upgrading kubespray to 2.12, kubernetes will upgrade to 1.16. The yaml files should be changed due to kubernetes upversion. For example, SR-IOV CNI plugin:
k8s-v1.16:
https://github.com/intel/sriov-cni/blob/master/images/k8s-v1.16/sriov-cni-daemonset.yaml#L2

k8s-v1.10-v1.15:
https://github.com/intel/sriov-cni/blob/master/images/k8s-v1.10-v1.15/sriov-cni-daemonset.yaml#L2

Generated at Sat Feb 10 05:58:53 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.