Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watermark of cpu usage percent #552

Merged
merged 2 commits into from
Oct 11, 2022
Merged

Conversation

chenkaiyue
Copy link
Contributor

Watermark of cpu usage percent

…and container;Fix cadvisor can't get container info err
@chenkaiyue
Copy link
Contributor Author

企业微信截图_e371a8ac-125d-4848-a838-2e68d9a2351a

@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2022

🎉 Successfully Build Images.
Now Support ARM Platforms.
Comment Post Time: 2022-09-15 11:43
Git Version: 729c46c

Docker Registry

Overview: https://hub.docker.com/u/gocrane

Image Pull Command
crane-agent:pr-552-729c46c docker pull gocrane/crane-agent:pr-552-729c46c
dashboard:pr-552-729c46c docker pull gocrane/dashboard:pr-552-729c46c
metric-adapter:pr-552-729c46c docker pull gocrane/metric-adapter:pr-552-729c46c
craned:pr-552-729c46c docker pull gocrane/craned:pr-552-729c46c

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=gocrane/craned \
                   --set craned.image.tag=pr-552-729c46c \
                   --set metricAdapter.image.repository=gocrane/metric-adapter \
                   --set metricAdapter.image.tag=pr-552-729c46c \
                   --set craneAgent.image.repository=gocrane/crane-agent \
                   --set craneAgent.image.tag=pr-552-729c46c \
                   --set cranedDashboard.image.repository=gocrane/dashboard \
                   --set cranedDashboard.image.tag=pr-552-729c46c crane/crane

Coding Registry

Overview: https://finops.coding.net/public-artifacts/gocrane/crane/packages

Image Pull Command
crane-agent:pr-552-729c46c docker pull finops-docker.pkg.coding.net/gocrane/crane/crane-agent:pr-552-729c46c
dashboard:pr-552-729c46c docker pull finops-docker.pkg.coding.net/gocrane/crane/dashboard:pr-552-729c46c
metric-adapter:pr-552-729c46c docker pull finops-docker.pkg.coding.net/gocrane/crane/metric-adapter:pr-552-729c46c
craned:pr-552-729c46c docker pull finops-docker.pkg.coding.net/gocrane/crane/craned:pr-552-729c46c

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=finops-docker.pkg.coding.net/gocrane/crane/craned \
                   --set craned.image.tag=pr-552-729c46c \
                   --set metricAdapter.image.repository=finops-docker.pkg.coding.net/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-552-729c46c \
                   --set craneAgent.image.repository=finops-docker.pkg.coding.net/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-552-729c46c \
                   --set cranedDashboard.image.repository=finops-docker.pkg.coding.net/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-552-729c46c crane/crane

Ghcr Registry

Overview: https://github.com/orgs/gocrane/packages?repo_name=crane

Image Pull Command
crane-agent:pr-552-729c46c docker pull ghcr.io/gocrane/crane/crane-agent:pr-552-729c46c
dashboard:pr-552-729c46c docker pull ghcr.io/gocrane/crane/dashboard:pr-552-729c46c
metric-adapter:pr-552-729c46c docker pull ghcr.io/gocrane/crane/metric-adapter:pr-552-729c46c
craned:pr-552-729c46c docker pull ghcr.io/gocrane/crane/craned:pr-552-729c46c

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=ghcr.io/gocrane/crane/craned \
                   --set craned.image.tag=pr-552-729c46c \
                   --set metricAdapter.image.repository=ghcr.io/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-552-729c46c \
                   --set craneAgent.image.repository=ghcr.io/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-552-729c46c \
                   --set cranedDashboard.image.repository=ghcr.io/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-552-729c46c crane/crane

pkg/utils/pod.go Show resolved Hide resolved
pkg/utils/pod.go Show resolved Hide resolved
pkg/ensurance/executor/cpu_usage_percent.go Show resolved Hide resolved
Copy link
Contributor

@mfanjie mfanjie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mfanjie mfanjie merged commit 2b24771 into gocrane:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants