choerodon-cluster-agent

module
v0.0.0-...-0a5baa5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0

README

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.

Directories

Path Synopsis
cmd
pkg
apis/certificate/v1/apis/acme
Package acme contains types in the acme cert-manager API group
Package acme contains types in the acme cert-manager API group
apis/certificate/v1/apis/acme/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
apis/certificate/v1/apis/certmanager
Package certmanager is the internal version of the API.
Package certmanager is the internal version of the API.
apis/certificate/v1/apis/certmanager/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
apis/certificate/v1/apis/meta
Package meta contains meta types for cert-manager APIs
Package meta contains meta types for cert-manager APIs
apis/certificate/v1/apis/meta/v1
Package meta contains meta types for cert-manager APIs +k8s:deepcopy-gen=package +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +gencrdrefdocs:force +groupName=meta.cert-manager.io
Package meta contains meta types for cert-manager APIs +k8s:deepcopy-gen=package +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +gencrdrefdocs:force +groupName=meta.cert-manager.io
apis/certificate/v1/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
apis/certificate/v1/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
apis/certificate/v1/client/clientset/versioned/typed/acme/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
apis/certificate/v1/client/clientset/versioned/typed/certmanager/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
apis/certificate/v1alpha1/apis/certmanager
Package certmanager is the internal version of the API.
Package certmanager is the internal version of the API.
apis/certificate/v1alpha1/apis/certmanager/install
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
apis/certificate/v1alpha1/apis/certmanager/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
apis/choerodon/v1alpha1
+k8s:deepcopy-gen=package +groupName=choerodon.io
+k8s:deepcopy-gen=package +groupName=choerodon.io
git
注意,这里面的这些方法看不懂作用是什么的,根据方法里面的参数,在某个git管理的项目下执行就能知道效果是什么了
注意,这里面的这些方法看不懂作用是什么的,根据方法里面的参数,在某个git管理的项目下执行就能知道效果是什么了

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL