Kubernetes integration release notes

Kubernetes integration release notes

Tuesday, April 7, 2020 - 11:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

Thursday, March 26, 2020 - 16:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

Thursday, March 12, 2020 - 16:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: Support for completely avoid querying Kube State Metrics. It's behind the DISABLE_KUBE_STATE_METRICS environment variable and its default value is false. Note that disabling this will imply missing metrics that are collected from KSM and possibly missing features in the Kubernetes Cluster Explorer. Please, refer to our official documentation on this configuration option for more information.​
Thursday, February 27, 2020 - 16:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: support for querying Kube State Metrics (KSM) instances behind kube-rbac-proxy. This feature only works when paired with the label-based KSM discovery (see release notes of version 1.11.0 for more information). This adds two new environment variables that allow deeper configuration of the feature:
    • KUBE_STATE_METRICS_SCHEME: Whether the query should use the http or https protocols. Defaults to http and doesn't introduce a breaking change in behavior.
    • KUBE_STATE_METRICS_PORT: The port in which the kube-rbac-proxy instance is listening on. You can confirm this by describing your KSM pod. Defaults to 8080 and doesn't introduce a breaking change in behavior.
  • Added: Added 4 new environment variables to explicitly set the control plane component base URLs​. These variables can be used for Kubernetes configurations, such as OpenShift, that are different than the defaults defined in the section Discovery of master nodes and control plane components. See the section OpenShift 4.x Configuration for more information.
    • SCHEDULER_ENDPOINT_URL: The base URL of the scheduler pod metrics endpoint. The default is the empty string. In this case, the default configuration will be used.

    • ETCD_ENDPOINT_URL: The base URL of the ETCD pod metrics endpoint. The default is the empty string. In this case, the default configuration will be used.

    • CONTROLLER_MANAGER_ENDPOINT_URL: The base URL of the controller manager pod metrics endpoint. The default is the empty string. In this case, the default configuration will be used.

    • API_SERVER_ENDPOINT_URL: The base URL of the API server pod metrics endpoint. The default is the empty string. In this case, the default configuration will be used.

  • Fixed: A bug preventing attributes named like selector.<label_name> from being added to some entries in the K8sServiceSample.
  • Changed: The integration now uses newrelic/infrastructure-bundle as the base image. The tag used is for the version 1.2.0. For more information on this image please see the New Relic Infrastructure Bundle releases notes.
Thursday, February 13, 2020 - 16:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Changed: Internal changes in the code without any expected customer impact.
Wednesday, January 29, 2020 - 16:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Changed: The integration now uses the Infrastructure agent v1.9.0. For more information refer to the Infrastructure agent release notes between versions v1.8.32 and v1.9.0.
Thursday, January 23, 2020 - 17:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: daemonsetName field to the K8sDaemonsetSample.

Thursday, January 23, 2020 - 11:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: samples for Statefulsets, Daemonsets, Endpoints and Services.

  • Added: API Server metrics can now be queried using the secure port. Configure the port using the API_SERVER_SECURE_PORT environment variable. The ClusterRole has been updated to allow this query to happen.

  • Changed: The integration now uses the infrastructure agent v1.8.32-bundle. For more information, refer to the Infrastructure agent release notes between versions v1.8.23 and v1.8.32.

    The bundle container contains a subset of On-host integrations that are supported by New Relic. This also includes the ability to "Auto Discover" services running on Kubernetes in a similar way to our Container auto-discovery

  • Changed: The integration has been renamed from nr-kubernetes to nri-kubernetes.

Monday, January 13, 2020 - 15:30

Notes

Follow standard procedures to install the New Relic integration for Kubernetes events.

Changelog

  • Add custom attributes support. Custom attributes are added via environment variables of the form NRI_KUBE_EVENTS_<key>=<val>.

    Example: To add an attribute called environment with a value of staging to all the events, you need to add the following environment variable to the spec of the kube-events container:

    NRI_KUBE_EVENTS_environment=staging
    

    More detailed information can be found in the integration's documentation.

  • Add retry with exponential back-off when sending events to the forwarder agent.
