Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.75 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.75 KB

Choerodon cluster Agent

GoDoc Widget

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.

Feature

  • helm release management
  • Web Services and Domain Management
  • Kubernetes object monitoring and processing
  • Container log and shell
  • WebSocket log of k8s object

Requirements

  • Go 1.11.5 and above

Installation and Run

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} 

Reporting Issues

If you find any shortcomings or bugs, please describe them in the issue.

How to Contribute

Pull requests are welcome! Follow to know for more information on how to contribute.