Skip to content

Commit

Permalink
connect to GCP GKE from local machine
Browse files Browse the repository at this point in the history
explanation of how to connect from lacal machine to Google Cloud Kubernetes without headache, close kubernetes-client#91
  • Loading branch information
mac2000 committed Feb 7, 2018
1 parent a5f0e06 commit 0a91f15
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ cd csharp\examples\simple
dotnet run
```

## Connecting to GCP GKE from local machine

Start proxy to access kubernetes cluster:

```bash
$ kubectl proxy
Starting to serve on 127.0.0.1:8001
```

In code use following config:

```csharp
var config = new KubernetesClientConfiguration { Host = "http://127.0.0.1:8001" };
```

## Testing

The project uses [XUnit](https://xunit.github.io) as unit testing framework.
Expand Down

0 comments on commit 0a91f15

Please sign in to comment.