Code Monkey home page Code Monkey logo

Comments (3)

Conall-Grafana avatar Conall-Grafana commented on July 17, 2024 1

some related discussions in a 3rd party repo that might be of interest:

lensapp/lens#7126

from k8s-monitoring-helm.

petewall avatar petewall commented on July 17, 2024

Tried installing today.
Node Exporter does not deploy:

{
  "[denied by autogke-disallow-hostnamespaces]": [
    "enabling hostPID is not allowed in Autopilot.",
    "enabling hostNetwork is not allowed in Autopilot."
  ],
  "[denied by autogke-no-host-port]": [
    "container node-exporter specifies host ports [9100], which are disallowed in Autopilot."
  ],
  "[denied by autogke-no-write-mode-hostpath]": [
    "hostPath volume proc used in container node-exporter uses path /proc which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].",
    "hostPath volume sys used in container node-exporter uses path /sys which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].",
    "hostPath volume root used in container node-exporter uses path / which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."
  ]
}

from k8s-monitoring-helm.

moxious avatar moxious commented on July 17, 2024

+1

Failures I see are similar

"grafana" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "grafana" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "grafana-k8s-monitoring" does not exist. Installing it now.
W1003 07:39:30.640711    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated DaemonSet default/grafana-k8s-monitoring-grafana-agent-logs: defaulted unspecified resources for containers [grafana-agent, config-reloader] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.640806    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated DaemonSet default/grafana-k8s-monitoring-prometheus-node-exporter: defaulted unspecified resources for containers [node-exporter] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.739594    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated Deployment default/grafana-k8s-monitoring-kube-state-metrics: defaulted unspecified resources for containers [kube-state-metrics] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.741597    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated Deployment default/grafana-k8s-monitoring-opencost: adjusted resources to meet requirements for containers [grafana-k8s-monitoring-opencost] (see http://g.co/gke/autopilot-resources)
W1003 07:39:30.846097    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated StatefulSet default/grafana-k8s-monitoring-grafana-agent: defaulted unspecified resources for containers [grafana-agent, config-reloader] (see http://g.co/gke/autopilot-defaults)
Error: 2 errors occurred:
	* admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-no-write-mode-hostpath]":["hostPath volume dockercontainers used in container grafana-agent uses path /var/lib/docker/containers which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]}
Requested by user: '(email)', groups: 'system:authenticated'.
	* admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-disallow-hostnamespaces]":["enabling hostNetwork is not allowed in Autopilot.","enabling hostPID is not allowed in Autopilot."],"[denied by autogke-no-host-port]":["container node-exporter specifies host ports [9100], which are disallowed in Autopilot."],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume proc used in container node-exporter uses path /proc which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume sys used in container node-exporter uses path /sys which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume root used in container node-exporter uses path / which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]}
Requested by user: '(email)', groups: 'system:authenticated'.

from k8s-monitoring-helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.