remove bad folder
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
SEND_EMAIL="NO"
|
|
||||||
SEND_SLACK="YES"
|
|
||||||
SLACK_WEBHOOK_URL=""
|
|
||||||
DEFAULT_RECIPIENT_SLACK=""
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
kubernetes.io/tls-acme: "true"
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: netdata.k8s.local
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: netdata
|
|
||||||
port:
|
|
||||||
name: http
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
namespace: netdata
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- namespace.yaml
|
|
||||||
- rbac.yaml
|
|
||||||
- child/daemonset.yaml
|
|
||||||
- k8s-state/deployment.yaml
|
|
||||||
- k8s-state/pvc.yaml
|
|
||||||
- parent/deployment.yaml
|
|
||||||
- parent/service.yaml
|
|
||||||
- parent/pvc.yaml
|
|
||||||
- parent/ingress.yaml
|
|
||||||
|
|
||||||
# configMapGenerator content-hashes each ConfigMap's name (e.g. netdata-conf-child-a1b2c3d4).
|
|
||||||
# Kustomize automatically rewrites every Deployment/DaemonSet reference to the new hashed
|
|
||||||
# name whenever any file below changes. Since the pod template's volume spec then differs,
|
|
||||||
# Kubernetes rolls the pods automatically on `kubectl apply` — no manual checksum bump,
|
|
||||||
# no manual `rollout restart`, ever again.
|
|
||||||
configMapGenerator:
|
|
||||||
- name: netdata-conf-child
|
|
||||||
files:
|
|
||||||
- go.d=child/conf/go.d.yaml
|
|
||||||
- kubelet=child/conf/kubelet.yaml
|
|
||||||
- kubeproxy=child/conf/kubeproxy.yaml
|
|
||||||
- web_log=child/conf/web_log.yaml
|
|
||||||
- netdata=child/conf/netdata.conf
|
|
||||||
- stream=child/conf/stream.conf
|
|
||||||
- otel=child/conf/otel.yaml
|
|
||||||
|
|
||||||
- name: netdata-child-sd-config-map
|
|
||||||
files:
|
|
||||||
- config.yml=child/conf/sd-config.yml
|
|
||||||
|
|
||||||
- name: netdata-conf-k8s-state
|
|
||||||
files:
|
|
||||||
- go.d=k8s-state/conf/go.d.yaml
|
|
||||||
- go.d-k8s_state=k8s-state/conf/go.d-k8s_state.yaml
|
|
||||||
- netdata=k8s-state/conf/netdata.conf
|
|
||||||
- stream=k8s-state/conf/stream.conf
|
|
||||||
- httpcheck=k8s-state/conf/httpcheck.yaml
|
|
||||||
- dnsquery=k8s-state/conf/dnsquery.yaml
|
|
||||||
- x509check=k8s-state/conf/x509check.yaml
|
|
||||||
|
|
||||||
- name: netdata-conf-parent
|
|
||||||
files:
|
|
||||||
- health=parent/conf/health.conf
|
|
||||||
- netdata=parent/conf/netdata.conf
|
|
||||||
- stream=parent/conf/stream.conf
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
[global]
|
|
||||||
hostname = netdata-parent
|
|
||||||
[db]
|
|
||||||
mode = dbengine
|
|
||||||
|
|
||||||
[plugins]
|
|
||||||
cgroups = no
|
|
||||||
tc = no
|
|
||||||
enable running new plugins = no
|
|
||||||
check for new plugins every = 72000
|
|
||||||
python.d = no
|
|
||||||
charts.d = no
|
|
||||||
go.d = no
|
|
||||||
node.d = no
|
|
||||||
apps = no
|
|
||||||
proc = no
|
|
||||||
idlejitter = no
|
|
||||||
diskspace = no
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: netdata-k8s-state-varlib
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
role: k8sState
|
|
||||||
spec:
|
|
||||||
storageClassName: nfs-storage-intelligent
|
|
||||||
accessModes: ["ReadWriteOnce"]
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources:
|
|
||||||
- "pods"
|
|
||||||
- "services"
|
|
||||||
- "configmaps"
|
|
||||||
- "secrets"
|
|
||||||
- "nodes"
|
|
||||||
- "nodes/metrics"
|
|
||||||
- "nodes/proxy"
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
- apiGroups: ["apps"]
|
|
||||||
resources: ["deployments"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
- apiGroups: ["batch"]
|
|
||||||
resources: ["cronjobs", "jobs"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["namespaces"]
|
|
||||||
verbs: ["get"]
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: netdata
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: netdata
|
|
||||||
namespace: netdata
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: netdata
|
|
||||||
labels:
|
|
||||||
app: netdata
|
|
||||||
role: parent
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- port: 19999
|
|
||||||
targetPort: http
|
|
||||||
protocol: TCP
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app: netdata
|
|
||||||
role: parent
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[11111111-2222-3333-4444-555555555555]
|
|
||||||
enabled = yes
|
|
||||||
history = 3600
|
|
||||||
default memory mode = dbengine
|
|
||||||
health enabled by default = auto
|
|
||||||
allow from = *
|
|
||||||
Reference in New Issue
Block a user