Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenisha/pachyderm-azure
Pachyderm testing
https://github.com/lenisha/pachyderm-azure
pachyderm
Last synced: 21 days ago
JSON representation
Pachyderm testing
- Host: GitHub
- URL: https://github.com/lenisha/pachyderm-azure
- Owner: lenisha
- Created: 2019-08-06T03:17:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T16:40:08.000Z (over 5 years ago)
- Last Synced: 2024-10-18T06:16:12.483Z (3 months ago)
- Topics: pachyderm
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Run Pachctl tool in separate cluster
- Run docker image containing the `pachctl` tool in the container (as published in Dockerfile.pachctl )
```
kubectl run -it --rm pachctl --image=lenisha/pachctl --generator=run-pod/v1
```- To point `pachctl` tool to API in different cluster use
```
pachctl config update context default --pachd-address "xxxxxx:30750"
pachctl version
```Where xxxxxx - is address for the API LoadBalancer exposed for pachd service
- Verify
```
pachctl config get context default
or
cat ~/.pachyderm/config.json
```## Access PACHD Dashboard
- Expose dash-lb service `kubectl apply -f dash.yaml`
- Check IP of LoadBalancer `kubectl get svc`
- Access Dashboard
```
http://:8080/app?port=8081
```where `port` parameter points to exposed grpc port for websocket communication
## Run GRPCURL
- Dockerfile has also utility called `grpcurl` to help send the grpc calls, run it to get version using `.proto` definition
```
kubectl run -it --rm pachctl --image=lenisha/pachctl --generator=run-pod/v1
# grpcurl -proto version.proto -plaintext xxxxx:30750 versionpb.API.GetVersion
```To install grpcutil locally see Dockerfile
## References
[https://github.com/pachyderm/pachyderm/issues/3232](https://github.com/pachyderm/pachyderm/issues/3232)
[https://docs.pachyderm.io/en/latest/pachctl/pachctl_config_update_context.html?highlight=address](https://docs.pachyderm.io/en/latest/pachctl/pachctl_config_update_context.html?highlight=address)
[https://docs.pachyderm.io/en/latest/reference/config_spec.html](https://docs.pachyderm.io/en/latest/reference/config_spec.html)
[https://github.com/pachyderm/pachyderm/issues/3466](https://github.com/pachyderm/pachyderm/issues/3466) -