add aws eks cni service yaml

This commit is contained in:
karancode 2019-10-22 02:57:40 +09:00
parent c156f21d50
commit 5cc6daab4a
3 changed files with 17 additions and 1 deletions

View File

@ -39,6 +39,7 @@ resources:
- ./manifests/node-exporter-service.yaml - ./manifests/node-exporter-service.yaml
- ./manifests/node-exporter-serviceAccount.yaml - ./manifests/node-exporter-serviceAccount.yaml
- ./manifests/node-exporter-serviceMonitor.yaml - ./manifests/node-exporter-serviceMonitor.yaml
- ./manifests/prometheus-AwsEksCniMetricService.yaml
- ./manifests/prometheus-adapter-apiService.yaml - ./manifests/prometheus-adapter-apiService.yaml
- ./manifests/prometheus-adapter-clusterRole.yaml - ./manifests/prometheus-adapter-clusterRole.yaml
- ./manifests/prometheus-adapter-clusterRoleAggregatedMetricsReader.yaml - ./manifests/prometheus-adapter-clusterRoleAggregatedMetricsReader.yaml

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: aws-node
name: aws-node
namespace: kube-system
spec:
clusterIP: None
ports:
- name: cni-metrics-port
port: 61678
targetPort: 61678
selector:
k8s-app: aws-node

View File

@ -16,4 +16,4 @@ spec:
- kube-system - kube-system
selector: selector:
matchLabels: matchLabels:
k8s-app: eks-cni k8s-app: aws-node