diff --git a/examples/echo/echo.go b/examples/echo/echo.go index 9482061..63fe012 100644 --- a/examples/echo/echo.go +++ b/examples/echo/echo.go @@ -26,7 +26,7 @@ import ( var stringLength = metrics.NewHistogram( "echo_string_length", "The length of strings passed to the Echo method", - metrics.NonNegativeBuckets, + []float64{1, 10, 100, 1000, 10000, 100000, 1000000}, ) // Echoer component. diff --git a/examples/echo/weaver_gen.go b/examples/echo/weaver_gen.go index b1e9462..24b0445 100644 --- a/examples/echo/weaver_gen.go +++ b/examples/echo/weaver_gen.go @@ -176,7 +176,7 @@ var _ weaver.Main = (*main_client_stub)(nil) // you run "go build" or "go run". var _ codegen.LatestVersion = codegen.Version[[0][24]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.24.2 (codegen +ERROR: You generated this file with 'weaver generate' v0.24.3 (codegen version v0.24.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/go.mod b/go.mod index 3b17ff3..45afd7b 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/ServiceWeaver/weaver-kube go 1.21 require ( - github.com/ServiceWeaver/weaver v0.24.2 + github.com/ServiceWeaver/weaver v0.24.3 github.com/google/uuid v1.3.1 go.opentelemetry.io/otel v1.19.0 go.opentelemetry.io/otel/exporters/jaeger v1.17.0 diff --git a/go.sum b/go.sum index 29e8762..b5cd476 100644 --- a/go.sum +++ b/go.sum @@ -39,8 +39,8 @@ github.com/DataDog/hyperloglog v0.0.0-20220804205443-1806d9b66146 h1:S5WsRc58vIe github.com/DataDog/hyperloglog v0.0.0-20220804205443-1806d9b66146/go.mod h1:hFPkswc42pKhRbeKDKXy05mRi7J1kJ2vMNbvd9erH0M= github.com/DataDog/mmh3 v0.0.0-20210722141835-012dc69a9e49 h1:EbzDX8HPk5uE2FsJYxD74QmMw0/3CqSKhEr6teh0ncQ= github.com/DataDog/mmh3 v0.0.0-20210722141835-012dc69a9e49/go.mod h1:SvsjzyJlSg0rKsqYgdcFxeEVflx3ZNAyFfkUHP0TxXg= -github.com/ServiceWeaver/weaver v0.24.2 h1:GXapIUCLlN8YYLjH2fvbw0lR77wM5uZOrvCBNG8YZYE= -github.com/ServiceWeaver/weaver v0.24.2/go.mod h1:twEFAFbylAXe9l1Zc5qrLOBfQvw2dKAGVFOyPzS0tFE= +github.com/ServiceWeaver/weaver v0.24.3 h1:pLF0k9TtAJDwJLr2653HU0LM+91AlklxK+Rzlu7bEoA= +github.com/ServiceWeaver/weaver v0.24.3/go.mod h1:twEFAFbylAXe9l1Zc5qrLOBfQvw2dKAGVFOyPzS0tFE= github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df h1:7RFfzj4SSt6nnvCPbCqijJi1nWCd+TqAT3bYCStRC18= github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= diff --git a/internal/tool/deploy.go b/internal/tool/deploy.go index 854fedf..2e673f2 100644 --- a/internal/tool/deploy.go +++ b/internal/tool/deploy.go @@ -145,12 +145,16 @@ Flags: For each group, you can also configure the resource, scaling and the storage specs as shown in e), f) and h). + i) Whether the application container should be built using Docker or Podman [7]. E.g., + buildTool: podman + [1] https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ [2] https://kubernetes.io/docs/concepts/security/service-accounts/ [3] https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ [4] https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ [5] https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ [6] https://kubernetes.io/docs/concepts/storage/volumes/ + [7] https://podman.io/ `, Flags: flags, Fn: func(ctx context.Context, args []string) error {