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

Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
pull/337/head
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 kind: ClusterRoleBinding
metadata: metadata:
name: metrics-server:system:auth-delegator 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 kind: RoleBinding
metadata: metadata:
name: metrics-server-auth-reader name: metrics-server-auth-reader

View File

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

View File

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