Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 985 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 985 Bytes

Kubernetes HPA Demo

This repo is composed of two demonstrations.

  1. HPA with CPU metrics
  2. HPA with Istio metrics (requests_per_second, 90%tile request processing duration)

HPA Dashboard

How to create a docker image with multiple platform?

  1. Create a builder
docker buildx create --name armamd
  1. Select the created builder
docker buildx use armamd
  1. Build an image targeting linux/arm64 and linux/amd64
docker buildx build --platform linux/amd64,linux/arm64 -t ryojpn/go-cpu-intensive:latest .

Replace ryojpn with your DockerHub ID.

Optionally, you can add --push option to directly push the built image.