-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
helm not support arm64? #2786
Comments
HI @noahge, client-side binaries for the arm64 architecture are now available for linux (https://www.getambassador.io/docs/telepresence/2.7/install/?os=macos). The Telepresence Helm chart is only for the Traffic Manager and the chart does not include ARM at this time. Would you like us to leave this open as a Feature Request? |
Hi @cindymullins-dw,my laptop CPU is m1 max, I want build a development environment on my laptop, But my kubernetes cluster only support arm64 images,So i need Traffic Manager Arm64 Version. |
Anything new about this? |
I build image for myself. I'm using it that way: telepresence helm install --set image.name=telepresence-ubuntu-multiarch --set image.registry=docker.io/pentusha --image.tag=v2.10.4 You may build similar or make PR in this repo. Dockerfile # syntax = docker/dockerfile:1.3
# Copyright 2020-2022 Datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.18 as tel2-build
RUN apt-get update && apt-get install -y \
gcc \
libcap-dev \
libfuse-dev \
libcap2-bin
WORKDIR telepresence
COPY go.mod go.sum .
COPY cmd/ cmd/
COPY pkg/ pkg/
COPY rpc/ rpc/
COPY charts/ charts/
COPY build-output/version.txt .
RUN \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
go build -o /usr/local/bin/ -trimpath -ldflags=-X=$(go list ./pkg/version).Version=$(cat version.txt) ./cmd/traffic/...
# setcap is necessary because the process will listen to privileged ports
RUN setcap 'cap_net_bind_service+ep' /usr/local/bin/traffic
# The tel2 target is the one that gets published. It aims to be a small as possible.
FROM ubuntu:22.04 as tel2
RUN apt-get update && apt-get install -y \
ca-certificates \
iptables
# the traffic binary
COPY --from=tel2-build /usr/local/bin/traffic /usr/local/bin
RUN \
mkdir /tel_app_mounts && \
chgrp -R 0 /tel_app_mounts && \
chmod -R g=u /tel_app_mounts && \
mkdir -p /home/telepresence && \
chgrp -R 0 /home/telepresence && \
chmod -R g=u /home/telepresence && \
chmod 0777 /home/telepresence
ENTRYPOINT ["traffic"]
CMD [] Makefile: .PHONY: image
image: build-deps
mkdir -p $(BUILDDIR)
printf $(TELEPRESENCE_VERSION) > $(BUILDDIR)/version.txt ## Pass version in a file instead of a --build-arg to maximize cache usage
docker buildx create --use \
&& docker buildx build \
--target tel2 \
--tag $(TELEPRESENCE_REGISTRY)/telepresence-ubuntu-multiarch:$(patsubst v%,%,$(TELEPRESENCE_VERSION)) \
--platform linux/amd64,linux/arm64 \
--file base-image/Dockerfile \
--push \
. |
Respect! |
Make a correction: telepresence helm install --set image.name=pentusha/telepresence-ubuntu-multiarch --set image.registry=docker.io --set image.tag=2.10.4 |
@Pentusha Hi, do you have the |
We're including arm64 support in our next minor release of Telepresence. It should arrive sometime next week if things go according to plan. |
Looking forward to it! |
Hi @thallgren, |
Oh. It has been fixed too but I think we just forgot to push it. I'll take care of that. Thanks for reporting it. |
The new 1.13.9 version that I just pushed has support for arm64, which means that all cluster components now have that. |
No description provided.
The text was updated successfully, but these errors were encountered: