Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Add release notes for 2.0 (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjberman committed Apr 24, 2023
1 parent f0dfe35 commit 7c8e2e3
Showing 1 changed file with 121 additions and 0 deletions.
121 changes: 121 additions & 0 deletions docs/content/releases/release-notes-2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
---
title: "Release Notes 2.0.0"
date: 25 April 2023
draft: false
toc: true
description: Release information for NGINX Service Mesh, a configurable, low‑latency infrastructure layer designed to handle a high volume of network‑based interprocess communication among application infrastructure services using application programming interfaces (APIs). Lists of new features and known issues are provided.
weight: -1800
categories: ["reference"]
---

## NGINX Service Mesh Version 2.0.0

25 April 2023

<!-- vale off -->

These release notes provide general information and describe known issues for NGINX Service Mesh version 2.0.0, in the following categories:

- [NGINX Service Mesh Version 2.0.0](#nginx-service-mesh-version-200)
- [Updates](#updates)
- [Resolved Issues](#resolved-issues)
- [Known Issues](#known-issues)
- {{< link "/about/tech-specs" "Supported Versions" >}}

<br/>
<br/>
<span id="200-updates"></a>

### **Updates**

NGINX Service Mesh 2.0.0 includes the following updates:
<br/><br/>

- NGINX Service Mesh global configuration API has been moved to a Kubernetes Custom Resource Definition. The NGINX Service Mesh API server has been removed. See the [API Usage guide]( {{< ref "api-usage.md" >}} ) for details on how to use the new CRD.
- Removed deprecated auto-injection annotations for Pods in favor of labels.
- Removed deprecated NGINX Ingress Controller annotations for integrating with NGINX Service Mesh in favor of labels.
- Automatic injection is now disabled globally by default, and requires users to opt-in via Namespace or Pod labels. See the [Automatic Injection guide]( {{< ref "/guides/inject-sidecar-proxy.md#automatic-proxy-injection" >}} ) for more details.
- Removed `disableAutoInjection` and `enabledNamespaces` configuration fields.
- Removed deprecated OpenTracing support in favor of OpenTelemetry.
- Fixed issues that would prevent NGINX Service Mesh from deploying in OpenShift.
- `nginx-mesh-api` component has been renamed to `nginx-mesh-controller`.
- Helm chart version has been bumped to match the product version.


<span id="200-resolved"></a>

### **Resolved Issues**

This release includes fixes for the following issues.
<br/><br/>


- Pods can't be created if nginx-mesh-api is unreachable (384)

- Pods fail to deploy if invalid Jaeger tracing address is set (540)

<br/>

<span id="200-issues"></a>

### **Known Issues**

The following issues are known to be present in this release. Look for updates to these issues in future NGINX Service Mesh release notes.
<br/>


<br/>**Lingering invalid RateLimits can cause restart inconsistencies with the NGINX Service Mesh control plane. (658)**:
<br/>

The NGINX Service Mesh control plane has a validating webhook that will reject the majority of RateLimits that conflict with an existing RateLimit. However, there are some cases where the validating webhook is unable to determine a conflict. In these cases, the NGINX Service Mesh control plane process will catch the conflict and prevent configuration of the offending RateLimit, but the RateLimit will still be stored in Kubernetes. These RateLimit resources are invalid and can be found by looking for a `Warning` event on the RateLimit object. If invalid RateLimits exist and the NGINX Service Mesh control plane restarts, the invalid RateLimits may be configured over the previous valid RateLimits.
<br/>
<br/>
Workaround:
<br/>

When you create a RateLimit resource in Kubernetes, run `kubectl describe ratelimit <ratelimit-name>` and check for any `Warning` events. If a `Warning` event exists, either fix the conflict described in the `Warning` event message, or delete the RateLimit by running: `kubectl delete ratelimit <ratelimit-name>`.


<br/>**Duplicate targetPorts in a Service are disregarded (532)**:
<br/>

NGINX Service Mesh supports a variety of Service `.spec.ports\[]` configurations and honors each port list item with one exception.

If the Service lists multiple port configurations that duplicate `.spec.ports\[].targetPort`, the duplicates are disregarded. Only one port configuration is honored for traffic forwarding, authentication, and encryption.

Example invalid configuration:


```yaml
apiVersion: v1
kind: Service
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 55555
- port: 9090
protocol: TCP
targetPort: 55555
```
<br/>
<br/>
Workaround:
<br/>
No workaround exists outside of reconfiguring the Service and application. The Service must use unique `.spec.ports[].targetPort` values (open up multiple ports on the application workload) or route all traffic to the application workload through the same Service port.


<br/>**NGINX Service Mesh DNS Suffix support (519)**:
<br/>

NGINX Service Mesh only supports the `cluster.local` DNS suffix. Services such as Grafana and Prometheus will not work in clusters with a custom DNS suffix.
<br/>
<br/>
Workaround:
<br/>

Ensure your cluster is setup with the default `cluster.local` DNS suffix.


0 comments on commit 7c8e2e3

Please sign in to comment.