a43e5434b6
This patch implements spec Support deploying Kubernetes cluster with MgmtDriver in blueprint bp/cnf-support-with-etsi-nfv-specs. It includes sample mgmt_driver scripts of deploying kubernetes cluster to vm created by openstack_driver. Support instantiate/terminate/scale/heal function. It also includes a shell script that actual install kubernets cluster on vm, and an use guide to show how to use this sample script. Implements: bp/cnf-support-with-etsi-nfv-specs Change-Id: I4d0085ffa3b4c90741ebb169b96f69113e2bb6d7
23 lines
509 B
YAML
23 lines
509 B
YAML
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: admin
|
|
annotations:
|
|
rbac.authorization.kubernetes.io/autoupdate: "true"
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
apiGroup: rbac.authorization.k8s.io
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: admin
|
|
namespace: kube-system
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: admin
|
|
namespace: kube-system
|
|
labels:
|
|
kubernetes.io/cluster-service: "true"
|
|
addonmanager.kubernetes.io/mode: Reconcile |