@@ -14,34 +14,6 @@ helm repo add nri-metadata-injection https://newrelic.github.io/k8s-metadata-inj
1414helm upgrade --install nri-metadata-injection/nri-metadata-injection -f your-custom-values.yaml
1515```
1616
17- ## GKE Autopilot
18- When installing this chart in a GKE Autopilot cluster, provider should be set to ` GKE_AUTOPILOT ` .
19- This will apply some required configurations so that Autopilot Does not reject the deployment.
20-
21- ``` yaml
22- provider : GKE_AUTOPILOT
23- ` ` `
24-
25- It's also recommended to set resource defaults for the prometheus, and configurator containers.
26- If resources are not set, GKE Autopilot will assign default resource values, and you will see the following warning in the in your console:
27-
28- ` defaulted unspecified 'cpu' resource for containers [configurator, prometheus]`
29-
30- To avoid this warning, and having GKE Autopilot set resource values for you, you can set the following values in your `values.yaml` file.
31- ` ` ` yaml
32- jobImage:
33- admissionCreate
34- resources:
35- requests:
36- cpu: 50m
37- memory: 100Mi
38- admissionPatch:
39- resources:
40- requests:
41- cpu: 50m
42- memory: 100Mi
43- ` ` `
44-
4517## Source Code
4618
4719* < https://github.com/newrelic/k8s-metadata-injection >
@@ -89,7 +61,7 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
8961| ports.health | int | ` 8080 ` | Port for health check endpoint (HTTP) |
9062| ports.webhook | int | ` 8443 ` | Port on which the webhook server listens (TLS/HTTPS) |
9163| priorityClassName | string | ` "" ` | Sets pod's priorityClassName. Can be configured also with ` global.priorityClassName ` |
92- | provider | string | `"" ` | Sets configs for providers with known constraints, currently has support for `GKE_AUTOPILOT` |
64+ | provider | string | ` nil ` | The provider that you are deploying your cluster on. Sets config options providers that are known to have constraints. |
9365| rbac.pspEnabled | bool | ` false ` | Whether the chart should create Pod Security Policy objects. |
9466| replicas | int | ` 1 ` | |
9567| resources | object | 100m/30M -/80M | Image for creating the needed certificates of this webhook to work |
@@ -104,3 +76,4 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
10476* [ juanjjaramillo] ( https://github.com/juanjjaramillo )
10577* [ csongnr] ( https://github.com/csongnr )
10678* [ dbudziwojskiNR] ( https://github.com/dbudziwojskiNR )
79+ * [ Philip-R-Beckwith] ( https://github.com/Philip-R-Beckwith )
0 commit comments