Skip to content

Commit

Permalink
Cut v2.11.0 release (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthomperoo authored Mar 22, 2024
1 parent 4d97b63 commit 5d39741
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 414 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v2.11.0] - 2024-03-22
### Changed
- Updated to `k8shorizmetrics/v3`.
- Partial K8s metrics server errors are logged to help with debugging.
Expand Down Expand Up @@ -283,7 +285,9 @@ command and `evaluate` commands; default `3000` milliseconds.
- Deploy image to Docker Hub.

[Unreleased]:
https://github.com/jthomperoo/custom-pod-autoscaler/compare/v2.10.0...HEAD
https://github.com/jthomperoo/custom-pod-autoscaler/compare/v2.11.0...HEAD
[v2.11.0]:
https://github.com/jthomperoo/custom-pod-autoscaler/compare/v2.10.0...v2.11.0
[v2.10.0]:
https://github.com/jthomperoo/custom-pod-autoscaler/compare/v2.9.0...v2.10.0
[v2.9.0]:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Build](https://github.com/jthomperoo/custom-pod-autoscaler/workflows/main/badge.svg)](https://github.com/jthomperoo/custom-pod-autoscaler/actions)
[![go.dev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat)](https://pkg.go.dev/github.com/jthomperoo/custom-pod-autoscaler)
[![go.dev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat)](https://pkg.go.dev/github.com/jthomperoo/custom-pod-autoscaler/v2)
[![Go Report
Card](https://goreportcard.com/badge/github.com/jthomperoo/custom-pod-autoscaler)](https://goreportcard.com/report/github.com/jthomperoo/custom-pod-autoscaler)
Card](https://goreportcard.com/badge/github.com/jthomperoo/custom-pod-autoscaler)](https://goreportcard.com/report/github.com/jthomperoo/custom-pod-autoscaler/v2)
[![Documentation
Status](https://readthedocs.org/projects/custom-pod-autoscaler/badge/?version=stable)](https://custom-pod-autoscaler.readthedocs.io/en/stable)
[![License](https://img.shields.io/:license-apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
Expand All @@ -27,7 +27,7 @@ Kubernetes interactions and custom user logic interactions.

A Custom Pod Autoscaler can be created by using this project, extending the Docker base images provided and inserting
your own logic; see the [examples for more
information](https://github.com/jthomperoo/custom-pod-autoscaler/tree/v2.10.0/example).
information](https://github.com/jthomperoo/custom-pod-autoscaler/tree/v2.11.0/example).

## Features

Expand Down
2 changes: 1 addition & 1 deletion example/custom-docker-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install wget -y
# Install CPA
RUN wget \
-qO- \
https://github.com/jthomperoo/custom-pod-autoscaler/releases/download/v2.10.0/custom-pod-autoscaler.tar.gz \
https://github.com/jthomperoo/custom-pod-autoscaler/releases/download/v2.11.0/custom-pod-autoscaler.tar.gz \
| tar xvz \
&& mv dist/* /app/

Expand Down
33 changes: 28 additions & 5 deletions example/simple-pod-metrics-golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
module github.com/jthomperoo/custom-pod-autoscaler/example/simple-pod-metrics-golang

go 1.16
go 1.21

toolchain go1.21.4

require (
github.com/jthomperoo/custom-pod-autoscaler/v2 v2.11.0
k8s.io/api v0.29.3
k8s.io/apimachinery v0.29.3
k8s.io/client-go v0.29.3
)

require (
github.com/jthomperoo/custom-pod-autoscaler/v2 v2.10.0
k8s.io/api v0.29.0
k8s.io/apimachinery v0.29.0
k8s.io/client-go v0.29.0
github.com/go-logr/logr v1.4.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/jthomperoo/k8shorizmetrics/v3 v3.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/jthomperoo/custom-pod-autoscaler/v2 => ../../
Loading

0 comments on commit 5d39741

Please sign in to comment.