Release 2022-06-14 - (expected chart version 4.14.0)#2478
Closed
Release 2022-06-14 - (expected chart version 4.14.0)#2478
Conversation
After Vedran asked about it
glibc 2.34 uses the clone3 syscall, which is not part of the seccomp filters that moby ships on older versions. While as a workaround you might be able to run containers with `--privileged`, it's the better call to just run a more recent Docker runtime. References: - docker/buildx#772 - moby/buildkit#2379 - moby/moby#42836 - NixOS/nixpkgs#170900
docs/src/how-to/install/dependencies.rst: require Docker >= 20.10.14
Lint remaining tools
Reverted back to sequence+map to avoid GHC issue when dealing with Arbitrary instances
Merge master back into develop for release 2022-06-08
Lint remaining services
…r support (#2413) * charts/*: drop wireService label, use app= instead, add servicemonitor support This aligns labels a bit more with how they look like in other deployments. In some cases, we were already setting the `app` label, too. There's one possible regression: The wire-server-metrics helm chart configured kube-prometheus-stack to automatically scrape everything with a wireService label at port http, path /i/metrics. This will be fixed in a followup, by adding ServiceProbe resources to each workload that exposes metrics. * charts/brig: add servicemonitor support * charts/cannon: add servicemonitor support * chart/cargohold: add servicemonitor support * charts/galley: add servicemonitor support * charts/gundeck: add servicemonitor support * charts/proxy: add servicemonitor support * charts/spar: add servicemonitor support * changelog.d: add wireService label removal to changelog
…ent recreation (#2472) The `wireService` label was also used in the `spec.selector.matchLabels` field on existing `Deployment` / `StatefulSet` resources. As these fields being immutable, changing them isn't possible without recreation. Update the release notes to document this fact, and how to handle it.
Lint libs folder (partial)
* Add mls clients to remote member table * Add fed endpoint to get MLS clients * Store remote mls clients in conversations * Move MessageMetadata to wire-api * Add fed RPC for remote message notifications * Send MLS messages to remote members * Ignore (and log) errors when sending MLS messages * Ignore local member map for non-bots * Add a federation test * Test adding remote member to MLS conv * Add end-to-end test of remote MLS messages * Add remote MLS message test * Replace LocalMemberMap with BotMap * onMessageSent: only send messages to members * Add CHANGELOG entry * Typo Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
Co-authored-by: Zebot <zebot@users.noreply.github.com>
This provides a prometheus endpoint out of the box, so we can access it at /vts/status/format/prometheus.
Make this actually only one service, exposing two ports. This will allow selecting nginz for metrics scraping on the right port, without the need for additional labels to distinguish `nginz-tcp` from `nginz-http`.
With the move to a single Service for nginz, exposing two ports, we can actually properly target the http port of nginz for metrics collection. As with the other services, the service monitor creation is opt-in.
Let nginx-ingress-services simply target the nginz service created by the nginz chart.
//services/nginz/third_party/nginx-module-vts: update
Co-authored-by: Zebot <zebot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[2022-06-14] (Chart Release 4.14.0)
Release notes
The
nginz{-tcp,-http}services have been unified into anginzservice, andmoved into the nginz chart.
The nginz-ingress-services chart simply targets the
nginzservice, so there'sno need to set matching
service.nginz.external{Http,Tcp}Portinside thenginx-ingress-serviceschart anymore.The
config.http.httpPortandconfig.ws.wsPortvalues in thenginzchartstill configure the ports the
nginzservice is listening on.The
nginzchart also gained support formetrics.serviceMonitor.enabled,creating a
ServiceMonitorresource to scrape metrics, like for other wireservices.
(//services/nginz/third_party/nginx-module-vts: update #2476)
Upgrade team-settings version to 4.10.0-v0.29.7-0-3be8ca3 (Update team-settings version in Helm chart [skip ci] #2180)
Upgrade webapp version to 2022-06-13-production.0-v0.29.7-0-2819b90 (Update webapp version in Helm chart [skip ci] #2302)
In the helm charts, the
wireServicelabel has been removed.In some cases, we were already setting the
applabel too.Now we consistently use the
applabel to label different wire services.The
wireServicelabel was also used in thespec.selector.matchLabelsfieldon existing
Deployment/StatefulSetresources.As these fields being immutable, changing them isn't possible without recreation.
If you encounter an issue like
you need to manually delete these StatefulSet and Deployment resources, and apply helm again, which will recreate them.
This means downtime, so plan a maintenance window for it.
The
wire-server-metricschart was previously running some customconfiguration to automatically add all payloads with a
wireServicelabel intometrics scraping.
With the removal of the
wireServicelabel, this custom configuration has beenremoved.
Instead, all services that expose metrics will now create
ServiceMonitorresources, if their helm chart is applied with
metrics.serviceMonitor.enableset to true.
This prevents scraping agents from querying services that don't expose metrics
at /i/metrics unnecessarily.
Additionally, makes it easier to run other metric scraping operators, like
grafana-agent-operator, without the need to also create some customwireServicelabel config there.Generally, if you have any monitoring solution installed in your cluster that
uses the Prometheus CRDs, set
metrics.serviceMonitor.enablefor the following charts:Features
MLS implementation progress:
conversation participants. (Propagate MLS messages to remotes #2415)
GET teams/:tidresponse now contains an optional fieldsplash_screenwhich contains the asset key of the team's splash screen.PUT teams/:tidnow supports updating the splash screen asset key. (Sqservices 759 backend splash screen store image #2474)Internal changes
Forward /i/users/:uid/features/:feature to brig (charts/nginz: Forward /i/users/:uid/features/:feature to brig #2468)
charts/nginz: Forward
/i/legalhold/whitelisted-teamsto galley instead of brig (charts/nginz: Forward/i/legalhold/whitelisted-teamsto galley instead of brig #2460)Add AWS security token metrics to brig (Add AWS security token metrics to brig #2473)