Skip to content

Commit a8cdc77

Browse files
author
Alix Cook
authored
[2.0.1-ea] Changelog update (#14)
* put emissary changes in changelog * Changelog updates for 2.0.1-ea * dont apply test-ready pod * create resources migration and oss-migration * changelog updates * commit change * FORCE yaml * update edge stack things * Changelog, manifest and chart updates for 2.0.1-ea * fix the chart readme
1 parent 73fc821 commit a8cdc77

File tree

19 files changed

+738
-86
lines changed

19 files changed

+738
-86
lines changed

CHANGELOG.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,34 @@ Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest
6666

6767
## RELEASE NOTES
6868

69-
## [2.0.1-ea] (TBD)
69+
## Next Release
70+
71+
(no changes yet)
72+
73+
## [2.0.1-ea] August 12, 2021
74+
[2.0.1-ea]: https://github.com/datawire/edge-stack/compare/v2.0.0-ea...v2.0.1-ea
75+
76+
### Ambassador Edge Stack
7077

7178
We're pleased to introduce Edge Stack 2.0.1 as a developer preview. The 2.X family introduces a number of changes to allow Edge Stack to more gracefully handle larger installations, reduce global configuration to better handle multitenant or multiorganizational installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.
7279

7380
### Ambassador Edge Stack
7481

75-
- Bugfix: The `AmbassadorMapping` resource can now specify `docs.timeout_ms` to set the timeout when the
82+
- Feature: Ambassador Agent reports sidecar process information and Mapping OpenAPI documentation to Ambassador Cloud to provide more visibility into services and clusters.
83+
- Feature: The optional `stats_prefix` element of the `AmbassadorListener` CRD now determines the prefix of HTTP statistics emitted for a specific `AmbassadorListener`.
84+
- Feature: The optional `stats_name` element of `AmbassadorMapping`, `AmbassadorTCPMapping`, `AuthService`, `LogService`, `RateLimitService`, and `TracingService` now sets the name under which cluster statistics will be logged. The default is the `service`, with non-alphanumeric characters replaced by underscores.
85+
- Bugfix: The `AmbassadorMapping` resource can now specify `docs.timeout_ms` to set the timeout when the
7686
Dev Portal is fetching API specifications.
7787
- Bugfix: The Dev Portal will now strip HTML tags when displaying search results, showing just
88+
- Bugfix: Ambassador Edge Stack has updated to `k8s.io/klog/v2` to track upstream and to quiet unnecessary log output.
89+
- Change: Logs now include subsecond time resolutions, rather than just seconds.
90+
- Change: Envoy-configuration snapshots get saved (as `ambex-#.json`) in `/ambassador/snapshots`.
91+
The number of snapshots is controlled by the `AMBASSADOR_AMBEX_SNAPSHOT_COUNT` environment
92+
variable; set it to 0 to disable. The default is 30.
93+
- Change: Set `AMBASSADOR_AMBEX_NO_RATELIMIT` to `true` to completely disable ratelimiting Envoy
94+
reconfiguration under memory pressure. This can help performance with the endpoint or Consul
95+
resolvers, but could make OOMkills more likely with large configurations. The default is `false`,
96+
meaning that the rate limiter is active.
7897
the actual content of the search result.
7998
- Change: Consul certificate-rotation logging now includes the fingerprints and validity
8099
timestamps of certificates being rotated.

Makefile

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,20 @@ HELM_OUTPUT_DIR := $(EDGE_STACK_HOME)/build/helm/
55

66
update-yaml/files += $(EDGE_STACK_HOME)/manifests/edge-stack/aes.yaml
77
update-yaml/files += $(EDGE_STACK_HOME)/manifests/edge-stack/aes-crds.yaml
8+
update-yaml/files += $(EDGE_STACK_HOME)/manifests/edge-stack/oss-migration.yaml
9+
update-yaml/files += $(EDGE_STACK_HOME)/manifests/edge-stack/resources-migration.yaml
810

9-
$(EDGE_STACK_HOME)/manifests/edge-stack/aes.yaml: $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml) $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/charts/*.tgz) $(EDGE_STACK_HOME)/charts/edge-stack/values.yaml $(EDGE_STACK_HOME)/k8s-config/aes/values.yaml
11+
create-venv:
12+
[[ -d $(EDGE_STACK_HOME)/venv ]] || python3 -m venv $(EDGE_STACK_HOME)/venv
13+
.PHONY: create-venv
14+
15+
python-setup: create-venv
16+
$(EDGE_STACK_HOME)/venv/bin/python -m pip install ruamel.yaml
17+
.PHONY: python-setup
18+
19+
FORCE:
20+
21+
$(EDGE_STACK_HOME)/manifests/edge-stack/aes.yaml: $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml) $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/charts/*.tgz) $(EDGE_STACK_HOME)/charts/edge-stack/values.yaml $(EDGE_STACK_HOME)/k8s-config/aes/values.yaml FORCE
1022
mkdir -p $(@D)
1123
helm template edge-stack -n ambassador -f $(EDGE_STACK_HOME)/k8s-config/aes/values.yaml $(EDGE_STACK_HOME)/charts/edge-stack/ > $@
1224

@@ -16,13 +28,31 @@ template-helm:
1628
helm template edge-stack --output-dir $(HELM_OUTPUT_DIR) --include-crds -n ambassador $(EDGE_STACK_HOME)/charts/edge-stack
1729
.PHONY: template-helm
1830

19-
$(EDGE_STACK_HOME)/manifests/edge-stack/aes-crds.yaml: $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml) $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/charts/*.tgz) template-helm
31+
$(EDGE_STACK_HOME)/manifests/edge-stack/aes-crds.yaml: $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml) $(wildcard $(EDGE_STACK_HOME)/charts/edge-stack/charts/*.tgz) template-helm FORCE
2032
cat $(sort $(wildcard $(HELM_OUTPUT_DIR)/edge-stack/charts/emissary-ingress/crds/*.yaml)) > $@
2133
cat $(sort $(wildcard $(HELM_OUTPUT_DIR)/edge-stack/crds/*.yaml)) >> $@
2234
rm -rf $(HELM_OUTPUT_DIR)
2335

36+
define generate_yaml_from_helm
37+
mkdir -p `dirname $(3)` && \
38+
mkdir -p $(EDGE_STACK_HOME)/build/yaml/$(1) && \
39+
helm template edge-stack -n $(2) \
40+
-f $(EDGE_STACK_HOME)/k8s-config/$(1)/values.yaml \
41+
$(EDGE_STACK_HOME)/charts/edge-stack > $(EDGE_STACK_HOME)/build/yaml/$(1)/helm-expanded.yaml
42+
$(EDGE_STACK_HOME)/venv/bin/python $(EDGE_STACK_HOME)/k8s-config/create_yaml.py \
43+
$(EDGE_STACK_HOME)/build/yaml/$(1)/helm-expanded.yaml $(EDGE_STACK_HOME)/k8s-config/$(1)/require.yaml > $(3)
44+
endef
45+
46+
$(EDGE_STACK_HOME)/manifests/edge-stack/oss-migration.yaml: $(EDGE_STACK_HOME)/k8s-config/create_yaml.py $(EDGE_STACK_HOME)/k8s-config/oss-migration/require.yaml $(EDGE_STACK_HOME)/k8s-config/oss-migration/values.yaml $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml $(EDGE_STACK_HOME)/charts/edge-stack/values.yaml python-setup FORCE
47+
@printf ' $(CYN)$@$(END)\n'
48+
$(call generate_yaml_from_helm,oss-migration,default,$@)
49+
50+
$(EDGE_STACK_HOME)/manifests/edge-stack/resources-migration.yaml: $(EDGE_STACK_HOME)/k8s-config/create_yaml.py $(EDGE_STACK_HOME)/k8s-config/resources-migration/require.yaml $(EDGE_STACK_HOME)/k8s-config/resources-migration/values.yaml $(EDGE_STACK_HOME)/charts/edge-stack/templates/*.yaml $(EDGE_STACK_HOME)/charts/edge-stack/values.yaml python-setup FORCE
51+
@printf ' $(CYN)$@$(END)\n'
52+
$(call generate_yaml_from_helm,resources-migration,default,$@)
53+
2454
update-yaml:
25-
@echo '$(MAKE) $$(update-yaml/files)'; $(MAKE) $(update-yaml/files)
55+
@echo '$(MAKE) $$(update-yaml/files)'; $(MAKE) $(update-yaml/files) --always-make
2656
.PHONY: update-yaml
2757

2858
push-manifests:

charts/edge-stack/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ numbering uses [semantic versioning](http://semver.org).
77

88
(no changes yet)
99

10+
## v7.1.1-ea
11+
12+
- Update Edge Stack chart image to version v2.0.1-ea: [CHANGELOG](https://github.com/emissary-ingress/emissary/blob/master/CHANGELOG.md)
13+
1014
## v7.1.0-ea
1115

1216
- Feature: New canarying features for Ambassador in the chart that allow creation of a secondary deployment/service to test new versions and environment variables.

charts/edge-stack/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: 2.0.0-ea
2+
appVersion: 2.0.1-ea
33
description: A Helm chart for Ambassador Edge Stack
44
name: edge-stack
5-
version: 7.1.0-ea
5+
version: 7.1.1-ea
66
# TODO: change these to whatever the appropriate things are
77
icon: https://www.getambassador.io/images/logo.png
88
home: https://www.getambassador.io/

0 commit comments

Comments
 (0)