Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Use newer API groups for Kubernetes resources and fix error validation data due to missing required field 'selector' #133

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions manifests-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ data:
- channel: '#alertmanager-test'
send_resolved: true
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: alertmanager
Expand Down Expand Up @@ -395,7 +395,7 @@ spec:
port: 9093
targetPort: 9093
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: grafana-core
Expand All @@ -405,6 +405,9 @@ metadata:
component: core
spec:
replicas: 1
selector:
matchLabels:
app: grafana
template:
metadata:
labels:
Expand Down Expand Up @@ -2552,7 +2555,7 @@ metadata:
name: prometheus-core
namespace: monitoring
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: prometheus-core
Expand All @@ -2562,6 +2565,9 @@ metadata:
component: core
spec:
replicas: 1
selector:
matchLabels:
app: prometheus
template:
metadata:
name: prometheus-main
Expand Down Expand Up @@ -2601,13 +2607,16 @@ spec:
configMap:
name: prometheus-rules
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-state-metrics
namespace: monitoring
spec:
replicas: 1
selector:
matchLabels:
app: kube-state-metrics
template:
metadata:
labels:
Expand Down Expand Up @@ -2679,7 +2688,7 @@ spec:
app: kube-state-metrics

---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-directory-size-metrics
Expand All @@ -2692,6 +2701,9 @@ metadata:
These are scheduled on every node in the Kubernetes cluster.
To choose directories from the node to check, just mount them on the `read-du` container below `/mnt`.
spec:
selector:
matchLabels:
app: node-directory-size-metrics
template:
metadata:
labels:
Expand Down Expand Up @@ -2751,7 +2763,7 @@ spec:
emptyDir:
medium: Memory
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: prometheus-node-exporter
Expand All @@ -2760,6 +2772,9 @@ metadata:
app: prometheus
component: node-exporter
spec:
selector:
matchLabels:
app: prometheus
template:
metadata:
name: prometheus-node-exporter
Expand Down