Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lenisha/pachyderm-azure

Pachyderm testing
https://github.com/lenisha/pachyderm-azure

pachyderm

Last synced: 21 days ago
JSON representation

Pachyderm testing

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) -