k8s the client-go compile successfully

To divide version 1.14 with 1.15 seems a big difference.

1.14 used in the module management or vendor, 1.15 to replace the mod.

Remember this difference.

First, download the 1.14 version client-go from github

https://github.com/kubernetes/client-go/tree/release-1.4

Second, after decompression, according to GOPATH directory gracefully position

如:D:\Go\src\k8s.io\client-go

Third, then, into the example directory, you can directly get.

Guess you like

Origin www.cnblogs.com/aguncn/p/11594881.html