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

fix err logs in crane-agent #817

Merged
merged 1 commit into from
Jun 9, 2023
Merged

fix err logs in crane-agent #817

merged 1 commit into from
Jun 9, 2023

Conversation

duanmengkk
Copy link
Contributor

@duanmengkk duanmengkk commented Jun 9, 2023

What type of PR is this?

bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Static pods in Kubernetes are not managed by cgroups in /sys/fs/cgroup/, which means cadvisor can not get containerinfo by it.
image
The error logs are continuously being output in the crane-agent.

Signed-off-by: duanmengkk <duanmeng_yewu@cmss.chinamobile.com>
@duanmengkk
Copy link
Contributor Author

/cc @qmhu

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2023

🎉 Successfully Build Images.
Now Support ARM Platforms.
Comment Post Time: 2023-06-09 15:39
Git Version: ecb9c84

Docker Registry

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

Image Pull Command
crane-agent:pr-817-ecb9c84 docker pull gocrane/crane-agent:pr-817-ecb9c84
dashboard:pr-817-ecb9c84 docker pull gocrane/dashboard:pr-817-ecb9c84
metric-adapter:pr-817-ecb9c84 docker pull gocrane/metric-adapter:pr-817-ecb9c84
craned:pr-817-ecb9c84 docker pull gocrane/craned:pr-817-ecb9c84

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-817-ecb9c84 \
                   --set metricAdapter.image.repository=gocrane/metric-adapter \
                   --set metricAdapter.image.tag=pr-817-ecb9c84 \
                   --set craneAgent.image.repository=gocrane/crane-agent \
                   --set craneAgent.image.tag=pr-817-ecb9c84 \
                   --set cranedDashboard.image.repository=gocrane/dashboard \
                   --set cranedDashboard.image.tag=pr-817-ecb9c84 crane/crane

Coding Registry

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

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

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-817-ecb9c84 \
                   --set metricAdapter.image.repository=finops-docker.pkg.coding.net/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-817-ecb9c84 \
                   --set craneAgent.image.repository=finops-docker.pkg.coding.net/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-817-ecb9c84 \
                   --set cranedDashboard.image.repository=finops-docker.pkg.coding.net/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-817-ecb9c84 crane/crane

Ghcr Registry

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

Image Pull Command
crane-agent:pr-817-ecb9c84 docker pull ghcr.io/gocrane/crane/crane-agent:pr-817-ecb9c84
dashboard:pr-817-ecb9c84 docker pull ghcr.io/gocrane/crane/dashboard:pr-817-ecb9c84
metric-adapter:pr-817-ecb9c84 docker pull ghcr.io/gocrane/crane/metric-adapter:pr-817-ecb9c84
craned:pr-817-ecb9c84 docker pull ghcr.io/gocrane/crane/craned:pr-817-ecb9c84

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-817-ecb9c84 \
                   --set metricAdapter.image.repository=ghcr.io/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-817-ecb9c84 \
                   --set craneAgent.image.repository=ghcr.io/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-817-ecb9c84 \
                   --set cranedDashboard.image.repository=ghcr.io/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-817-ecb9c84 crane/crane

@qmhu qmhu merged commit 9568e74 into gocrane:main Jun 9, 2023
@duanmengkk duanmengkk deleted the fix_yaml branch June 9, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants