Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 23f6f703
authored
Mar 09, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加监控所需要的权限
1 parent
c5124920
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
18 deletions
kpl_base/autodl/2-autocnn-sa.yaml
kpl_base/autodl/2-autocnn-sa.yaml
View file @
23f6f70
...
...
@@ -6,39 +6,91 @@ metadata:
namespace
:
autodl
---
apiVersion
:
rbac.authorization.k8s.io/v1
beta1
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
name
:
autodl-clusterrole
rules
:
-
apiGroups
:
-
apiGroups
:
-
"
"
resources
:
-
nodes
-
deployments
-
pods
verbs
:
[
"
get"
,
"
watch"
,
"
list"
,
"
patch"
]
-
nonResourceURLs
:
-
services
-
endpoints
-
nodes/proxy
-
nodes/metrics
-
ingresses
verbs
:
-
get
-
watch
-
list
-
patch
-
nonResourceURLs
:
-
/version/
verbs
:
[
"
get"
]
-
/metrics
verbs
:
-
get
---
apiVersion
:
rbac.authorization.k8s.io/v1
beta1
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
metadata
:
name
:
autodl-role
namespace
:
autodl
rules
:
-
apiGroups
:
[
"
"
]
resources
:
[
"
pods"
]
verbs
:
[
"
get"
,
"
watch"
,
"
list"
,
"
create"
,
"
delete"
,
"
patch"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
configmaps"
,
"
secrets"
]
verbs
:
[
"
get"
,
"
update"
,
"
patch"
,
"
create"
,
"
delete"
]
-
apiGroups
:
[
"
"
,
"
extensions"
]
resources
:
[
"
services"
,
"
ingresses"
,
"
deployments"
,
"
replicasets"
]
verbs
:
[
"
get"
,
"
create"
,
"
patch"
,
"
delete"
,
"
list"
]
-
apiGroups
:
[
"
"
,
"
*"
]
resources
:
[
"
events"
,
"
pods/status"
,
"
pods/log"
,
"
pods/exec"
]
verbs
:
[
"
watch"
,
"
get"
,
"
list"
,
"
create"
]
-
apiGroups
:
-
"
"
resources
:
-
pods
verbs
:
-
get
-
watch
-
list
-
create
-
delete
-
patch
-
apiGroups
:
-
"
"
resources
:
-
configmaps
-
secrets
verbs
:
-
get
-
update
-
patch
-
create
-
delete
-
apiGroups
:
-
"
"
-
'
*'
-
extensions
resources
:
-
services
-
ingresses
-
deployments
-
deployments/scale
-
replicasets
verbs
:
-
get
-
update
-
create
-
patch
-
delete
-
list
-
apiGroups
:
-
"
"
-
'
*'
resources
:
-
events
-
pods/status
-
pods/log
-
pods/exec
verbs
:
-
watch
-
get
-
list
-
create
---
apiVersion
:
rbac.authorization.k8s.io/v1beta1
kind
:
RoleBinding
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment