Skip to content

Commit

Permalink
docs: updage readme for 1.22.3 api (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoryu authored Nov 16, 2021
1 parent a3c2fc6 commit ce450b6
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,37 +93,17 @@ cd tke
make
```

If you want to refer to this repo for code integration, the `go get` will be failed as below, please add `replace` section to your `go.mod` to fix it
If you want to refer to this repo for code integration, please add `replace` section to your `go.mod`:

```
go: tkestack.io/tke upgrade => v1.5.1
go get: tkestack.io/[email protected] requires
github.com/chartmuseum/[email protected] requires
github.com/NetEase-Object-Storage/[email protected]: invalid version: unknown revision 000000000000
```

```
replace (
github.com/chartmuseum/storage => github.com/choujimmy/storage v0.0.0-20200507092433-6aea2df34764
)
```

If you refer to this repo and get run failed messages as below, it's caused by the [etcd issue #11931](https://github.com/etcd-io/etcd/issues/11931), just replace the grpc version to v1.26.0 in the `go.mod` to fix it
```
# go.etcd.io/etcd/clientv3/balancer/resolver/endpoint
../../../../../../go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/resolver/endpoint/endpoint.go:114:78: undefined: resolver.BuildOption
../../../../../../go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/resolver/endpoint/endpoint.go:182:31: undefined: resolver.ResolveNowOption
# go.etcd.io/etcd/clientv3/balancer/picker
../../../../../../go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/picker/err.go:37:44: undefined: balancer.PickOptions
../../../../../../go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/picker/roundrobin_balanced.go:55:54: undefined: balancer.PickOptions
```

```
```go
replace (
google.golang.org/grpc => google.golang.org/grpc v1.26.0
github.com/NetEase-Object-Storage/nos-golang-sdk => github.com/karuppiah7890/nos-golang-sdk v0.0.0-20191116042345-0792ba35abcc
github.com/chartmuseum/storage => github.com/leoryu/chartmuseum-storage v0.11.1-0.20211104032734-9da39e8f5170
github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
google.golang.org/grpc => google.golang.org/grpc v1.38.0
k8s.io/apiserver => github.com/leoryu/k8s-apiserver v0.22.4-0.20211110063743-0341ac1e5801
k8s.io/client-go => k8s.io/client-go v0.22.3
)
```

For the full story, head over to the [developer's documentation](docs/devel/development.md).
Expand Down

0 comments on commit ce450b6

Please sign in to comment.