2016-08-01 93 views
2

我試圖創建一個新的ThirdPartyResource按照凱爾西Hightowers kube-cert-manager guide但我得到這個錯誤:無法創建ThirdPartyResource

Error from server: error when creating "certificate.yaml": the server could not find the requested resource 

有趣的東西從詳細日誌:

POST https://104.155.48.255/apis/extensions/v1beta1/namespaces/default/thirdpartyresources 404 Not Found in 15 milliseconds 

我集羣使用GKE創建。剛剛運行Kubernetes 1.3.2單個節點:

clusterIpv4Cidr: 10.244.0.0/14 
createTime: '2016-08-01T09:35:39+00:00' 
currentMasterVersion: 1.3.2 
currentNodeCount: 1 
currentNodeVersion: 1.3.2 
endpoint: 104.155.48.255 
initialClusterVersion: 1.3.2 
instanceGroupUrls: 
- https://www.googleapis.com/compute/v1/projects/cs-cisco/zones/europe-west1-d/instanceGroupManagers/gke-minimesos-sonar-default-pool-3d02eeb3-grp 
locations: 
- europe-west1-d 
loggingService: logging.googleapis.com 

回答

2

ThirdPartyResources分別命名空間範圍的阿爾法對象1.2,和1.3他們現在集羣範圍的(見1.3.0 Known Issues)。不幸的是,這意味着一個1.2.x客戶端不會知道尋找它們的正確位置(因此/namespaces/default/thirdpartyresources路徑上的404)。

您可以等待kubctl 1.3.x與cloudsdk一起推出,也可以直接從Kubernetes Releases頁面下載kubectl二進制文件。

+1

我下載了1.3.2二進制文件,並確認客戶端版本的確是問題所在。非常感謝您的幫助! –