quay thumb

@rhuss

Actually I can't use quay.io/coreos/kube-state-metrics:v1.9.3 on a Raspberry Pi cluster as there is no manifest deployed.

Bạn đang xem: quay thumb

Currently, I'm using this workaround with a Docker multistage build and Buildkit:

FROM golang:1.13-alpine AS builder
ARG VERSION

RUN apk add make git

WORKDIR /opt
RUN git clone https://yamada.edu.vn/kubernetes/kube-state-metrics.git . \
 && git fetch --tags \
 && git checkout $VERSION \
 && make build-local

# -----------------------------------------
FROM gcr.io/distroless/static

COPY --from=builder /opt/kube-state-metrics /
USER nobody
ENTRYPOINT ["/kube-state-metrics", "--port=8080", "--telemetry-port=8081"]

EXPOSE 8080 8081

and then

# Create builkdit builder
docker buildx create --name xbuilder
docker buildx use xbuilder

# Build. Adjust architectures to lớn the ones needed
VERSION=v1.9.3
docker buildx build --build-arg VERSION=${VERSION} --platform linux/arm/v7,linux/amd64 --progress plain --push -t rhuss/kube-state-metrics:${VERSION} .
der-ali, EpiqSty, rsaikali, charlieegan3, HaveFun83, Pentusha, JoseThen, jdmarble, MikeTomlin19, tk3fftk, and 7 more reacted with thumbs up emoji

@lilic

The images are best effort currently, we don't have automation in place to lớn generate those, we are working with the k8s org but sort of blocked on google right now.

But if you want to lớn contribute the scripts to lớn the makefile and update the release process we can generate and push those to lớn at least coreos cù repo. Contributions welcome! :)

@jason-riddle

I'm taking a look at the Makefile but it's unclear what needs to lớn change.

There is all-push

all-push: $(addprefix sub-push-,$(ALL_ARCH))

Which makes use of sub-push

sub-push-%:
	$(MAKE) --no-print-directory ARCH=$* push

Which makes use of push

push: .push-$(ARCH)
.push-$(ARCH): .container-$(ARCH)
	gcloud docker -- push $(MULTI_ARCH_IMG):$(TAG)
	gcloud docker -- push $(MULTI_ARCH_IMG):latest
ifeq ($(ARCH), amd64)
	gcloud docker -- push $(IMAGE):$(TAG)
	gcloud docker -- push $(IMAGE):latest
endif

But why does sub-push not Điện thoại tư vấn quay-push as well?

@jason-riddle

Is it just as simple as adding the following to lớn sub-push?

sub-push-%:
	$(MAKE) --no-print-directory ARCH=$* push
	$(MAKE) --no-print-directory ARCH=$* quay-push

@jason-riddle

@lilic

Feel miễn phí to lớn contribute the changes! :) Lets have those in before we migrate to lớn #1089

@fejta-bot

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Xem thêm: con mèo chibi

If this issue is safe to lớn close now please bởi sánh with /close.

Send feedback to lớn sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@cablespaghetti

/remove-lifecycle stale

I am very much still interested in this and will look into contributing the changes if I can.

@lilic

There is work in progress for this already #1190

@cablespaghetti

Great! Glad arm64 is getting sánh much traction at the moment. 🙂

@fejta-bot

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to lớn close now please bởi sánh with /close.

Send feedback to lớn sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@lilic

Closing this as they are part of gcr images now, we plan on deprecating cù images in the future sánh we won't be adding them to lớn cù.

@nemo83

Xem thêm: ảnh tô màu công chúa

Closing this as they are part of gcr images now, we plan on deprecating cù images in the future sánh we won't be adding them to lớn cù.

Happy to lớn hear they are part of gcr, would you know the full repo url? I tried k8s.gcr.io/kube-state-metrics/kube-state-metrics:v1.9.7 and it doesn't seem to lớn be there. Thanks!

@lilic