Need to upgrade HNC to latest version

45 views
Skip to first unread message

Geo P.C.

unread,
Sep 2, 2022, 9:21:22 AM9/2/22
to Adrian Ludwin, Yiqi Gao, kubernetes-wg-multitenancy
Hi Sir

and we need to upgrade the hnc version to the latest version. So we just need to apply this file https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/1.0.0/default.yaml right? 

These are some of the hierarchy definitions we used and it will be working right? Can you please confirm these..

apiVersion: hnc.x-k8s.io/v1alpha2
kind: HierarchyConfiguration
metadata:
  name: hierarchy
  namespace: mcp
spec:
  parent: geo
---
apiVersion: hnc.x-k8s.io/v1alpha2
kind: HierarchyConfiguration
metadata:
  name: hierarchy
  namespace: istio-system
spec:
  parent: mcp
---

Thanks & Regards
Geo P.C.

Adrian Ludwin

unread,
Sep 8, 2022, 11:50:14 AM9/8/22
to Geo P.C., Yiqi Gao, kubernetes-wg-multitenancy
Sorry for the late reply. Yes, you should be able to simply apply the v1.0 manifest as none of the APIs have changed. Though you may want to back up your configs if you want to be absolutely sure as shown here: https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/how-to.md#admin-backup-restore

Cheers, A
Reply all
Reply to author
Forward
0 new messages