Use the latest apiVersion in k8s-v1.14.x

Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
This commit is contained in:
William Zhang 2019-04-12 09:30:17 +08:00
parent af2fc722cb
commit 8258f0fa38
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: metrics-server:system:auth-delegator

View File

@ -1,5 +1,5 @@
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: metrics-server-auth-reader

View File

@ -1,5 +1,5 @@
---
apiVersion: apiregistration.k8s.io/v1beta1
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
name: v1beta1.metrics.k8s.io

View File

@ -5,7 +5,7 @@ metadata:
name: metrics-server
namespace: kube-system
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: metrics-server