From 54d0d75c10fa16bc76630f2aedd8c22e11299ee7 Mon Sep 17 00:00:00 2001 From: qmhu Date: Fri, 16 Dec 2022 16:48:20 +0800 Subject: [PATCH] release v0.9.0 --- deploy/crane-agent/daemonset.yaml | 2 +- deploy/craned/deployment.yaml | 7 +++++-- deploy/metric-adapter/deployment.yaml | 2 +- go.mod | 2 +- go.sum | 2 ++ 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/deploy/crane-agent/daemonset.yaml b/deploy/crane-agent/daemonset.yaml index 2c8651fb0..c3d38744d 100644 --- a/deploy/crane-agent/daemonset.yaml +++ b/deploy/crane-agent/daemonset.yaml @@ -28,7 +28,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: docker.io/gocrane/crane-agent:v0.8.0 + image: docker.io/gocrane/crane-agent:v0.9.0 imagePullPolicy: Always command: - /crane-agent diff --git a/deploy/craned/deployment.yaml b/deploy/craned/deployment.yaml index e82de46a4..82020e4b7 100644 --- a/deploy/craned/deployment.yaml +++ b/deploy/craned/deployment.yaml @@ -35,7 +35,7 @@ spec: operator: Exists containers: - name: craned - image: docker.io/gocrane/craned:v0.8.0 + image: docker.io/gocrane/craned:v0.9.0 imagePullPolicy: IfNotPresent env: - name: TZ @@ -115,7 +115,10 @@ data: apiVersion: apps/v1 - kind: StatefulSet apiVersion: apps/v1 - + - name: IdleNode + acceptedResources: + - kind: Node + apiVersion: v1 --- apiVersion: v1 kind: ConfigMap diff --git a/deploy/metric-adapter/deployment.yaml b/deploy/metric-adapter/deployment.yaml index 6ca6e86ff..0bc7c89d6 100644 --- a/deploy/metric-adapter/deployment.yaml +++ b/deploy/metric-adapter/deployment.yaml @@ -27,7 +27,7 @@ spec: serviceAccountName: metric-adapter containers: - name: metric-adapter - image: docker.io/gocrane/metric-adapter:v0.8.0 + image: docker.io/gocrane/metric-adapter:v0.9.0 imagePullPolicy: IfNotPresent env: - name: TZ diff --git a/go.mod b/go.mod index a43bf6d3b..1fcc5f415 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.17 require ( github.com/evanphx/json-patch v4.11.0+incompatible github.com/go-echarts/go-echarts/v2 v2.2.4 - github.com/gocrane/api v0.8.1-0.20221215043447-1fb56d37bb86 + github.com/gocrane/api v0.9.0 github.com/google/cadvisor v0.39.2 github.com/jaypipes/ghw v0.9.0 github.com/mjibson/go-dsp v0.0.0-20180508042940-11479a337f12 diff --git a/go.sum b/go.sum index 60c4e0952..6258376b1 100644 --- a/go.sum +++ b/go.sum @@ -350,6 +350,8 @@ github.com/gobwas/ws v1.1.0-rc.5 h1:QOAag7FoBaBYYHRqzqkhhd8fq5RTubvI4v3Ft/gDVVQ= github.com/gobwas/ws v1.1.0-rc.5/go.mod h1:nzvNcVha5eUziGrbxFCo6qFIojQHjJV5cLYIbezhfL0= github.com/gocrane/api v0.8.1-0.20221215043447-1fb56d37bb86 h1:pPNeLZzyQiX5GXphUWEOgX1ozpcydFLlOK7XyGSGdi8= github.com/gocrane/api v0.8.1-0.20221215043447-1fb56d37bb86/go.mod h1:GxI+t9AW8+NsHkz2JkPBIJN//9eLUjTZl1ScYAbXMbk= +github.com/gocrane/api v0.9.0 h1:PZwRhBc1FCDR2w9NPCw3Wc9jzATJHGhxoHFH7kiNgf8= +github.com/gocrane/api v0.9.0/go.mod h1:GxI+t9AW8+NsHkz2JkPBIJN//9eLUjTZl1ScYAbXMbk= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4 h1:9349emZab16e7zQvpmsbtjc18ykshndd8y2PG3sgJbA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=