Choerodon Agent
is a environment client which connects to the choerodon platform through websocket, And it is a relay station for other services and k8s interaction. The interactioninteract through command/response
to provide these features to other service,such as management of helm release, network management, k8s object monitoring, and container log and shell. We can use che choerodon agent to operate the k8s like using kubectl client.
- helm release management
- Web Services and Domain Management
- Kubernetes object monitoring and processing
- Container log and shell
- WebSocket log of k8s object
- Go 1.11.5 and above
Get Code
go get github.com/choerodon/choerodon-cluster-agent
cd `go env GOPATH`/src/github.com/choerodon/choerodon-cluster-agent/
Build
make
Run
SERVER_ADDRESS=wss://your.devops.domain/agent/?version=your-agent-version&clusterId=your-cluster-id&token=your-token&key=cluster:your-cluster-id
Token=your-token
./bin/choerodon-cluster-agent \
--v=1 \
--tiller-connection-timeout=2 \
--connect=${SERVER_ADDRESS} \
--token=${Token}
If you find any shortcomings or bugs, please describe them in the issue.
Pull requests are welcome! Follow to know for more information on how to contribute.