Monday, January 13, 2020 - 15:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: Control Plane components can now also be discovered using the tier and component labels, besides k8s-app. You can read more about this in the control plane monitoring section of the docs.
  • Added: the newrelic-infra-ctl binary is now included as part of the image.

  • Changed: The integration now uses the infrastructure agent v1.8.23. For more information refer to the infrastructure agent release notes between versions v1.5.75 and v1.8.23.
Wednesday, December 11, 2019 - 15:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: Control Plane Monitoring: from this release on the Kubernetes integration will automatically monitor your Control Plane, showing each component and their health status in the Kubernetes Cluster Explorer. Managed Kubernetes Clusters (GKE, EKS, AKS, DO, etc) are not supported, due to technical restrictions.
  • Added: KSM can now be discovered using custom pod labels. By default we look for pods with the labels k8s-app, app or app.kubernetes.io/name with the value kube-state-metrics.
    If you want to use a custom label for the discovery, you should put the label name in the environment variable named KUBE_STATE_METRICS_POD_LABEL.

    If more than 1 pod is found with the label, it will always choose the first one based on a sorted list of IP addresses.


    Example:

    # Label a specific KSM pod. Always set the value to the string "true".
    kubectl label pod kube-state-metrics newrelic-ksm=true


    Update the newrelic-infrastructure-k8s manifest to use this labeled KSM pod:

    env:
    - name: KUBE_STATE_METRICS_POD_LABEL
      value: newrelic-ksm

Tuesday, November 5, 2019 - 15:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

Changed: The integration now uses the Infrastructure agent v1.5.75. For more information, please refer to the Infrastructure agent release notes between versions v1.5.31 and v1.5.75.

Friday, October 25, 2019 - 18:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

Changed: The integration reverts to the Infrastructure agent v1.5.31, because there were some issues, like clusters not showing in the New Relic One entity list UI, caused by use of agent version v1.5.51.

Thursday, October 17, 2019 - 18:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

Added: Node labels are now retrieved from the Kubernetes API and added to the K8sNodeSample. They can now be selected in the Narrow Down Entities section of the infrastructure alerts page to filter entities when using the K8sNodeSample, and can also be used on any NRQL statement when querying the K8sNodeSample. Ex:

FROM K8sNodeSample SELECT average(cpuUsedCoreMilliseconds) WHERE `label.kubernetes.io/role` = 'master' 

By default, Information retrieved from the Kubernetes API is cached for 5 minutes. The cache time can be changed with the API_SERVER_CACHE_TTL environment variable.

Changed: The integration now uses the Infrastructure Agent v1.5.51. For more information, please refer to the infrastructure agent release notes between versions v1.5.31 and v1.5.51.

Wednesday, August 28, 2019 - 18:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Changed: The integration now uses the Infrastructure Agent v1.5.31. The biggest changes were major improvements to logging and to the StorageSampler. For more information, please refer to the infrastructure agent release notes between versions v1.3.18 and v1.5.31.
Wednesday, August 21, 2019 - 18:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Fixed: The Docker image has been rebuilt to fix a regression related to the issue: moby/moby#35443.​
Thursday, August 1, 2019 - 18:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Added: Support for discovering KSMs when running with the label app.kubernetes.io/name. This should fix problems discovering KSM when deploying recent versions of their Helm chart.
Thursday, June 13, 2019 - 18:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Fixed: The Docker image has been rebuilt to fix this issue: moby/moby#35443.
Wednesday, June 5, 2019 - 18:30

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Fixed: The unprivileged version of Kubernetes integration was running as root after a restart of the container due to kubernetes/kubernetes#78308.
  • Fixed: Autodiscovery cache directory permissions got changed from 644 to 744 in order to let the nri-agent user write inside. This change was necessary to release an unprivileged version of the Kubernetes integration.
Wednesday, May 15, 2019 - 11:00

Notes

Follow standard procedures to install or update the New Relic integration for Kubernetes.

Changelog

  • Changed: The integration now uses the Infrastructure agent v1.3.18 instead of 1.1.14. For more information about all changes in this update, see the Infrastructure agent release notes.

Pages