YJWANG

Kubernetes v1.20 NFS provisioner unexpected error getting claim reference: selfLink was empty, can't make reference 본문

60.Cloud/80.Kubernetes

Kubernetes v1.20 NFS provisioner unexpected error getting claim reference: selfLink was empty, can't make reference

왕영주 2021. 1. 19. 13:57

refer to


v1.20 에서는 kube-apiserver feature gate 인 SelfLinks가 disable 되었음
조치하려면 아래와 같이 kube-apiserver command에 option을 추가해야 함

적용


이후 재기동 필요 없이 자동으로 apiserver가 재시작됨

[root@master01 nfs_provisioner]# vim /etc/kubernetes/manifests/kube-apiserver.yaml 

spec:
  containers:
  - command:
...
- --feature-gates=RemoveSelfLink=false
반응형