Release Notes 1.3.0
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.
These release notes provide general information and describe known issues for NGINX Service Mesh version 1.3.0, in the following categories:
- NGINX Service Mesh Version 1.3.0
NGINX Service Mesh 1.3.0 includes the following updates:
- Ability to configure certificate TTL after deploy
- Configurable certificate size and type
- Support for IAM roles when using AWS PCA as the upstream CA
- Upgrade support for NGINX Service Mesh running in Red Hat OpenShift
- Availability of NGINX Service Mesh in the Rancher Catalog
- Support for Kubernetes 1.22
--registry-serverflag is no longer required when deploying the mesh with nginx-meshctl. Defaults to the value
- API field
mtlsModehas been deprecated in favor of
- The SPIRE server only issues certificates for Pods that are injected with the NGINX Service Mesh sidecar. If you are upgrading to NGINX Service Mesh 1.3 and are running NGINX Plus Ingress Controller, add following label
spiffe.io/spiffeid: "true"to the NGINX Plus Ingress Controller Pod spec(s) and re-roll the Pod(s). This ensures that the SPIRE server will issue a certificate for the NGINX Plus Ingress Controller.
This release includes vulnerability fixes for the following issues.
This release includes third party updates for the following issues.
Update to Spire 1.1.0
github.com/gogo/protobuf CVE-2021-3121 HIGH (28109)
libcrypto1.1 CVE-2021-3712 MEDIUM (28116)
libssl1.1 CVE-2021-3712 MEDIUM (28151)
workload-registrar k8s.io/client-go CVE-2020-8565 MEDIUM (28170)
This release includes fixes for the following issues.
Non-injected pods and services mishandled as fallback services (14731)
Rejected configurations return generic HTTP status codes (18101)
nginx-mesh-apimay not be obvious (24182)
Use of an invalid container image does not report an immediate error (24899)
NGINX Service Mesh fails to deploy on some OpenShift versions (29905)
NATS restarts can lead to sidecar failure (30051)
The following issues are known to be present in this release. Look for updates to these issues in future NGINX Service Mesh release notes.
Pods fail to deploy if invalid Jaeger tracing address is set (19469):
--tracing-address is set to an invalid Jaeger address when deploying NGINX Service Mesh, all pods will fail to start.
If you use your own Zipkin or Jaeger instance with NGINX Service Mesh, make sure to correctly set
--tracing-address when deploying the mesh.
Duplicate targetPorts in a Service are disregarded (20566):
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:
apiVersion: v1 kind: Service spec: ports: - port: 8080 protocol: TCP targetPort: 55555 - port: 9090 protocol: TCP targetPort: 55555
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.
NGINX Service Mesh DNS Suffix support (21951):
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.
Ensure your cluster is setup with the default
cluster.local DNS suffix.
Optional, default visualization dependencies may cause excessive disk usage (23886):
NGINX Service Mesh deploys optional metrics, tracing, and visualization services by default. These services are deployed as a convenience for evaluation and demonstration purposes only; these optional deployments should not be used in production.
NGINX Service Mesh supports a “Bring Your Own” model where individual organizations can manage and tailor third-party dependencies. The optional dependencies – Prometheus for metrics, Jaeger or Zipkin for tracing, and Grafana for visualization – should be managed separately for production environments. The default deployments may cause excessive disk usage as their backing stores may be written to Node local storage. In high traffic environments, this may cause DiskPressure warnings and evictions.
To mitigate disk usage issues related to visualization dependencies in high traffic environments, we recommend the following:
- Do not run high capacity applications with default visualization software.
- Use the
--disable-tracingoption at deployment or provide your own service with
- Use the
--deploy-grafana=falseoption at deployment and provide your service to query Prometheus
- Use the
--prometheus-addressoption at deployment and provide your own service
Refer to the NGINX Service Mesh: Monitoring and Tracing guide for additional guidance.
Sidecar version not reported after upgrade (25821):
After upgrading NGINX Service Mesh to the 1.3 release, the version of the sidecar in the
nginx-meshctl version command will not be reported until you reroll the sidecar. This is caused by an issue with expired certificates in the sidecar in version 1.2.
Reroll deployments to restart with the 1.3 version of the sidecar:
kubectl rollout restart <resource>/<name>.
After rerolling, the 1.3 version of the sidecar will start up and report its version.
Invalid rate limit configurations are allowed (28043):
Invalid rate limit configurations, for example a rate limit that references the same destination and source(s) as an existing rate limit, can be created in Kubernetes without error.
Check if your rate limit configuration is valid by describing your rate limit after creation:
kubectl describe ratelimit <rate-limit-name>
Tracer address reported by nginx-meshctl config when no tracer is deployed (28256):
If NGINX Service Mesh is deployed without a tracing backend,
nginx-meshctl config reports the default tracing backend (jaeger) and the default tracing backend address (“jaeger.
No workaround necessary.
Spire fails to bind persistent volume claim when using deprecated NFS client (28468):
When using an outdated NFS client, Spire can fail to bind a persistent volume claim due to the
selfLink field not being propagated in Kubernetes versions 1.20+.
Ensure you are using an actively maintained NFS client for the Kubernetes version you are running.
NGINX Service Mesh cannot be deployed or removed after upgrade or removal is interrupted (28585):
If the upgrade or removal process for NGINX Service Mesh is interrupted, then the mesh can be left in an incomplete state where some resources still exist. This results in errors such as “Error: namespace ‘nginx-mesh’ not found.” when attempting to run
nginx-meshctl remove, and “NGINX Service Mesh already exists.” when attempting to run
Ensure all CustomResourceDefinitions (CRDs) are removed. The list of CRDs to be deleted are:
Once these are deleted, another attempt at redeploying NGINX Service Mesh may fail, but should clean up any more lingering resources. At this point the mesh should be fully removed.
Deploying a TrafficSplit with an invalid weight value fails but does not return any errors (28602):
When deploying a TrafficSplit, it is possible to set the weight value as a negative integer. NGINX Service Mesh does not support negative-integer weights, so the TrafficSplit will appear to deploy successfully but will not take effect. No error or log message is returned to indicate that the TrafficSplit deployment has failed.
Be sure to use positive integers when assigning weight values to TrafficSplits.
Pods can’t be created if nginx-mesh-api is unreachable (29560):
If the nginx-mesh-api Pod cannot be reached by the “sidecar-injector-webhook-cfg.internal.builtin.nsm.nginx” MutatingWebhookConfiguration, then all Pod creations will fail.
If attempting to create Pods that are not going to be injected by NGINX Service Mesh, then the simplest solution is to remove NGINX Service Mesh.
Otherwise, if the nginx-mesh-api Pod is crashing, then verify that your configuration is valid before deploying NGINX Service Mesh. Reinstalling the mesh may also fix connectivity issues.
Spire Server crashes after reaching ~1500 certificate rotations (30150):
After reaching approximately 1500 certificate rorations, the Spire Server crashes. This condition can be reached by either setting your certificate authority TTL to a low number – for example,
--mtls-ca-ttl 1m --mtls-svid-ttl 1m – or leaving the mesh running for extended periods of time.
Use the default TTL, which would produce the conditions that cause the crash after about 100 years of continuous operation. If you must use a lower TTL that will result in a significant number of certificate rotations, redeploy NGINX Service Mesh to refresh its state before the crash conditions can be reached.
NGINX Service Mesh supports the following versions:
- 2.5, 2.6
NGINX Plus Ingress Controller:
- 1.12, 2.0
Note: The minimum supported version of Kubernetes is 1.19 if you are running NGINX Plus Ingress Controller 2.0. For older Kubernetes versions, use the NGINX Plus Ingress Controller 1.12 version.
- Traffic Access: v1alpha2
- Traffic Metrics: v1alpha1 (in progress, supported resources: StatefulSets, Namespaces, Deployments, Pods, DaemonSets)
- Traffic Specs: v1alpha3
- Traffic Split: v1alpha3
NSM SMI Extensions:
- RateLimit: v1alpha1,v1alpha2
- CircuitBreaker: v1alpha1